Closed wz172 closed 1 year ago
"by adding a [Directory.Build.props] file?"
If you want to use a shared .props file, just add this in a PropertyGroup
in there:
<LangVersion>11.0</LangVersion>
And that's it 🙂
Note: you don't have to set 11.0, you can use whatever version you prefer, 11 is just the latest one.
I reference this package in netframework4.8, but how do I change the language version, by adding a [Directory.Build.props] file?