|
-
Jun 15th, 2009, 12:48 PM
#1
Thread Starter
Fanatic Member
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 ?
-
Jun 15th, 2009, 01:27 PM
#2
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.
"Ok, my response to that is pending a Google search" - Bucky Katt.
"There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
"Before you can 'think outside the box' you need to understand where the box is."
-
Jun 15th, 2009, 01:44 PM
#3
Thread Starter
Fanatic Member
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...
-
Jun 15th, 2009, 02:34 PM
#4
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.
"Ok, my response to that is pending a Google search" - Bucky Katt.
"There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
"Before you can 'think outside the box' you need to understand where the box is."
-
Jun 15th, 2009, 02:49 PM
#5
Frenzied Member
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#.
-
Jun 15th, 2009, 02:57 PM
#6
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|