How to convert a solution from VS2003 to VS2005? - visual-studio

I have builded a solution in VS2003. Now i want to migrate to VS2003. I know that when I open the VS2003 solution in VS2005 the IDE will convert the solution to VS2005.
But I am getting the following error window when I click on convert in the conversion wizard:
e:\Test.vcproj can not be opened because it's project type(vc.proj) is not
supported by the version of the application.to open this use a version that support
this
How can I resolve this?
Any help is greately appreciated.

Your installed version of VS2005 does not include C/C++ support. Reinstall VS2005 and make sure you tick the appropriate checkboxes in the Setup, then you will be able to open .vcproj files.

I'm not 100% sure of the error in your case, but the only time I've seen errors like this it was because I did not have the appropriate components of Visual Studio installed. Make sure that your installation is configured with all the components you need and retry. :)

Try running this command using Visual Studio 2005 Command Prompt (if you're using Vista, make sure you "Run as Administrator":
devenv.exe /resetskippkgs
From here: /ResetSkipPkgs (devenv.exe)

Related

Visual Studio 2013 Language Pack Install Fails: Program Compatibility Mode is on (Windows 10)

I had to install VS2013 on a Windows 10 VM (VMWare).
My prblem similar to this question, which helped me before: Visual Studio 2013 Install Fails: Program Compatibility Mode is on (Windows 10)
The solution was to rename the VS installer (in my Case to "vs_premium.exe").
But now I also need to install a VS2013 language pack.
The language pack fails by the same error, but it is named correctly ("vs_langpack.exe"), so that the "old solution" from the named thread doesn't work in this case.
Change file name to "vssdk_full.exe"
I know this question is old but just ran into a similar problem and none of the SO answers so far helped, so maybe this solution helps someone else: I had run the compatibility troubleshooter at some point in the past, but there was no compatibility tab under properties to reset compatibility mode, nor did disabling the troubleshooter help.
It turned out the troubleshooter had installed a directory for Microsoft Visual Studio under Program Files (in addition to the default in Program Files (x86)). Deleting this directory solved the problem.

CMake says c compiler is broken

I've just attempted to use Firebreath and have followed their video tutorial for Windows and come across the error that says:
Check for working C compiler using Visual Studio 10 -- broken
And then says:
It fails with following output:
Change Dir:
And then lists the drive. This happens when running prep2010.cmd. I have found a post about it, but the forums won't let me log in and there is no answer. It's here: http://forum.firebreath.org/topic/274/?page=1#post-1117 and is exactly the same error, I believe. The last post talks about running prep2010 from inside the vs2010 command shell. What does that mean?
Has anyone else had this error or know how it is caused? I have no idea how to approach it.
Thankyou
I know this is really old.. but in case someone else has this problem, the solution for me was to install service pack 1 for visual studio 2010
As I said in the comment above, this is not "FireBreath" that is saying your compiler is broken; the prep command uses CMake to generate the project files, and it is from cmake that the error comes.
In your start menu where Visual Studio 2010 is there should be a "tools" or "utilities" subfolder and in there somewhere there is a "Visual Studio 2010 Command Prompt" link. That starts a command prompt with environment variables and path set up so that the vs2010 commands are all available. The error you're seeing is indicating that for whatever reason, CMake is unable to find visual studio 2010.
I don't know if using the vs2010 command prompt will help or not; it doesn't have any trouble finding vs2010 on any of my boxes. I can postulate that perhaps if you installed it to a nonstandard location, in a nonstandard way, or your registry got screwed up any of these things could potentially cause the issue that you are seeing. Also if you don't have vs2010 installed it would certainly cause this issue =]
I'd recommend first trying the vs2010 command prompt; if that doesn't work, you may have to try uninstalling and reinstalling vs2010. If that doesn't work, I'm out of ideas, and maybe someone who knows more about cmake will have a suggestion :-(
Service pack 1:
http://www.microsoft.com/en-us/download/details.aspx?id=23691
Configure cmake with generator: MSVC2010 x64
I also had MSCV 2010 x64 on windows 7 and installing service pack one also helped.
Also make sure that all your external dependancies are (x64) versions:
MSVC version:
http://visual-studio-2010.en.malavida.com/
Gl&HF

cannot create any C++ project

I have Visual Studio 2010 Ultimate on Windows 7 Enterprise running on a x86 box. I cannot create any C++ project from VS although I can create C# project. On the new project dialog I press OK button and nothing happens. I don't get any error but no solution or project is created either. Not sure if it helps but I log in as Administrator. Any ideas?
Did you check the thing called C++ runtimes which is required by VS to run properly?
I guess the idea to reinstall is good.
This will even repair some missing or corrupt which may have been accidentally deleted or corrupted.
Most probably you did not check the C++ language option during installation. If you re-run the Visual Studio installer and check the C++ language option (maybe choose custom setup to make sure you see the option and are able to include it), everything will run file.
In case you already did that, there might be a problem with the C++ project type registration in VS. Please come back to this forum if you still have problems after re-installation.

How can I get the Visual Studio 2010 converstion wizard to come back up?

When I first opened my website project with Visual Studio 2010 the conversion wizard
came up and I said that I didn't want to convert the project.
Now I'm ready to convert the project, but I can't find a shortcut or a way to get it back? I tried to remove the suo file, and that didn't do it.
If I go into the project properties I can switch the target framework to 4.0, but that tells me it's going to close and reopen the project and I'll have to adjust the pages by hand - doesn't seem like very much fun.
Anyone know how to get it to prompt again, or even a command line that would run it?
Thank you!
Here's how I can do it manually, I'm not sure the wizard can be run again. I found the command line to run the wizard, but I think that's just an upgrade to VS2010.
Here's how to upgrade from 3.5 to 4.0, fwiw:
http://msdn.microsoft.com/en-us/library/dd483478.aspx

Error: The project type is not supported by this installation

I'm trying to open a silverlight project in Visual Studio 2008 and getting this error.
The project type is not supported by this installation.
Let me tell you I did installed:
VS2008
SP1
Silverlight Tools 3
Silverlight SDK
Silverlight
And they were installed in the sequence they are mentioned here. Still I'm getting the same error.
Adding some more details which might be helpful in identifying the cause:
When I try to create a new silverlight project it gives me error "Object reference not set to an instance of an object". And shows "...project creation failed."
I tried unistalling all of the things and installing them again. It really took a lot of time but didn't solved my problem.
Any help appreciated.
Open the project.csproj file with another editor, delete whatever you find between
<ProjectTypeGuids></ProjectTypeGuids>
I've had the same error when I tried to open a solution which required VB.NET, despite everything (to my knowledge) being C#.
If you've done a full install of VS then try this solution: http://andrewgunn.blogspot.com/2008/03/silverlight-project-type-is-not.html
Let us know how it goes.
Do you know who the silverlight project was created by? If so, then contact them and ask them if they used VS 2008 or if they used VS 2010 beta 1/2 (VS 2010 has a lot more and better support for silverlight so it's probable)
If they used VS 2010, then just go to the microsoft website and download you a copy... it's free(right now)
(and if you'll be doing much silverlight development, I'd recommend downloading it anyway. It has code completion for XAML!)
run devenv /setup

Resources