项目属性: 目标版本 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.