473,799 Members | 3,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

clone asp.net project

what is the easiest way to clone an vs.net aspx project under another name?
thanks,
T
Nov 19 '05 #1
2 1606
Copy and Paste.
Rename the directory the application was in.
Edit the .sln file path.
Use MMC to reconfigure the new directory as a virtual application.
Double-Click the .sln file to load into VSN.
Edit filenames, namespaces, and class names one at a time running the app
after each type of change to make sure you haven't missed anything.
Send me a box of candy.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee. com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Tina" <ti**********@r emovespamexcite .com> wrote in message
news:ul******** ******@TK2MSFTN GP10.phx.gbl...
what is the easiest way to clone an vs.net aspx project under another
name?
thanks,
T

Nov 19 '05 #2
Say your old Project was named OldProject and you want to name your new one
NewProject
I will assume you also want to clone a SQL Server DB.
Make a new database in EM named NewProjectDB
Export all of the tables from OldProjectDB to NewProjecDB... now you have a
clone Db.

Create a new VS Aspx project named New Project.
Add New Items: All of the ASPX Pages from the old Project.
Add New Items: All of the VB Projects frome the old Project
Add New Iems: All of the datasets from the Old Project
Alter the start page of the new project to the same start page.

Now you need to open each dataset in the new project, right click, select
Create Dataset. This will create a new dataset.vb file.

Now If you compile your new project you will get all sorts of errors where
the generated code is referencing "OldProject.myd ataset". Replace them all
with "NewProject.myd ataset"

Thats it. (no candy necessary)
Dean Blakely
www.deanblakely.com
"Tina" <ti**********@r emovespamexcite .com> wrote in message
news:ul******** ******@TK2MSFTN GP10.phx.gbl...
what is the easiest way to clone an vs.net aspx project under another
name?
thanks,
T

Nov 19 '05 #3

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

Similar topics

0
2672
by: Jason Evans | last post by:
Hi All, I am writing my own implementation of queue via a linked list, note not a LinkedList, and was running into trouble with the clone method. I was wondering if anyone could point out some not so obvious errors I have made.. Cheers
2
1719
by: Felix | last post by:
Is it possible to clone a datagrid? I've created a datagrid on my aspx page, editing various attributes, adding columns, etc. I would like to, in code, create an arbitrary number of these datagrids. Any ideas? I thought that perhaps I should createa a separate "web user control". I added my datagrid to this control, I compiled, then I dragged the control to my aspx page. The control did not render in the designer.
6
2151
by: Steve | last post by:
I can't find a straight answer on what to use? I need a deep copy, so I implemented IConeable and the Clone() method. However, I'm not sure I did it correct. Is it suposed to be an allocation of a new object, then the assignment of each member? Is that all or is there something else I need to do? Here is my code <code> public Object Clone() {
4
4325
by: Brian Keating | last post by:
Hi there, Consider this from MSDN *Notes to Inheritors When you derive from DataGridViewCheckBoxCell and add new properties to the derived class, be sure to override the Clone method to copy the new properties during cloning operations. You should also call the base class's Clone method so that the properties of the base class are copied to the new cell. * How should I do this? a)
1
1156
by: VB Programmer | last post by:
What is the best way to clone a project to a BRAND NEW PROJECT on my dev machine? Copy Project doesn't seem to work well. Example: I have a ShoppingCart template VS.NET solution. I want to make a totally new, separate solution called ShoppingCart2. Any ideas? Thanks.
1
3822
by: Alex D. | last post by:
hi guys. I need to clone multiple times an object and I am succesfully cloning using the regular serialization process, using a MemoryStream. My problem is that after cloning the object more that 7 or 10 times then my computer's memory gets flooded and every time I call the Clone() method the processor resources gets consumed 100% for like 30 seconds. And this problem increases as the amount of clones are created increases. I read some...
16
2519
by: Hamed | last post by:
Hello I am developing a utility to be reused in other programs. It I have an object of type Control (a TextBox, ComboBox, etc.) that other programmers use it in applications. they may set some of properties or assign event handlers. I need to be able to clone the manipulated control at runtime. I could use the Clone method of some objects (like Font, Style, String,
14
8644
by: Hamed | last post by:
Hello It seems that I should implement ICloneable to implement my own clone object. the critical point for me is to make a control object based on another control object that all of its event handlers are set like the old one. Is there a way to do this job? For example, is there a way to use EventInfo object to get all event handlers of the old control in runtime and set my new cloned control events to the event handlers of the old...
7
2846
by: =?Utf-8?B?Sm9lbCBNZXJr?= | last post by:
I have created a custom class with both value type members and reference type members. I then have another custom class which inherits from a generic list of my first class. This custom listneeds to support cloning: Public Class RefClass Public tcp As TcpClient Public name As String End Class Public Class RefClassList Inherits List(Of RefClass) Implements ICloneable
0
9687
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...
0
10488
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10237
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
5467
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
5588
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4144
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
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.