Windows Phone: this version of Visual Studio does not have the following project types installed or does not support them - visual-studio

I'm exporting a Visual Studio Project file from Unity 4.6 for Windows Phone platform. However, .sln file that created by Unity cannot be open from Visual Studio 2012.
I'm getting following error.
Unsupported This version of Visual Studio does not have the following
project types installed or does not support them. You can still open
these projects in the version of Visual Studio in which they were
originally created.
- xyz, "D:\data\may5\June22nd2ndBuild\xxx\xxx.csproj" No changes required These projects can be opened in this version of Visual Studio
without changing them. They will continue to open in Visual Studio
2010 SP1 and in this version of Visual Studio.
- xyz, "D:\data\may5\June22nd2ndBuild\xxx.sln

You need to install Windows Phone SDK
https://dev.windows.com/en-us/develop/download-phone-sdk
While not mandatory, it will also prove useful to have Visual Studio Tools for Unity installed
http://unityvs.com

Related

Problems installing Visual Studio 2010 Professional on Windows 8.1

I have been trying to install Visual Studio 2010 Professional on my Windows 8.1 laptop and I am having problems. It seems to install and when I look at the applications list I see everything has installed except the Visual Studio 2010 (devenv.exe) application itself. Has anyone had this problem and found a solution for it? I have checked that .NET 2.0, 3.x and 4.x are all installed on the machine and active. The installer shows that it is installing the application but when it's completed the application is no where to be found.
I had the same thing happen to me, because I had SQL Server Data Tools installed, causing the shortcut to be named "sql server Data Tools". Try looking up the executable in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe and manually creating the shortcut on the start screen:
Be sure to install the updates as well:
Visual Studio 2010 SP1
Visual Studio 2010 GDR for Team Foundation Server
Visual Studio 2010 Compatibility Update for Windows 8 and Visual Studio 2012
For an up to date list of patches and service packs see:
https://jessehouwing.net/vsts-tfs-connect-any-visual-studio-version/

.csproj file unsupported in Visual Studio 2013

So I'm trying to do what I think is a very simple thing: generate a Windows Phone app with PhoneGap and open it in Visual Studio. On a totally fresh Windows installation (via Bootcamp), I've:
Downloaded Visual Studio Express 2013 for Windows (the very first download button: http://developer.windowsphone.com/en-us/downloadsdk)
Created a PhoneGap Windows Phone app per the Getting Started guide.
However, every time I try to open the csproj file, I keep getting this error:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.csproj"
No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.sln"
No matter what I do. It works totally fine on Visual Studio 2012 for Windows Phone. I've tried it on VS 2013 for Desktop, and that doesn't work either. No clue what is happening here, and don't know even where to start to figure out what's wrong. I've Googled extensively to no avail; basically all instances of this error seem to have to do with previous version of VS. Pointing in any direction would be very much appreciated.
Turns out Update 2 wasn't getting installed correctly. I ended up installing Visual Studio and the Update 2 separately and Update 2 got installed successfully. Everything works now.
To build Multi device hybrid (Cordova tooling) apps with Visual Studio, you need to have Visual Studio 2013 Update 2 - Professional, Ultimate, or Premium.
Visual Studio 2013 Update 2: Global Apps e Android/iOS App

Windows Phone 7 solution can no longer be opened by Visual Studio 2012 after opening it in Visual Studio 2013

I was developing a solution for Windows Phone 7 on my system using Visual Studio 2012. I installed Visual Studio 2013 and opened the solution with it. I found that Visual Studio 2013 won't let me build a Windows Phone 7 application, so I wanted to re-open the solution in Visual Studio 2012.
Now Visual Studio 2012 shows me the following error message:
This project is incompatible with the current edition of Visual Studio
What do I need to do to 'undo' the changes made to my project in the upgrade process so that I can continue working in the older version of Visual Studio to finish my project?
Visual Studio 2013 upgrades the project to the Windows Phone 8 SDK, and that is not compatible with Visual Studio 2012. If you are using a form of Source Control (Visual Studio Online, GitHub) you should roll back to the previous version. If not, Visual Studio (by default) creates a _backup folder under your solution where it will backup any files modified in the conversion process. Use these to return the project to its pre-visualstudio-2013-state.

Visual studio issues after installing visual studio 2013

I have Windows 8 machine.
I had visual studio 2010 and Visual Studio 2012 installed on my computer.
I installed the visual studio 2013 preview, and the 8.1 WDK.
After I installed Visual Studio 2013, my old project in C++ wasn't able to be compiled (in Visual Studio 2012) so I uninstalled Visual Studio 2013 and the WDK.
But the issue remains, i cannot compile my C++ project. I get error message such as "Windows.h cannot be found" I looked at the include directory and saw that I have the following include: $(WindowsSDK_IncludePath). but when I open "Macros>>" I can't this macro "$(WindowsSDK_IncludePath)".
I tried to uninstall Visual Studio 2010 and 2012 and reinstall them but it didn't fix the issue.
Does anyone know what might cause this issue and how to resolve it?
In order to build windows 8 apps in visual studio 2013, you must be using windows 8.1. (defined here). This is possibly the issue.
You also wouldn't see the windows sdk include path because the wdk would be uninstalled. I would recommend one of two things
get visual studio 2012 again, and download the windows 8 sdk
get windows 8.1, then install visual studio 2013, and use the windows 8.1 sdk
I know, its quite silly.

Portable class library in visual studio 2013 (wp7/win8)

How to create PCL wp7/win8 in visual studio 2013?
I have already installed windows phone 7 sdk and windows phone 8 sdk, but it does not help.
There is no option for wp 7.1.
Visual Studio does not support Windows Phone 7 development.
This may change in the future but, based on what has happened with previous versions of Visual Studio and separate SDKs, I suspect that is unlikely.
It's only possible to target PCL projects for SDKs that are installed.
You could build your PCL in VS2012 and consume it in a VS2103 project though.
On the other (/plus?) side, there are free versions of VS2012 and VS2013 and the can be installed side by side so you'll be able to build for WP7 for plenty of time to come.
Visual Studio 2013 has removed support for Windows Phone 7.x, Silverlight 4 and Xbox development.
For the entire list of compatibility between Visual Studio 2012 and Visual Studio 2013, see: http://msdn.microsoft.com/en-us/library/vstudio/hh266747(v=vs.120).aspx.
Keep in mind that VS 2013 is still a preview. So maybe it will be available later but for the moment it looks like you can only create a PCL project with support for both Windows Phone 7 and Windows Store apps by using Visual Studio 2012
There is a solution according to
http://www.johanlaanstra.nl/2013/09/22/portable-class-libraries-with-wp7-support-in-visual-studio-2013-rc
...was wondering why Visual Studio would upgrade the project while the
profile was there on disk. While digging through the xml files for
Profile104 (C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework.NETPortable\v4.0\Profile\Profile104),
which is the profile I was using, I found some xml files in the
SupportedFrameworks subfolder. These xml files defined a
MinimumVisualStudioVersion and a MaximumVisualStudioVersion. For
Profile104, one of the files contained MaximumVisualStudioVersion="11"
which means Visual Studio 2012. Changing all xml files for the profile
to have MaximumVisualStudioVersion="12", which means Visual Studio
2013, made my scenario work after a restart of Visual Studio. I can
now open the PCL in Visual Studio 2013 without it being upgraded. Make
sure you restart VS after this change to make it work.

Resources