clone asp.net project

  • Thread starter Thread starter Tina
  • Start date Start date
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/
 
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
 
Back
Top