Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Cloning a VS.NET project

Thread Tools
 
Search this Thread
 
Old 12 April 2005, 04:24 PM
  #1  
Fatman
Scooby Regular
Thread Starter
 
Fatman's Avatar
 
Join Date: Aug 2002
Posts: 2,390
Likes: 0
Received 0 Likes on 0 Posts
Default Cloning a VS.NET project

I've copied all the project files (.aspx's, aspx.vb's, etc) to a new folder and have changed the classname near the top of each .aspx file. Problem is that silly-looking errors are coming up whereby VS isn't recognising things like "Chr(something)" (in that case it's claiming "Name 'Chr' isn't declared"). It's as if something fundamental isn't being inherited. I've also had to make declarations like System.Web.Mail.MailMessage instead of Mail.Mailmessage. What's the most obvious solution to that?

Or, if this isn't the most logical way of cloning a project, what is? The context is that I'm making a Development version of my ASP.NET web app so I can code without touching the live version.
Old 13 April 2005, 09:38 AM
  #2  
Sub97
Scooby Regular
 
Sub97's Avatar
 
Join Date: Oct 2002
Posts: 809
Likes: 0
Received 0 Likes on 0 Posts
Default

Why dont you just load the original project up in Visual Studio, then save it again to a different folder - and all the files within it?
Old 13 April 2005, 03:59 PM
  #3  
Fatman
Scooby Regular
Thread Starter
 
Fatman's Avatar
 
Join Date: Aug 2002
Posts: 2,390
Likes: 0
Received 0 Likes on 0 Posts
Default

Sorted! VS has a handy command on the Project menu; "Copy Project" seems to do the trick!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Phil3822
General Technical
0
30 September 2015 06:29 PM
narelle
Wanted
2
26 September 2015 12:41 PM



Quick Reply: Cloning a VS.NET project



All times are GMT +1. The time now is 08:40 AM.