Results 1 to 6 of 6

Thread: Project copy

  1. #1

    Thread Starter
    Fanatic Member kevin_sauerwald's Avatar
    Join Date
    Feb 2002
    Location
    outside Philly
    Posts
    516

    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 ?

  2. #2
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    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."

  3. #3

    Thread Starter
    Fanatic Member kevin_sauerwald's Avatar
    Join Date
    Feb 2002
    Location
    outside Philly
    Posts
    516

    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...

  4. #4
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    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."

  5. #5
    Frenzied Member CoachBarker's Avatar
    Join Date
    Aug 2007
    Location
    Central NY State
    Posts
    1,121

    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#.
    Thanks
    CoachBarker

    Code Bank Contribution
    Login/Manage Users/Navigate Records
    VB.Net | C#

    Helpful Links: VB.net Tutorial | C Sharp Tutorial | SQL Basics

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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
  •  



Click Here to Expand Forum to Full Width