Replies: 1 comment 3 replies
-
If you tried to install LangVersion, it's really weird🤔. Maybe you also changed the TFM? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
(See Title)
I recognized that the new
Dictionary.Build.propsfile does specifiy<LangVersion>10.0</LangVersion>and also quite all Projects doing the same but with 10.0/8.0 even the SourceGenerator netstandard2.0 👀By the way, I don't think using higher
LangVersionis recommended for Source Generator Projects and could potentially result in runtime problems 🤔Could we maybe check if we still need the LangVersion set explicitily and by that are restrict our Projects to benefit from the Lang features of later versions?
@stagep @DocSvartz @andrerav what do you think?
What were your reasons to use them at all? 🤔 Maybe the Source Generators netstandard2.0 limitation?
I locally curioursly tryed to even centralise them to
10.0in theDirectory.Package.propsbut then the Mapster Project itself (which does already use 10.0 🤔) did suddenly file that types would not be known andnet Core App 3.0would not support Lang version 10.0 (along with whole bunch of other Projects, but this was the first in the list, which is normally the culprit when some problem results in a rat tail of other problems to fix before something works again)It looks to me a bit ridiculous, that we are using
net8.0;net9.0;net10.0, but keeping the Lang Version Features limited tonet6.0🤔 👎Beta Was this translation helpful? Give feedback.
All reactions