UWP项目生成错误: 未能使用“CompileXaml”任务的输入参数初始化该任务。“CompileXaml”任务不支持“PlatformXmlDir”参数。请确认该参数存在于此任务中,并且是可设置的

UWP项目生成错误: 未能使用“CompileXaml”任务的输入参数初始化该任务。“CompileXaml”任务不支持“PlatformXmlDir”参数。请确认该参数存在于此任务中,并且是可设置的公共实例属性。

项目属性: 目标版本 16299 最低版本 14393

解决方法:目标版本 15063 最低版本 14393

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.

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

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

猜你喜欢

转载自my.oschina.net/u/3744313/blog/1798622