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. link a file from other solution

link a file from other solution

Scheduled Pinned Locked Moved C#
testingquestion
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.
  • R Offline
    R Offline
    Ronenb
    wrote on last edited by
    #1

    Hi I would like to create unit test for one of my component In order to do it I need to link a file from my main project.sln to unittest.sln How can I link a file from other solution without create the same file again in the unit test.sln I try to USE ‘Add existing item’ option but it create copy of the file in the unit test solution and I wish to use link, have only one file with two instances in two different solutions Thanks Ronen

    L 1 Reply Last reply
    0
    • R Ronenb

      Hi I would like to create unit test for one of my component In order to do it I need to link a file from my main project.sln to unittest.sln How can I link a file from other solution without create the same file again in the unit test.sln I try to USE ‘Add existing item’ option but it create copy of the file in the unit test solution and I wish to use link, have only one file with two instances in two different solutions Thanks Ronen

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Ronenb wrote:

      How can I link a file from other solution without create the same file again in the unit test.sln

      You can use "Add existing item". In the file open dialog click on the file and then on the arrow right to the "Add" button. You can then select "Add as link". regards

      R 1 Reply Last reply
      0
      • L Lost User

        Ronenb wrote:

        How can I link a file from other solution without create the same file again in the unit test.sln

        You can use "Add existing item". In the file open dialog click on the file and then on the arrow right to the "Add" button. You can then select "Add as link". regards

        R Offline
        R Offline
        Ronenb
        wrote on last edited by
        #3

        got it thanks man Ronen

        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