473,395 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 5313

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: John A Fotheringham | last post by:
I'm trying to write a procedure that having created a new database, will then create within that new database all the tables and procedures that go with it. In doing this I'm hitting the problem...
2
by: Anand Ganesh | last post by:
Hi All, In my application I am allowing the user to draw a line. But when the user clicks the start point and starts moving the mouse there is a series of line generated. When the mouse is up...
10
by: Lars Grøtteland | last post by:
Hello! Was wondering how I can create a copy of one database? FYI I'm not interrested in the data, just the fields and triggers, and so on. Which way is the easiest? Do I create a script and...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
5
by: Wayne Wengert | last post by:
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...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
2
by: =?Utf-8?B?SmltIFdhbHNo?= | last post by:
I'm new to .NET development, although I have worked with VS2005 and VC++ for a while. A frequent task for me is to create a new project for a new version of my program, without destroying the...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello, mister I have an application web asp.net 2.0 + vs 2005 and VS 2005 Web Application Project. Its appears this error in execution: "Cannot Create/Shadow Copy '<projectname>' when that...
4
by: Alan Mailer | last post by:
Again, I'm new to VB.net and there is something I need help with: Like (I assume) many of us, over time I want to be able to create some VB.net classes that I might want to use in more than one...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.