Closed amis92 closed 5 years ago
I expect #86 will also take care of #84. I'll check it today. If so, I may not take this PR since it uses an as-yet undocumented feature. But thank you for the submission either way.
I've verified that #86 fixes #84. Closing this.
Benefits provided, according to an implementation:
dotnet-codegen
, it'll override and run the tool under that frameworkCurrently, we require customers using the generators to run the build on a machine with .NET Core v2.0 runtime available, which is currently out of support officially. It's not critical, but it's a kind of a papercuts issue.
Also no issue with compatibility since we target the lowest applicable, netcoreapp2.0
(it'll run on every .NET Core runtime v2.x)
Sooo now there's a bit more "official" documentation on the topic of prefercliruntime
: https://github.com/dotnet/docs/issues/7292#issuecomment-497031254
Comment added for future references
It might or might not resolve issues like #84 (no 1.0 shared fx).
Pending check.
The file usage is not yet (well) documented, pending https://github.com/dotnet/docs/issues/7292