Using C# 7.1 with MSBuild

后端 未结 6 1181
粉色の甜心
粉色の甜心 2020-12-16 10:44

To use the new C# 7.1 language features with Visual Studio 2017, you add the setting latest to your project file(s).

6条回答
  •  天涯浪人
    2020-12-16 11:27

    We discovered that our MVC projects were triggering this issue.

    To fix, we updated the Microsoft.CodeDom.Providers.DotNetCompilerPlatform NuGet package used by these projects from version 1.0.0 to 1.0.7.

提交回复
热议问题