Using Both Visual Studio 2003 and 2010 Projects
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Using Both Visual Studio 2003 and 2010 Projects

  1. #1
    Join Date
    Apr 2009
    Posts
    82

    Using Both Visual Studio 2003 and 2010 Projects

    Currently I have a visual studio 2003 project.
    I would like to know how to convert it to visual studio 2010 the proper way.
    Also, how do I keep both VS2003 and VS2010 project settings so that I can select to use either 2003 and 2010 project settings whenever I want since I have both VS2003 and VS2010 installed on my PC?
    Regards,
    PH Chang

  2. #2
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,012

    Re: Using Both Visual Studio 2003 and 2010 Projects

    Quote Originally Posted by PHChang View Post
    Currently I have a visual studio 2003 project.
    I would like to know how to convert it to visual studio 2010 the proper way.
    Open the project in VS2010.
    Quote Originally Posted by PHChang View Post
    Also, how do I keep both VS2003 and VS2010 project settings so that I can select to use either 2003 and 2010 project settings whenever I want since I have both VS2003 and VS2010 installed on my PC?
    Projects will be saved with a different extension in VS2010. You'll have to create a copy of the solution, though. When you switch between the two, you'll need to do a complete rebuild if you do this.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,243

    Re: Using Both Visual Studio 2003 and 2010 Projects

    Even though you can manually keep both solution versions around, as time goes on, it's going to be harder to maintain the older version (especially if you use the new compiler features not found in 2003).

    That being said, why double your work trying to maintain multiple versions?

    If at all possible, convert to the new version and never look back.

  4. #4
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,328

    Re: Using Both Visual Studio 2003 and 2010 Projects

    Quote Originally Posted by Arjay View Post
    Even though you can manually keep both solution versions around, as time goes on, it's going to be harder to maintain the older version (especially if you use the new compiler features not found in 2003).

    That being said, why double your work trying to maintain multiple versions?

    If at all possible, convert to the new version and never look back.
    If you have access to VS2010, I really suggest you convert your VS2003 solutions over to VS2010 and don't bother with VS2003 anymore. Maintaining two solution versions is really not worth the bother unless you have a very, very good reason for needing to maintain a VS2003 version.

    Indeed, I would go as far as suggesting upgrading to VS2013 which has recently been released.
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  5. #5
    Join Date
    Apr 2009
    Posts
    82

    Re: Using Both Visual Studio 2003 and 2010 Projects

    Ya I think new .sln and .sdf files will be generated using VS2010. If I choose to backup the old project settings, the old settings still remain with .old extension.
    In transition period, maybe will try to keep both version first in case anything goes wrong.
    In the long run, I believe using one version will be easier to maintain.
    Thanks all for the advise.

  6. #6
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,243

    Re: Using Both Visual Studio 2003 and 2010 Projects

    If you are able, please consider 2kaud's suggesting of moving to VS2013. It's worth it, if you can do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center