One or more projects are incompatible with UAP,Version=v10.0 (win10-arm).
One or more projects are incompatible with UAP,Version=v10.0 (win10-x64).
One or more projects are incompatible with UAP,Version=v10.0 (win10-arm-aot).
One or more projects are incompatible with UAP,Version=v10.0.
One or more projects are incompatible with UAP,Version=v10.0 (win10-x86).
One or more projects are incompatible with UAP,Version=v10.0 (win10-x64-aot)
One or more projects are incompatible with UAP,Version=v10.0 (win10-x86-aot).
修改csproj文件
将
<ItemGroup> <!-- A reference to the entire .Net Framework and Windows SDK are automatically included --> <None Include="project.json" /> </ItemGroup>
替换为
<PropertyGroup> <RestoreProjectStyle>PackageReference</RestoreProjectStyle> </PropertyGroup>