Common Files In Visual Studio Solution
Many times I have seen Visual Studio solutions which have multiple projects that share source files. These common source files are usually out in a common directory and in the solution explorer their icon shows up with a link arrow in the bottom left.
However, any time I try to add a source file to the project that is outside of that project's main directory, it just automatically copies it into the directory so that I no longer have a shared copy.
I found that I can get around this by manually opening the project file in a text editor and modifying the path to something like "../../../Common/Source.cs" but this is more of a hack then I would like.
Is there a setting or something I can change that will allow me to do this from within the IDE?
Right click on a project, select Add->Existing Item->Add as link (press on small arrow on Add button)
- → React Native with visual studio 2015 IDE
- → Where to find example Visual Studio 2015 project(s) using typescript and React?
- → How to configure Visual Studio 2015 to write JSX in ASP.NET 5 (RC) with intellisense
- → How to make this simple TypeScript + React app work with Visual Studio 2015?
- → Format liquid(Shopify) code in visual studio code
- → Typescript intellisense without emitting require
- → How to display shopify free them output on my laptop using visual studio code?
- → Visual Studio Code - how to debug node.js routes?
- → Visual Studio cordova, simple way to "live reload" on Android devices?
- → --allow-live terminal command for shopify development
- → compile typescript with a visual studio code task, specifying the output directory
- → How to highlight all symbol appearances in python code with PTVS?
- → What is the location of the Python tools for Visual Studio?