AArnott / CodeGeneration.Roslyn

Assists in performing Roslyn-based code generation during a build.
Microsoft Public License
408 stars 60 forks source link

What is the purpose of `prefercliruntime' #139

Closed mwpowellhtx closed 5 years ago

mwpowellhtx commented 5 years ago

I only see it referenced as Content in one place. Other than that I do not see any other references to it throughout the work space, for instance, and only a couple of passing references to it elsewhere. Thanks for any insights!

AArnott commented 5 years ago

It causes the dotnet cli to be willing to run the tool even if the runtime version doesn't match our target version.

mwpowellhtx commented 5 years ago

Appreciate the clarification, thanks.

amis92 commented 5 years ago

For reference, it was introduced and "documented" in PR #85