Search Unity

VS2010 Linked Files

Discussion in 'Code Editors & IDEs' started by alexfeature, Apr 13, 2012.

  1. alexfeature

    alexfeature

    Joined:
    Apr 1, 2010
    Posts:
    132
    Hi Guys,

    I have a number of source controlled projects (svn) which I would like to use with my current Unity project. One convenient way of going about this is simply linking the files from those projects using Add Existing Item > Add as Link under the VS Solution context menu.

    However it seems that when Unity builds the code it ignores all linked files.

    I feel like I'm forgetting or missing something here :) If anyone knows what I'm doing wrong I would really appreciate a shove in the right direction.
     
  2. karljj1

    karljj1

    Joined:
    Feb 17, 2011
    Posts:
    440
    Any changes to the settings you make in the visual studio project will be ignored, the project is generated just for you to edit. It does not use it when it compiles. If you want to add dll's you need to drag them into Unity like an asset.