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. Visual Studio
  4. How to get rid of VS2005 unwanted automatical copy of source files to project directory?

How to get rid of VS2005 unwanted automatical copy of source files to project directory?

Scheduled Pinned Locked Moved Visual Studio
visual-studiotutorialquestion
2 Posts 1 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
    Metal76
    wrote on last edited by
    #1

    I'm using VS2005 and I've noticed a strange behaviour. I have a folder SampleProgram containing a VS project (SampleProgram.csproj) and several source files. Moreover, I have another folder (let's call it FolderA) containing other source files. If I add the files inside FolderA to SampleProgram project, VS automatically copies the source files from FolderA to SampleProgram folder. Afterwards, the project works with the locally copied files, so that any modification is not propagated to FolderA. Is there any way to disable this behaviour? I'd like to directly reference the files in FolderA instead of working on local copies! Thanks in advance and best regards, Andrea

    M 1 Reply Last reply
    0
    • M Metal76

      I'm using VS2005 and I've noticed a strange behaviour. I have a folder SampleProgram containing a VS project (SampleProgram.csproj) and several source files. Moreover, I have another folder (let's call it FolderA) containing other source files. If I add the files inside FolderA to SampleProgram project, VS automatically copies the source files from FolderA to SampleProgram folder. Afterwards, the project works with the locally copied files, so that any modification is not propagated to FolderA. Is there any way to disable this behaviour? I'd like to directly reference the files in FolderA instead of working on local copies! Thanks in advance and best regards, Andrea

      M Offline
      M Offline
      Metal76
      wrote on last edited by
      #2

      Already found the answer by myself: in the "Add existing..." dialog, it is possible to add a class as a link instead of copying the file Regards

      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