Project open in two instances of Visual Studio 2005

Last post 09-03-2008 10:02 AM by Curt_C. 3 replies.

Sort Posts:

  • Project open in two instances of Visual Studio 2005

    09-03-2008, 9:05 AM
    • Member
      36 point Member
    • KevinAMac
    • Member since 02-20-2008, 2:08 PM
    • Posts 124

    Hello All,

    I just wanted to check with the experts. When I am working on a webform or code-behind, I frequently want to refer to the source code somewhere in the same project. Rather than open that code in another tab and have to keep switching between them, I started opening the same project in another instance of VS2005. That way I can have one program on my left monitor and the other program on my right monitor. When I do this, I periodically get a message saying that code has changed and do I want to reload the updated version, to which I always respond "yes". My question is whether this practice is safe and whether anyone else has a better answer for being able to see the code in two source files at the same time.

    Thanks in advance,
    Kevin

  • Re: Project open in two instances of Visual Studio 2005

    09-03-2008, 9:19 AM
    Answer
    • All-Star
      49,107 point All-Star
    • Curt_C
    • Member since 07-23-2003, 4:27 PM
    • Plover, WI - USA
    • Posts 5,341
    • Moderator
      TrustedFriends-MVPs

    Will it work....sure....but as you pointed its not the smoothest route to go. It's more of an annoyance (the "changed" notification, etc) than a danger but I suppose you do run that possibility if you were to not click the Yes option, or if you changed things in both, relating to the same files.....

    Its typically just not good practice.

    Have you looked at the Split View in the IDE?

    Blatant Self-Promotion: Book Released - ASP.Net CMS Development
  • Re: Project open in two instances of Visual Studio 2005

    09-03-2008, 9:42 AM
    • Member
      36 point Member
    • KevinAMac
    • Member since 02-20-2008, 2:08 PM
    • Posts 124

    Curt_C,

    Thanks for your reply. 

    I had forgotten about the "split view" feature. I will turn one monitor to portrait mode and give that a try.

    While I have you on the phone, do you use code snippets? If so, do you use the built-in snippet manager or do you use a third-party tool?

    Thanks again, 

    Kevin

  • Re: Project open in two instances of Visual Studio 2005

    09-03-2008, 10:02 AM
    • All-Star
      49,107 point All-Star
    • Curt_C
    • Member since 07-23-2003, 4:27 PM
    • Plover, WI - USA
    • Posts 5,341
    • Moderator
      TrustedFriends-MVPs

    KevinAMac:

    While I have you on the phone, do you use code snippets? If so, do you use the built-in snippet manager or do you use a third-party tool?

    Nope... well, not usually. I have in the past and in some circumstances they are handy. If you are using the same core/base framework repeatedly or have large scale project it's kinda nice but if you do as many smaller/individual projects as I do I find them less usefull.

    When I do use them I was using the built-in tools.

    Blatant Self-Promotion: Book Released - ASP.Net CMS Development
Page 1 of 1 (4 items)