【发布时间】:2018-10-22 14:42:02
【问题描述】:
"someSolutionFile.sln: error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 2, position 1"
出错的 MSBuild 调用非常简单:
<MSBuild
Projects="someSolutionFile.sln"
Targets="someProject.csproj"
Properties="..."
BuildInParallel="false"
/>
开发机器和构建服务器使用完全相同的 msbuild 版本:
Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Framework
为什么只有构建服务器出错而不是开发机器出错?
【问题讨论】: