473,785 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copying one project to another

I have an old version of VS 2002 and want to make a copy of my Visual Studio
project to another project with another name. In VS 2003, you can do it but
there is no copy project command in VS 2002 (at least I can't seem to find
it).

Is there a way to do it?

Thanks,

Tom
Jan 19 '06 #1
4 1405
erm. how about just finding your visual studio projects folder and copying
the required folder within that like any other windows op? if you want, you
can then open the new and renamed folder, and rename the forms so as to avoid
any confusion.

it's what i usually do... not rocket science but it works! :))
tshad wrote:
I have an old version of VS 2002 and want to make a copy of my Visual Studio
project to another project with another name. In VS 2003, you can do it but
there is no copy project command in VS 2002 (at least I can't seem to find
it).

Is there a way to do it?

Thanks,

Tom


--
it's all latin & geek to me! ;-)

Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...b-net/200601/1
Jan 19 '06 #2
Tshad,

Because of some disapointing expiriences probably with version 2002, do I
now use only explorer for this kind of operations.

(Not for using one project with another where I use the Add project).

I hope this helps,

Cor
Jan 19 '06 #3
"latin & geek via DotNetMonster.c om" <u16975@uwe> wrote in message
news:5a9339e89f c40@uwe...
erm. how about just finding your visual studio projects folder and copying
the required folder within that like any other windows op? if you want, you can then open the new and renamed folder, and rename the forms so as to avoid any confusion.
If that works that's great. My concern is different references in the
project pointing at files that won't be there if you rename them. This used
to be a problem with VS and don't know if that is still the case.

Thanks,

Tom it's what i usually do... not rocket science but it works! :))
tshad wrote:
I have an old version of VS 2002 and want to make a copy of my Visual Studioproject to another project with another name. In VS 2003, you can do it butthere is no copy project command in VS 2002 (at least I can't seem to findit).

Is there a way to do it?

Thanks,

Tom


--
it's all latin & geek to me! ;-)

Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...b-net/200601/1

Jan 19 '06 #4
"tshad" <tf*@dslextreme .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
"latin & geek via DotNetMonster.c om" <u16975@uwe> wrote in message
news:5a9339e89f c40@uwe...
erm. how about just finding your visual studio projects folder and copying
the required folder within that like any other windows op? if you want, you
can then open the new and renamed folder, and rename the forms so as to

avoid
any confusion.

If that works that's great. My concern is different references in the
project pointing at files that won't be there if you rename them. This

used to be a problem with VS and don't know if that is still the case.
I just tried to move the Project folder and rename the files and found
certain values in various folders that still point at the old file name.

For example:

The .vbproj has the following (CreateSVC is the old name and SearchAgents is
the new name):

ApplicationIcon = ""
AssemblyKeyCont ainerName = ""
AssemblyName = "CreateCSV"
AssemblyOrigina torKeyFile = ""
AssemblyOrigina torKeyMode = "None"
DefaultClientSc ript = "JScript"
DefaultHTMLPage Layout = "Grid"
DefaultTargetSc hema = "IE50"
DelaySign = "false"
OutputType = "WinExe"
OptionCompare = "Binary"
OptionExplicit = "On"
OptionStrict = "Off"
RootNamespace = "CreateCSV"
StartupObject = "CreateCSV.Form 1"

The .sln file has the old names and various GUIDs. I assume there would be
a problem if both projects use the same GUIDS:

Microsoft Visual Studio Solution File, Format Version 7.00
Project("{F184B 08F-C81C-45F6-A57F-5ABD9991F28F}") = "CreateCSV" ,
"CreateCSV.vbpr oj", "{619A19B0-B845-459B-B93C-A91DD21F93BF}"
EndProject
Global
GlobalSection(S olutionConfigur ation) = preSolution
ConfigName.0 = Debug
ConfigName.1 = Release
EndGlobalSectio n
GlobalSection(P rojectDependenc ies) = postSolution
EndGlobalSectio n
GlobalSection(P rojectConfigura tion) = postSolution
{619A19B0-B845-459B-B93C-A91DD21F93BF}.D ebug.ActiveCfg = Debug|.NET
{619A19B0-B845-459B-B93C-A91DD21F93BF}.D ebug.Build.0 = Debug|.NET
{619A19B0-B845-459B-B93C-A91DD21F93BF}.R elease.ActiveCf g = Release|.NET
{619A19B0-B845-459B-B93C-A91DD21F93BF}.R elease.Build.0 = Release|.NET
EndGlobalSectio n
GlobalSection(E xtensibilityGlo bals) = postSolution
EndGlobalSectio n
GlobalSection(E xtensibilityAdd Ins) = postSolution
EndGlobalSectio n
EndGlobal

The .suo file also has the old name in it.

Tom
Thanks,

Tom
it's what i usually do... not rocket science but it works! :))
tshad wrote:
I have an old version of VS 2002 and want to make a copy of my Visual
Studioproject to another project with another name. In VS 2003, you can do
it butthere is no copy project command in VS 2002 (at least I can't seem to findit).

Is there a way to do it?

Thanks,

Tom


--
it's all latin & geek to me! ;-)

Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...b-net/200601/1


Jan 19 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3656
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore my settings if my profile became tampered with or corrupt. Is there any sample code available out there? -Robert
9
1535
by: Raposa Velha | last post by:
Any of you ever catch this bug: I made a form and decided to copy it. Then I modified the cloned form. Then I run it and access start saying "Error accessing file. Network connection may have been lost." Then I tryed to modify an event procedure and I realized that the correspondig code wasn't copyed along with the form! Deleting the form didn't solve the problem and a Compact and Repair Database did everything but reparing it! Actually I'm...
0
1001
by: Daniel Bass | last post by:
I've been working on a asp.net web application, which hooks into a database on a sqlserver server, and want to allow another person to view, and edit the project locally on their machine. What's the easiest way to setup the project on their machine? First, I copyed my InetPub/wwwroot etc etc source files accross to their machine. Then they've created a new project on their machine, so that the IIS stuff is initialised properly, then...
0
1281
by: postings | last post by:
Hi I'm a little confused. I've deployed my ASP.NET project by using the "copy project" feature of VS2003. Works fine. I'm stuck however in copying individual files to the deployed solution. I've tried copying on a file with one instance of VS2003 with a solution, and pasting into another instance of VS2003 with the deployed solution loaded (using the right click method). If I do this I get an
0
1455
by: TB | last post by:
Hi All: This news group is proving to be great help on my path towards mastering ASP.NET thanks to all of you helpful souls out there. I am looking forward to the day when I can contribute with a few ounces of hard-won knowledge as well. Meanwhile I have this (hopefully small) problem. On my local computer where I am developing a web application, I have
5
2355
by: TB | last post by:
Hi All: This news group is proving to be great help on my path towards mastering ASP.NET thanks to all of you helpful souls out there. I am looking forward to the day when I can contribute with a few ounces of hard-won knowledge as well. Meanwhile I have this (hopefully small) problem.
6
2566
by: solex | last post by:
Hello, I am trying to use serialization to copy objects. The object in question "Institution" inherits from a parent object "Party" both are marked as <Serializable()>. Initially I can copy an empty Institution to another empty Institution, using the following routine: Private Sub CopyObject(ByRef FromObject As Object, ByRef ToObject As Object) Dim m As New MemoryStream Dim b As New BinaryFormatter
1
1556
by: Nitin | last post by:
Hi, How do I prevent users from opening and copying files (related to the project like access files, xml etc). Regards, Nitin
4
1452
by: mrmagoo | last post by:
I'm creating a VB.Net project. It's a small utility. However, my boss wants me to put it in with a larger solution that the department uses, so that a suite of tools are all in one place. That's fine, however, I am finding that development is taking longer because, during my unit testing I have to build and run the project a lot. Since there are many other projects in the solution, it's taking quite a long time to build the solution just so...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10090
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9949
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.