Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio.net Copy Question

Status
Not open for further replies.

DH

Programmer
Dec 8, 2000
168
I have built a site using Visual Studio.net and have published successfully.

I would like to create a new Visual Studio.net project/solution and use all the same files of the original site again.

This way I can re-use the majority of the aspx files, code-behind files, etc of the orignal solution for the new solution that will have a different domain name. Then I only will need to make small modifications to the 2nd solution.

Anys suggestions on how to accomplish this so the solution will build/compile correctly?

Thanks,

DH
 
I haven't tried this but I would copy the entire directory into another directory. Delete the solution file. When you open the project it will ask you to rename or select the solution file.

Hope this points you in the correct direction...

Hope everyone is having a great day!

Thanks - Jennifer
 
Another suggestion:

1 - Create your new VS.NET project
2 - Right-click on the project name in the solution explorer window
3 - Select Add --> Add existing item
4 - Navigate to the previous folder on your hard drive, select all the files you want to add, then click open

This will add all your old files to the new project.

Mark
 
Do you have any Server Controls and/or class libraries? Such files are designed for reuse and are easily portable.
 
Yes for server controls, also, I am using codebehind which is compiled into the .dll file.

I think I am having trouble with the new VS.NET project not recognizing or creating the .dll file correctly that the copied .vb files for the .aspx files reference.

I am still trying to get the new, copied VS.NET project to work correctly????

DH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top