Visual Studio 2015 can't build Windows 10 univ

2019-07-08 21:02发布

问题:

I was using Visual Studio 2015 RC and building Windows 10 App with no problem. Once I upgraded to Windows 10, I also upgraded my VS but after that I cannot run and build my Windows 10 app.

I downloaded the VS 2015 here, when I chose custom install, there was no "Universal Windows App Development Tool" option as described here. I could only see a "Windows 8.1 and Windows Phone 8.0/8.1 Phone" option.

What's wrong with my install? Am I downloading the wrong file?

回答1:

I think the new tools just came out a few hours ago, you can get the tools through this links :

  1. For VS 2015 Community
  2. For VS 2015 Professional
  3. For VS 2015 Enterprise

Hope it helps.



回答2:

Install the Windows 10 SDK (Build 10240) and the Windows 10 Developer Tools. No you see the Universal Template Items in the New Project dialog.



回答3:

you need to install the latest SDK which was released yesterday for Windows 10 Final Version. http://dev.windows.com --> SDK Download



回答4:

From the Microsoft website:

Note: This release does not support developing for Windows 10 until July 29. Continue to use Visual Studio 2015 RC until July 29 if you are developing Universal Windows apps.

I guess it hasn't been updated yet. Perhaps depending on country, location, or installing an update that is to be released today.



回答5:

Looks like it was a time/date problem: I modified my VisualStudio 2015 just a second ago: the universal tools option appeared and installed. Look at channel9 for instructions.