Managing Projects in Visual Studio 2005 & 2008

One of the first tasks I tried when I installed Visual Studio 2008 was to open a Visual Studio 2005 project.  I was prompted with the following:

visual_studio_2008_conversion

This concerned me, because I wanted to open the project in Visual Studio 2005 or Visual Studio 2008.  My findings are as follows:

  • Solutions (once converted) can not be opened in Visual Studio 2005
  • Projects (once converted) can be opened in either IDE
Published Monday, July 30, 2007 2:57 PM by Palermo4

Comments

# re: Managing Projects in Visual Studio 2005 & 2008

Monday, July 30, 2007 4:35 PM by Denny Ferrassoli

Thanks for posting this, I ended up just playing with everything individually so I wouldn't have to convert my project. Now I can safely convert since I am not using a solution in my current project.

# re: Managing Projects in Visual Studio 2005 & 2008

Monday, July 30, 2007 4:37 PM by Zack Owens

Well... you could copy the VS 2005 solution and run one solution in Visual Studio 2008 and the other would be Visual Studio 2005 only.

# re: Managing Projects in Visual Studio 2005 & 2008

Monday, July 30, 2007 5:23 PM by Dmytro Shteflyuk

Yeah, I found the same thing. It's very bad news that solutions became "broken" for VS2005 after conversion. Now every time I want to commit my code to version control system, I should rollback several pieces of XML. Weird

# re: Managing Projects in Visual Studio 2005 & 2008

Tuesday, July 31, 2007 7:16 AM by Jens Hofmann

You'll have problems with "Web Application Projects". Because the converted project will replace the line specifying the MSBuild task for Web Application Projects from something like 8.0 in 9.0. The only way to use this project on a machine only running vs 2005 is to copy the new msbuild-folder (9.0) to the pc running vs 2005

# re: Managing Projects in Visual Studio 2005 & 2008

Tuesday, July 31, 2007 10:39 AM by Brian Lowry

Have you tried opening the solution file and changing the version from 10.0 to 9.0?

# re: Managing Projects in Visual Studio 2005 & 2008

Tuesday, July 31, 2007 11:09 AM by Palermo4

Brian,

I actually do not mind if the solution file has to be different.  The projects are what I cared about.  As Zack Owens commented about, I simply have two solution files: one for visual studio 2008, the other for visual studio 2005.  The projects are the same in both.

# re: Managing Projects in Visual Studio 2005 & 2008

Tuesday, July 31, 2007 11:10 AM by Palermo4

Two links that are helpful on this topic are:

weblogs.asp.net/.../asp-net-ajax-in-net-3-5-and-vs-2008.aspx

blogs.msdn.com/.../using-vs-2008-to-target-asp-net-ajax-1-0.aspx

# re: Managing Projects in Visual Studio 2005 & 2008

Monday, October 29, 2007 6:13 PM by inVINCEble

Thanks for the post.  I just installed Visual Studio 2008 and of course I heard that 2008 will open 2005 project files fine.  So I was concerned it asked me to convert.  Now that I know the conversion will make the project work with both 2005 and 2008, I'll start converting some of our less important projects and see how it goes.

# re: Managing Projects in Visual Studio 2005 & 2008

Friday, February 22, 2008 1:47 PM by Arnold

Thank you for your encouragement to help me move back and forth.

I did try graye's utility above but found it was expecting the commercial varieties of VS while I use the free Express editions.

However, making the same changes with a direct manual edit, now allows me to move back to 2005, when and as required.

# re: Managing Projects in Visual Studio 2005 & 2008

Wednesday, February 27, 2008 10:15 PM by graye

Yep, I recently fixed that issue in my ProjectConverter source code so that it now works correctly for the Express Editions

# re: Managing Projects in Visual Studio 2005 & 2008

Sunday, April 6, 2008 7:24 PM by Jose Casorla

When I open a 2005 project in VS 2008. I could see the conversion screen for a split second then it goes away. How can I fix this. Because I am not able to convert my projects anymore.

# re: Managing Projects in Visual Studio 2005 & 2008

Friday, July 8, 2011 2:05 PM by santosh

i am a fresher in dot net field.i hav worked in a group for a ado.net project in vs2005.i want to run it in vs2008....how?

Leave a Comment

(required) 
(required) 
(optional)
(required)