how to restore correct associations of VS2k5/8 files after VS2003 setup?

Last post 11-07-2009 6:06 AM by TATWORTH. 4 replies.

Sort Posts:

  • how to restore correct associations of VS2k5/8 files after VS2003 setup?

    10-24-2009, 4:52 PM
    • Contributor
      2,603 point Contributor
    • guenavan
    • Member since 01-09-2004, 9:25 AM
    • Novossibirsk(S. Iberia)
    • Posts 1,236

    I installed VS2008 SP1, then I needed VS2005 SP2 (since I needed to open BIDS2005 projects without thier conversion to 2008).

    I needed to .NET 1.1 compatibility and installed VS2003 + SP1.

    Npw all my VS2005 and VS2008 projects (solutions) are being associated with VS2003. I.e. double-clicking opens VS2003, telling that it does not recognize them!

    How can I restore correct associatons of  the proj and soltions (.csproj, .sln) files without reinstalling VS2005, VS2008 and all their service packs?

    -------------------
    Guennadi Vanine - Gennady Vanin - Геннадий Ванин (Novosibirsk)
    Looking for an opportunity job

  • Re: how to restore correct associations of VS2k5/8 files after VS2003 setup?

    10-29-2009, 4:36 AM
    Answer
    • Participant
      844 point Participant
    • Nowall
    • Member since 12-19-2007, 9:53 AM
    • Posts 108

    Run devenv /setup from Visual Studio 2005 and 2008 command line prompt


    http://msdn.microsoft.com/en-us/library/ex6a2fad(VS.80).aspx

    Please make the reply as answer if it helps!
  • Re: how to restore correct associations of VS2k5/8 files after VS2003 setup?

    10-31-2009, 10:59 AM
    • Contributor
      2,603 point Contributor
    • guenavan
    • Member since 01-09-2004, 9:25 AM
    • Novossibirsk(S. Iberia)
    • Posts 1,236

    Nowall, thanks,
    it is curious that
    devenv /?
    does not output this option as available.

    This command takes so much time to run that
    I suspect it is the same as running setup, only without GUI.

    With GUI or without,
    my question really   implied another question:
    Should I run also the  service packss after reinstall of VS2005 and VS2008?
    are there any shortcuts bypassing all these?


    And how can I determine such necessity?

    Now, I ran
    devenv /setup
    both for  VS2008(first) and, then, VS2005 (using their cmmand lines).
    After that,  I still have VS2003 launched on double-clicking VS2008 .sln files.

    BTW, the mentioned link tells:
    "Forces Visual Studio to merge the resource metadata that describes menus, toolbars, and command groups from all VSPackages available."

    It does not mention anything about Windows associations (from outside of VS)

    -------------------
    Guennadi Vanine - Gennady Vanin - Геннадий Ванин (Novosibirsk)
    Looking for an opportunity job

  • Re: how to restore correct associations of VS2k5/8 files after VS2003 setup?

    10-31-2009, 12:53 PM
    • Contributor
      2,603 point Contributor
    • guenavan
    • Member since 01-09-2004, 9:25 AM
    • Novossibirsk(S. Iberia)
    • Posts 1,236

    guenavan:
    I ran
    devenv /setup
    both for  VS2008(first) and, then, VS2005 (using their cmmand lines).
    After that,  I still have VS2003 launched on double-clicking VS2008 .sln files.
     
    I regret that I ran
    devenv /setup

    I just worsened the situation

    Now, trying to launch VS2003 webapp proj I am getting

    ---------------------------
    Microsoft Development Environment
    ---------------------------
    Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.
    ---------------------------
    ОК   Справка  
    ---------------------------

    And
    Inetmgr.exe --> websites --> Properties ---> ASP.NET --->
    ASP.NET version:
    combobox has only one choice
    2.0.50727

    -------------------
    Guennadi Vanine - Gennady Vanin - Геннадий Ванин (Novosibirsk)
    Looking for an opportunity job

  • Re: how to restore correct associations of VS2k5/8 files after VS2003 setup?

    11-07-2009, 6:06 AM
    • All-Star
      62,877 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,279
    • TrustedFriends-MVPs

    Considering the problems of developing 1.1 in parallel with 2.0, I suggest that you install VS2003 in a virtual machine and VS2008 on the host machine (or in yet another virtual machine).

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Page 1 of 1 (5 items)