Master project file

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
 
G

Guest

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
 
M

Mark Wilden

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top