Search
Friday, March 02, 2001 ..:: Home ::.. Register  Login
   Calendar  
     
  
   Search  
     
  
   Disclosure  
     
  
   TechTidBits (Blog)  

Visual Studio error when trying to load a .csproj file saying the application for that project is not installed?

Feb 15

Written by:
Sunday, February 15, 2009 1:45 PM  RssIcon

Are you seeing an error message when opening an .csproj file and you're thinking "HUH?  VS knows what a .csproj is! WTF?!"  I have a possible reason, read on for details.

Are you seeing this message from Visual Studio when double clicking a .csproj file?  "The application for project 'c:\dev\WTF\YourSolutionDir\YourProjDir\YourSolFile.csproj' is not installed.  Make sure the application for the project type (.csproj) is installed.

VS migration tool possibly not installed as reason for this error message

(text above so this blog is found with google :>)

I found out by total fluke the reason I was getting this was cause the computer I was trying to open up an example project didn't have the VS 2005 to 2008 conversion wizard.  One of my computer's is running Microsoft Team Foundatio (TFS, aka VS on steroids), my other is running Visual Studio 2008 Professional.  Turns out, my box with VS Pro can easily open any of these projects BUT VS recognizes they are VS 2005 projects and wants to convert them to a VS 2008 project via the Conversion Wizard.

Visual Studio Converstion Wizard

Unfortunately my TFS box does not have this conversion wizard installed, I believe this is why I am seeing the "error" message about VS not knowing how to handle .csproj files.  Unfortunately the more I look, the more frustrated I get, I'm not able to find a download version of the conversion wizard.  Seems odd that two versions of the IDE would differ with this type of tool inclusion/exclusion?  I must be searching wrong, so if you find it, please post a link, I would be greatly appreciated (as well as my other two readers! :>>>>).

Thanks and keep having fun coding (yup, still searching for a catchy tag line, haven't found it yet have it?).

 

Resources:

MSDN: Visual Studio Converstion Wizard

CodePlex: Visual Studio 2008 back migration tool to Visual Studio 2005

How to use solutions and projects between Visual Studio 2005 and 2008

Tags:
Categories:
Location: Blogs Parent Separator TechTidBits

4 comment(s) so far...


Re: Visual Studio error when trying to load a .csproj file saying the application for that project is not installed?

Yes, you are correct in your assumption about the error message. Often you best bet (in your current situation) is to open it up in Visual Studio 2008 (on the box that has either VS2005 or the converter installed) and perform the actual conversion. Then copy the newly migrated solution/project to your VS2008 (only) box.

Oh the joy of VS :)

By Shane on   Monday, February 16, 2009 1:21 PM

Re: Visual Studio error when trying to load a .csproj file saying the application for that project is not installed?

Very true, thanks Shane for the comment!

If you're unfortunate enough to not have access to VS with the conversion tool, there are many links out there to help you manually convert a solution/project over to VS2008 format. I've had to do that before :< not pretty (or short :<<) but it does work and gets you accessing the code/cs files which is the key.

By phenry on   Monday, February 16, 2009 1:26 PM

Re: Visual Studio error when trying to load a .csproj file saying the application for that project is not installed?

Thanks for this post. I've inherited a slew of 2005 projects and have not license for '05 just 2008. This might not have given me a solution but at least I now know what the root cause of this problem is. It seemed madness that '08 couldn't open '05 projects and our purchasing team weren't convinced they should shell out for an '05 license... Now I can attack the problem with this new knowledge and, failing that, rexplain to purchasing why I have to be bought a copy of the older visual studio.

By Andy on   Friday, May 08, 2009 9:05 AM

Re: Visual Studio error when trying to load a .csproj file saying the application for that project is not installed?

Hey Andy! Thank you for leaving a comment, I appreciate it! Knowing the source of the problem is half the battle IMHO! LOL

So I guess you have the more expensive Team Explorer edition of VS instead of Pro or something like that? HHHHMMMM I wonder if the free version of VS (Express) has the conversion tool? That might help you (and the finance department as well?). If you try it out, please post a comment/your findings, I would love to read about it.

Thanks again and have a good weekend!

PS Good luck with your porting! A "slew" of projects is non-trivial to port forward.

By phenry on   Friday, May 08, 2009 9:02 AM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
     
  
Copyright 1999-2012 by PCHenry.com   Terms Of Use  Privacy Statement