470,647 Members | 1,230 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

Create Copy of Solution

Environment: VS.NET 2003/VB.NET

I want to make a copy of a solution to try certain changes without risking
the working version. I don't see any "Save Solution As" option. What steps
do I need to take to make a full copy of a solution that will be a true
stand alone copy - no references back to the original?

--
------------------------------------
Wayne Wengert
wa***@wengert.org
Jul 19 '05 #1
3 5094

Just make a copy of the folder the solution is in and work with the copy.

If it's a web application then you also need to do the following:

- make the new folder a virtual root
- open the web app project (not the solution) in VS
- do a save all and save the new solution file into the new folder

--
Rob Windsor
G6 Consulting
Toronto, Canada
"Wayne Wengert" <wa***@wengert.org> wrote in message
news:Od**************@tk2msftngp13.phx.gbl...
Environment: VS.NET 2003/VB.NET

I want to make a copy of a solution to try certain changes without risking
the working version. I don't see any "Save Solution As" option. What steps
do I need to take to make a full copy of a solution that will be a true
stand alone copy - no references back to the original?

--
------------------------------------
Wayne Wengert
wa***@wengert.org

Jul 19 '05 #2
The easiest way to me to accomplish this is to go to the
explorer window and make a copy of the solution folder.
Then, I rename it the desired name. I then edit the SLN
file as text with Notepad (from the Open With context
menu). If there are any literal paths or relative paths
(..\) that are pointing to the original path, change
them. If you've got embedded resources, they might be in
other directories. In that case, you'd need to edit the
VBPROJ file with Notepad too. Make the same type of
changes here as well. It may sound difficult, but it's
not. Just use Search and Replace. You shouldn't have but
a few minutes of work ahead of you.
-----Original Message-----
Environment: VS.NET 2003/VB.NET

I want to make a copy of a solution to try certain changes without riskingthe working version. I don't see any "Save Solution As" option. What stepsdo I need to take to make a full copy of a solution that will be a truestand alone copy - no references back to the original?

--
------------------------------------
Wayne Wengert
wa***@wengert.org
.

Jul 19 '05 #3
Thanks - That seems to work. In my case I found no paths in either the sln
or vbproj files.

Wayne

"Tony Pirkle" <tp******@alltel.net> wrote in message
news:25****************************@phx.gbl...
The easiest way to me to accomplish this is to go to the
explorer window and make a copy of the solution folder.
Then, I rename it the desired name. I then edit the SLN
file as text with Notepad (from the Open With context
menu). If there are any literal paths or relative paths
(..\) that are pointing to the original path, change
them. If you've got embedded resources, they might be in
other directories. In that case, you'd need to edit the
VBPROJ file with Notepad too. Make the same type of
changes here as well. It may sound difficult, but it's
not. Just use Search and Replace. You shouldn't have but
a few minutes of work ahead of you.
-----Original Message-----
Environment: VS.NET 2003/VB.NET

I want to make a copy of a solution to try certain

changes without risking
the working version. I don't see any "Save Solution As"

option. What steps
do I need to take to make a full copy of a solution that

will be a true
stand alone copy - no references back to the original?

--
------------------------------------
Wayne Wengert
wa***@wengert.org
.

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Lars Grøtteland | last post: by
4 posts views Thread by I_AM_DON_AND_YOU? | last post: by
5 posts views Thread by Wayne Wengert | last post: by
2 posts views Thread by =?Utf-8?B?SmltIFdhbHNo?= | last post: by
reply views Thread by =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.