"Cloning" a project

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been using VS-C# Express for a little bit, and I have a project that I
want to "clone" so that I can make changes without affecting the original
version. I would like to be able to make a new project, but keep the code &
whatever else is necessary from the old project. When I tried this, I got a
whole bunch of errors about not being able to find files & resources.
Is there a simple way to do this? I am VERY much a noob, and am not terribly
familiar with much of the terminology used on this forum, so please go easy
on me!
 
Dave,
You should just be able to copy the folder the project is in and paste
it back into the same folder you copied it from - the 'new' version
will be called 'copy of ...'.
Then you should be able to go into your copy folder and open the 'new'
solution.

HTH,
James.
 
Dave,
You should just be able to copy the folder the project is in and paste
it back into the same folder you copied it from - the 'new' version
will be called 'copy of ...'.
Then you should be able to go into your copy folder and open the 'new'
solution.

HTH,
James.
 
James,
I've tried that, and I get a bunch of error messages that seem to indicate
that the editor/compiler is looking for files in the "old" folder. I have
tried to go back and replace the references in my .cs files with the new
folder name, but it seems that there are data "hidden" that cause the errors.
I had hoped that there was some way of saving a project with a new name that
would "clean up" these references, but it looks like that's not the case.
I'll keep trying & see what happens.
Thanks for the reply!
 
You should just be able to copy the folder the project is in and paste
it back into the same folder you copied it from - the 'new' version
will be called 'copy of ...'.
Then you should be able to go into your copy folder and open the 'new'
solution.

How about being able to move the copied solution from one place to
another? I am sure that is something that almost everyone would need
to do at some time or another.
 
Don't know if this will solve any problems for you, but note that both
the solution file as well as the project userfile contain some paths.
You can either delete these files and create them from scratch, or hack
them with a text editor.

In any case, the 'cloning' thing can be done.
 
I think that is the way I'll have to go. I can't see any other way to do it.
Thanks,
Dave T.
 

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

Back
Top