By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,563 Members | 1,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,563 IT Pros & Developers. It's quick & easy.

Create Copy of Solution

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a

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

P: n/a
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

P: n/a
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.