UWP項目生成錯誤: 未能使用「CompileXaml」任務的輸入參數初始化該任務。「CompileXaml」任務不支持「PlatformXmlDir」參數。請確認該參數存在於此任務中,而且是可設置的

UWP項目生成錯誤: 未能使用「CompileXaml」任務的輸入參數初始化該任務。「CompileXaml」任務不支持「PlatformXmlDir」參數。請確認該參數存在於此任務中,而且是可設置的公共實例屬性。ui

項目屬性: 目標版本 16299 最低版本 14393this

解決方法:目標版本 15063 最低版本 14393rest

The issue is a bug in the Windows SDK that is causing an incompatible MSBuild tasks assembly to remain in the msbuild process and the tasks in this assembly don't work correctly with the MSBuild targets in the project file.orm

This bug is being investigated for an upcoming release of the Windows 10 SDK.rem

Meanwhile, the workaround is to close all running Visual Studio and MSBuild processes and the restart Visual Studio.get

相關文章
相關標籤/搜索