'Setting C# Language Version for dotnet build
Is it possible to set the C# language version when running a dotnet build command?
We have tried adding /p:LangVersion=9.0 to the invocation of the command but it doesn't seem to have any affect as we see build errors related to C# 9 features.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
