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 Apr 12, 2005 | 04:24 PM
  #1  
Fatman's Avatar
Fatman
Thread Starter
Scooby Regular
 
Joined: Aug 2002
Posts: 2,390
Likes: 0
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.
Reply
Old Apr 13, 2005 | 09:38 AM
  #2  
Sub97's Avatar
Sub97
Scooby Regular
 
Joined: Oct 2002
Posts: 809
Likes: 0
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?
Reply
Old Apr 13, 2005 | 03:59 PM
  #3  
Fatman's Avatar
Fatman
Thread Starter
Scooby Regular
 
Joined: Aug 2002
Posts: 2,390
Likes: 0
Default

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




All times are GMT +1. The time now is 01:44 AM.