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. Sharing code located in TFS

Sharing code located in TFS

Scheduled Pinned Locked Moved Visual Studio
winformsquestionannouncement
3 Posts 2 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.
  • C Offline
    C Offline
    Christian Wikander
    wrote on last edited by
    #1

    Hi, We have a Windows Forms project located in TFS source control. We want to release parts of the code as a Class Library. This should be done in the easiest possible way. In VSS we had the possibility to share source files. This is the exact behaviour that I want, but it's not neccessary to be able to edit the shared files in the dll project. I've tried to use branching in the TFS. It seems to work but falls short on the simple part. As I see it, I need to banch the whole project if I want simple merging. If I branch file by file I seem to have to merge file by file as well, which seems a bit bad considering the size of the project. Any suggestions? BR Christian

    M 1 Reply Last reply
    0
    • C Christian Wikander

      Hi, We have a Windows Forms project located in TFS source control. We want to release parts of the code as a Class Library. This should be done in the easiest possible way. In VSS we had the possibility to share source files. This is the exact behaviour that I want, but it's not neccessary to be able to edit the shared files in the dll project. I've tried to use branching in the TFS. It seems to work but falls short on the simple part. As I see it, I need to banch the whole project if I want simple merging. If I branch file by file I seem to have to merge file by file as well, which seems a bit bad considering the size of the project. Any suggestions? BR Christian

      M Offline
      M Offline
      Meg W
      wrote on last edited by
      #2

      If your code is contained in a project, or even just a folder, you can just branch that. Merging works pretty well for that.

      C 1 Reply Last reply
      0
      • M Meg W

        If your code is contained in a project, or even just a folder, you can just branch that. Merging works pretty well for that.

        C Offline
        C Offline
        Christian Wikander
        wrote on last edited by
        #3

        I have tried that, but since I want to share part of another project it seems like I must either branch the whole project or merge the files one by one when I want to update the second project. It seems to me like there must be a better way.

        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