Documenting has never been so easy

Helixoft Blog

Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation

"How can I share one source code file across several projects? I want to have this file on one place only and use it in multiple projects so when I modify it in one project, the changes get automatically reflected in all projects. When I add existing file to the project, a local copy is always created and used." This is the question that I answered many many times on various newsgroups. The answer is very simple:

  1. Go to menu Project - Add Existing Item...
  2. Select desired file and from drop-down menu on Open button (little triangle on the right side) select Link File.

    Link Shared File to VS project

    In VS 2005 this button is called Add and it has Add As Link option.

    Add shared file in VS 2005

This will only link existing file and will not create any local copy. It seems that Microsoft should change the way how to do it because so many VS users have this problem.

 

Start generating your .NET documentation now!

DOWNLOAD

Free, fully functional trial

Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Quantcast
Accept
Decline