MSbuild.exe does not add the correct dependency for targeting UWP.Net Native 1.6 apps
I have a blank UWP app where I mentioned "Microsoft.NETCore.UniversalWindowsPlatform": "5.3.2"
Now I expect that after restoring nuget and MSbuild, I should get them in the Dependencies folder of the package. Basically it should use the .Net Native 1.6 toolchain to compile.
- Microsoft.NET.Native.Framework.1.6.appx
- Microsoft.NET.Native.Runtime.1.6.appx
- Microsoft.VCLibs.x64.14.00.appx
However, I am getting below in dependencies
- Microsoft.NET.Native.Framework.1.3.appx
- Microsoft.NET.Native.Runtime.1.4.appx
- Microsoft.VCLibs.x64.14.00.appx
When I create a package from Visual Studio it works fine.
I am using Visual Studio 2017 Pro: 15.1 (26403.7) latest as today Nuget.exe: 4.1 (latest as today) MSBuild version '15 .1.1012.6693 '
Nuget repair command: nuget.exe repair App9 \ App9.sln -verbosity detail
MSBuild path: MSBuild.exe "App9 \ App9 \ App9.csproj / property: Configuration = Release / p: WarningLevel = 0 / property: Platform = x64 / p: OutputPath = x64 / p: AppxBundle = Always
Sample application (one disk path): https://1drv.ms/u/s!Agx9OwudY0zliTcOMRxKYtd-N3rU
source to share
No one has answered this question yet
Check out similar questions: