Working with different versions/branches of the same Visual Studio 2005 solution

前端 未结 4 1709
一整个雨季
一整个雨季 2021-01-02 09:56

This is kind of a usability question for using VS2005: I have different branches of the same Visual Studio 2005 solution checked out from version control. The solution and p

相关标签:
4条回答
  • 2021-01-02 10:33

    Same issue here. VS has bad support for equally named solutions in different directories.

    A somewhat hacky workaround: http://www.helixoft.com/blog/archives/32

    0 讨论(0)
  • 2021-01-02 10:39

    Why don't you rename the solution file on your branches, e.g. MySolution-branchXY.sln?

    Update:

    I'm not sure I understand your comment.

    As soon as you have branched your solution, you have two independent versions of each file: one on the trunk (or source branch) and one on the new branch. The two files simply share a common history, but you are free to change them independently on both branches. So you can rename the solution in your branch.

    0 讨论(0)
  • 2021-01-02 10:43

    Use the (free) VSCommands plugin:

    http://geekswithblogs.net/deadlydog/archive/2011/04/29/friendly-visual-studio-solution-names-for-branches.aspx

    I guess it only works when using different folders for different branches (not SVN switching), but still, it's good stuff.

    0 讨论(0)
  • 2021-01-02 10:48

    There's an ideal extension for your problem, but you must use at least VS 2010:

    http://visualstudiogallery.msdn.microsoft.com/f3f23845-5b1e-4811-882f-60b7181fa6d6

    It changes the title bar, so must not rename solutions or files.

    I know that is an old post, but perhaps you have now a newer VS version :-)

    0 讨论(0)
提交回复
热议问题