I use Visual Studio 2013 for most of my development needs. I installed Visual Studio 2015 (Professional) and started watching the Universal Windows application. I created an empty application and built it. The following error failed:
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 do anything, as other applications (e.g. websites, Classic Desktop) build perfectly. I looked up and found pointers to the SDK path. I turned on the options and turned on the output of the MSBuild project for diagnostics. Here is the log from the Output window. I found where this fails, but I cannot 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 error information.
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 the folder C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v14.0 \ AppxPackage \
How can I fix this error? Thanks for any help.
source share