報錯內容如下: 1 2018-11-06T11:29:54.6035712Z ##[error]Dotnet command failed with non-zero exit code on the following projects : X:\agent\_work\34\s\src\**\* ...
報錯內容如下:
1 2018-11-06T11:29:54.6035712Z ##[error]Dotnet command failed with non-zero exit code on the following projects : X:\agent\_work\34\s\src\**\**.csproj 2 2018-11-06T11:29:54.6201816Z ##[section]Finishing: Build
主要原因是有一個Package問題導致的:
<PackageReference Include="Microsoft.Net.Compilers" Version="2.9.0" />
去除了這個Package就好了。
還有個問題,貌似VSTS新版前臺之後,這些報錯信息都不是很明確。