Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have our source code located outside Visual Studio project's directory (e.g. project in C:/Project and source code in C:/SourceCode). We need to add our source code to the project as links (because the source code is reused by many other projects). In this situation, is it possible to instruct Visual Studio (2010, 2013) to automatically maintain the directory structure of our source code (exactly as the file system) in Solution Explorer window? Making the structure manually by creating directories in Solution Explorer is time consuming.

Qt Creator does exactly what I want. Hopefully Visual Studio is able to do it the same way.
Posted
Updated 10-Apr-14 1:19am
v2
Comments
onelopez 10-Apr-14 7:36am    
VS does not support this feature as it always tends to copy whatever file you give it to the project folder.
The way to support this feature is to create a hardlink copy of your file and then give that copy to VS. Whenever this file gets updated the actual file will be updated.


If the files you are using are being used by other projects, then I suggest creating a dll for those core projects and then reference them in VS. This will save compiler time as VS will not have to compile the core files every single build. Just a thought.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900