Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Copy project files to a new project

Copy project files to a new project

Scheduled Pinned Locked Moved C#
questioncsharptestingbeta-testinghelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 3543810
    wrote on last edited by
    #1

    I am new to C# and have been testing many features in a single project. Now that I have tested and refined what I have done I would like to "copy" the classes, forms and some other information to a new (non cluttered) project. What is the the best way of going about this. Copy the whole project folder to a new project folder and take out the things I don't need?? Thanks for you help.

    N 1 Reply Last reply
    0
    • M Member 3543810

      I am new to C# and have been testing many features in a single project. Now that I have tested and refined what I have done I would like to "copy" the classes, forms and some other information to a new (non cluttered) project. What is the the best way of going about this. Copy the whole project folder to a new project folder and take out the things I don't need?? Thanks for you help.

      N Offline
      N Offline
      Narvius
      wrote on last edited by
      #2

      Visual Studio has an "Add existing..." feature. Create your new project, and right-click the project in the Solution Explorer, select "Add" -> "Existing Item...". Don't manually shift around stuff, *ever*.

      modified on Wednesday, July 1, 2009 3:24 AM

      D 1 Reply Last reply
      0
      • N Narvius

        Visual Studio has an "Add existing..." feature. Create your new project, and right-click the project in the Solution Explorer, select "Add" -> "Existing Item...". Don't manually shift around stuff, *ever*.

        modified on Wednesday, July 1, 2009 3:24 AM

        D Offline
        D Offline
        dojohansen
        wrote on last edited by
        #3

        Narvius wrote:

        Don't manually shift around stuff, *ever*.

        How I wish we didn't have to! Alas, there are times when Visual Studio and Visual SourceSafe conspire to make manual interventions the only option, such as if a project under source control is to be renamed. With luck these issues will simply go away when we eventually move to Team System... While I'm on it bitching about source control, the "web project without a project" is the worst idea I've come across this far. Surely it would be possible to have a project file and still use the dynamic compilation model? Now, if my web app has the audacity to write a log file (or any file really) anywhere under the web site root, Visual Studio very cleverly decided this is a "newly added file" and proceeds to add it to the SourceSafe database if I check in the solution. I wonder who's great idea that was! Oh well. :§

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups