gpt4 book ai didi

tfs - Team Foundation Server 2010/MSBuild : Error parsing the nested project section in solution file

转载 作者:行者123 更新时间:2023-12-03 23:17:52 24 4
gpt4 key购买 nike

我正在尝试为我公司的一个产品设置每晚构建。当我执行构建时,它在 45 秒左右后失败,给出错误“解析解决方案文件中的嵌套项目部分时出错。

这是构建的日志:

Delete Binaries Directory

00:17 Delete Workspace

00:00 Delete Sources Directory

00:00 Create Workspace

00:18 Get Workspace

00:01 Create Label Label [label] (version W60_2_VMCORPTFS01;CL\me) was successfully created.

00:04 Compile, Test, and Associate Changesets and Work Items

00:04 Compile and Test

00:03 Run MSBuild for Project C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe /nologo /noconsolelogger "e:\localstore\Productname_2.0\Product\Product.sln" /m:1 /fl /flp:"logfile=e:\localstore\ThisSpecificBuild\Product\Product.log;encoding=Unicode;verbosity=normal" /p:SkipInvalidConfigurations=true /p:OutDir="C:\Builds\2\Product\ThisSpecificBuild\Binaries\" /p:Configuration="Debug" /p:Platform="Any CPU" /p:VCBuildOverride="e:\localstore\Productname_2.0\Product\Product.sln.Any CPU.Debug.vsprops" /dl:WorkflowCentralLogger,"C:\Program Files\Microsoft Team Foundation Server 2010\Tools\Microsoft.TeamFoundation.Build.Server.Logger.dll";"Verbosity=Normal;BuildUri=vstfs:///Build/Build/2934;InformationNodeId=1175609;TargetsNotLogged=GetNativeManifest,GetCopyToOutputDirectoryItems,GetTargetPath;TFSUrl=http://localhost:8080/tfs/DefaultCollection;"*WorkflowForwardingLogger,"C:\Program Files\Microsoft Team Foundation Server 2010\Tools\Microsoft.TeamFoundation.Build.Server.Logger.dll";"Verbosity=Normal;"

00:00 Built $/OMS/Branches/Product_2.0/Product/Product.sln for default targets. e:\localstore\ThisSpecificBuild\Product\Product.sln (1586): Error parsing the nested project section in solution file.



这是来自 MSBuild 的日志:

Build started 7/6/2011 11:53:34 AM. e:\localstore\ThisSpecificBuild\Product\Product.sln(1586): Solution file error MSB5009: Error parsing the nested project section in solution file.

Build FAILED.

e:\localstore\ThisSpecificBuild\Product\Product.sln(1586): Solution file error MSB5009: Error parsing the nested project section in solution file.

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.19



该解决方案从 Visual Studio 中正确构建。

最佳答案

尝试删除然后重新添加一些文件,以导致重新生成 sln 文件。这样我就构建成功了。由于某种原因,我的 sln 文件格式不正确。

关于tfs - Team Foundation Server 2010/MSBuild : Error parsing the nested project section in solution file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6599966/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com