I use Visual Studio 2013 for most of my development needs. I installed Visual Studio 2015 (Professional) and started looking at the Universal Windows app. I created a blank app and built it. It failed with the following error:
File 'MakePri.exe' not found. See http://go.microsoft.com/fwlink/?prd=12560&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1=UAP&o2=10.0.10586.0 for more information. App4 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets
I could not make anything out of it as other apps (eg: web sites, Classic Desktop) are building fine. I looked up and found pointers to SDK path. I went into options and turned on MSBuild project build output to diagnostic. Here is the log from the Output window. I found where it's failing but I'm unable to figure out how to fix it. The output is very detailed and exceeds the character limits here. But, here is the part that has the fail info.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(892,5): error APPX1639: File 'MakePri.exe' not found. See http://go.microsoft.com/fwlink/?prd=12560&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1=UAP&o2=10.0.10586.0 for more information.
1>Done executing task "GetSdkFileFullPath" -- FAILED. (TaskId:50)
1>Done building target "_GetSdkToolPaths" in project "App4.csproj" -- FAILED.: (TargetId:78)
On my machine, I do not have a "Microsoft.AppXPackage.Targets(892,5)" file in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\
How can I fix this error? Thanks for any help.
I'm developing Ionic/Cordova application and have this problem with building appx for windows.
For me worked reinstalling Windows SDK 10.0.14393.33 from SDKSETUP.EXE http://download.microsoft.com/download/6/3/B/63BADCE0-F2E6-44BD-B2F9-60F5F073038E/standalonesdk/SDKSETUP.EXE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With