-
Project copy
ok I have a baseline working project.. now I need to copy it off
and make new versions that attach to new systems.. but I want
to always start with my working base code..
whats the best way to copy the project to a new dir..
I was copying the whole thing.. but seems like its still attached
to the same dir's for the forms and change in my new one affects
the old one... so I assume there must be some clean way to copy
a project and make it .. Alone ? not attached in anyway to
the orig one ?
-
Re: Project copy
Go to the folder your solution and project(s) are in and copy it to a new location. Open the solution from that location. Done. :)
-
Re: Project copy
I didnt think you could do that.. I thought he path of the programs,forms,etc..
still point to the orig location ..
that not true ? Actually I just did this and full path on the
forms etc still point to where the orig is from..not where I copied
it to...
-
Re: Project copy
Well, I'm using VS2005. Seems to work fine and always has, including VBE2005. I haven't tested with VBE2008, but I can't see why that would be any different.
Unless, for some reason, the SLN file is holding full paths, but usually they [the projects] are all relative to the solution file. Try it with a brand new solution, to see if it's an issue with that project or with the files in general.
-
Re: Project copy
Did you open the project by clicking on the .sln file in the NEW folder you copied? Because it has always worked for me, VS 2005, VS 2008, VSE 2008 VB.net and VSE 2008 C#.
-
Re: Project copy
When you create any type of project in VS that isn't a blank or empty project, what you are really doing is creating a project from a predefined template that ships with Visual Studio.
So if you setup a project exactly how you want it to be to create new projects from, then I would just export the current project as a template (from the file menu). A wizard will come up allowing you to set a few options, and then you will have this template in VS any time you go to create a new project you can select this one in addition to any of the built in ones.