Can't open Windows Phone project in Windows 8.

2019-06-24 04:38发布

问题:

Trying to open a Universal App for Windows 8.1+ in the Visual Studio 2015 RC and everything aside from the Windows Phone project opens fine.

Error Message:

"The application which this project type is based on was not found."
Link given by message - Visual Studio 2013 Compatibility

The project file says VS 12 so I'm pretty sure I created it in VS 2013.
Is there any way to open the project without recreating the entire solution?

回答1:

Grabbed the VS 2015 RC ISO and started up the install. I guess about 80% of the features hadn't been checked the last time I installed VS 2015. Selected all and installed. Problem solved.

Edit: Mason reminded me below that you can use Programs and Features in control panel to change or repair the installation without the need for the ISO. I'd recommend this over obtaining a fresh copy of the installer image.



回答2:

First I think you should find if you checked the option of windows 8.1 and windows phone 8.1 Tools.(like the picture) vs2015 rc is somewhat different from vs2013. masons approach is right. and the last thing ensure that you computer system is windows10 I dont know if vs2015 can run errorless in other system