UWP project build error: Failed to initialize the task 'CompileXaml' with its input parameters. The 'CompileXaml' task does not support the 'PlatformXmlDir' parameter. Please confirm that the parameter exists in this task and is settable

UWP project build error: Failed to initialize the task 'CompileXaml' with its input parameters. The 'CompileXaml' task does not support the 'PlatformXmlDir' parameter. Please confirm that the parameter exists in this task and is a settable public instance property.

Project Properties: Target Version 16299 Minimum Version 14393

Workaround: Target version 15063 minimum version 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.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325527235&siteId=291194637