Master project file

  • Thread starter Thread starter Bill O'Neill
  • Start date Start date
B

Bill O'Neill

Sorry if this is the wrong group.

We have many C# project files at my company. I would like to force certain
settings across all project files. For example, enable the documentation
build. There are other examples.

Is there any way to create a "master" project file that all other project
files reference? Kind of like project file inheritance. :)

It becomes rather troublesome to manage 100+ project files.

Thank you,
Bill
 
Hi,
sound like you may want to start by investigating on adding custom templates
to your VS template libaries. Within this custom template you will be able to
add custom settings, forms, etc.... which you might be able configure to pull
from a centralized local that an administrator may control. However in
regards to your existing projects built with an older version of your custom
template, I am not too sure.

Here's a link to building and adding custom templates to VS 2005

http://msdn.microsoft.com/msdnmag/issues/06/01/CodeTemplates/

Hope this helps.

Thanks
 
Bill O'Neill said:
Is there any way to create a "master" project file that all other project
files reference? Kind of like project file inheritance. :)

I don't know if there is or not (I tend to think not), but I will say that
because project files are XML, it would be straightforward to write a
utility that would apply common settings to all projects in a solution.

///ark
 
Back
Top