Dan*_*man 6 c# azure-devops c#-7.0 azure-pipelines
我有一个项目,我正在使用C#7功能.它在本地构建良好,但是当我构建Visual Studio Team Services时,我会收到错误.所有错误都指向这个项目,它们都与C#7相关:
Identifier expected
Invalid expression term 'int'
Syntax error, ',' expected
Syntax error, '>' expected
) expected
; expected
Run Code Online (Sandbox Code Playgroud)
该项目的目标是.NET 4.6.1,并引用了Microsoft.CodeDom.Providers.DotNetCompilerPlatform 1.0.3和Micosoft.Net.Compilers 2.0.1.
如何在VSTS上构建项目?
| 归档时间: |
|
| 查看次数: |
524 次 |
| 最近记录: |