我正在尝试使用 MSBuild on Bamboo 构建一个包含大约 50 个解决方案的大型 UWP 项目。我正面临这个问题,我真的不知道我应该做些什么来解决它。该项目在 Visual Studio 2017 上成功构建,但在 MSBuild 上失败。这是我收到的投诉。
MakeAppx : error : Error info: error 80080204: The package with file name "xxxxxx.ParseTestTool_1.1.5.0_x64.appx" and package full name "fd60938b-922a-40a4-84f3-19300a655ed3_1.1.5.0_x64__1npyqggg1xza8" is not valid in the bundle because it has a different package family name than other packages in the bundle. The expected package name is Nameoftheproject.NameoftheProject. [E:\Win10-Auto-Test2\builds\AV-AWDV-BP\xxxxxx-windows\src\dashboard\xxxxxx.Dashboard\xxxxxx.Dashboard.csproj]
11-Jan-2018 20:22:19 MakeAppx : error : Bundle creation failed. [E:\Win10-Auto-Test2\builds\AV-AWDV-BP\xxxxxx-windows\src\dashboard\xxxxxx.Dashboard\xxxxxx.Dashboard.csproj]
11-Jan-2018 20:22:19 MakeAppx : error : 0x80080204 - The specified package format is not valid: The package manifest is not valid. [E:\Win10-Auto-Test2\builds\AV-AWDV-BP\xxxxxxx-windows\src\dashboard\xxxxxx.yyyyyyyy\xxxxxx.yyyyyyyy.csproj]
那么,为什么解决方案构建不起作用?这里有什么问题?我应该在 MSBuild 命令行或 .cjproj 中修复什么?