clone asp.net project

C

clintonG

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/
 
G

G Dean Blake

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.mydataset". Replace them all
with "NewProject.mydataset"

Thats it. (no candy necessary)
Dean Blakely
www.deanblakely.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top