相关疑难解决方法(0)

MSBuild:命令行生成错误:解决方案文件错误MSB5023:解析嵌套项目部分时出错

我有一个使用解决方案文件夹来拆分项目的解决方案.在Visual Studio IDE中,解决方案构建正常.

但是,当从命令行使用MSBuild运行构建时,我收到以下错误: -

Solution file error MSB5023: Error parsing the nested project section in solution file. A project with the GUID "{Some Project GUID}" is listed as being nested under project "{Some Solution Folder Project GUID}", but does not exist in the solution.
Run Code Online (Sandbox Code Playgroud)

现在我检查了这两个GUID,它们存在,一个作为项目,另一个作为项目嵌套的解决方案文件夹.应该没有任何问题.

有没有人有办法解决这个问题?

msbuild command-line

17
推荐指数
3
解决办法
5348
查看次数

标签 统计

command-line ×1

msbuild ×1