James Parsons
James Parsons

Reputation: 6047

Can't create a UWP app

I recently, upgraded to Windows 10 and got Visual Studio 2015 Community hoping to build UWP apps and ASP.Net 5 apps. At first, I installed everything, but ended up skipping / canceling the Windows 8.1 / 10 mobile emulators (my PC can't even run them). After everything was installed, I went to create a new UWP app (C#), and got this error:

Error

Next, I try the same thing, but with JavaScript. It works perfectly! on the same UAP 10.0.0.0 that is supposedly missing. The link it provides is completely useless (it sends me to http:/microsoft.com/en-us) -_-. Oddly, this only happens when I try to use C# or VB.Net, JavaScript UWP apps seem to work fine. What is going on here? Where can I find the real link to the SDK I need?

UPDATE

JavaScript UWP apps will be create just fine, but when I attempt to build, I get:

Error "10.0.0.0" is not a supported value forTargetPlatformVersion. 
Please change it on the Project Property page.  Test    
C:\Program Files (x86)   \MSBuild\Microsoft\VisualStudio\v14.\JavaScript\Microsoft.VisualStudio.JavaScript.UAP.targets  

Upvotes: 4

Views: 3070

Answers (2)

Tolani
Tolani

Reputation: 599

Normally you don't always have to reinstall visual studio when something goes wrong because it takes a lot of time to reinstall again. From your question you skipped/cancel that feature, the first thing to do is go to the control panel and double click on visual studio under programs to Modify the software and enable those features.

In the case, visual studio was working properly before but due to some updates it stopped, go to control panel right click the visual studio version you have under programs to repair.

If the above doesn't work try to reinstall it again. I hope this helps.

Upvotes: 1

Rohit Rajendran
Rohit Rajendran

Reputation: 638

This is the download link for the standalone SDK, maybe reinstalling the sdk will fix the problem.

https://dev.windows.com/en-us/downloads/windows-10-sdk

Upvotes: 3

Related Questions