473,806 Members | 2,895 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Master project file

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
Oct 12 '06 #1
2 1360
MMA
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/is...CodeTemplates/

Hope this helps.

Thanks

"Bill O'Neill" wrote:
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
Oct 12 '06 #2
"Bill O'Neill" <bi***@cu.netwr ote in message
news:O2******** ******@TK2MSFTN GP03.phx.gbl...
>
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
Oct 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1902
by: Steven K | last post by:
Hello, Is there a way to declare imports so that they don't have to be declared both in Master Page.vb and the Content Page.vb? For example, I have the following in the Master Page.vb Imports System Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Data
3
1072
by: Irfan | last post by:
hi, All I am working on a CAD related project using VB.net and MSAccess. It has a 'master.mdb' which populates a datagrid whenever a user opens a NEW project. what i want is that when a user modifes the datagrid the changes should NOT be updated in the master.mdb instead a new 'project.mdb' should be created. ie; each project should have its own mdb file. Now, i dont know which approach should i take ie; shall i create a copy of
1
2685
by: Bob | last post by:
In ASP.NET 1.1, I had a class library with a bunch of base classes for all my projects. One of the base class is a base page class. In .NET 2.0, how can I compile a master page into a separate DLL? If I select class library project type in VS 2005, it doesn't compile the code in the master page code front file correctly. If I create a web project, it doesn't result in a single DLL like before. How can I get around this issue? The...
8
2395
by: otto | last post by:
Hi, all: I have a problem with the inclusion of .js files in mu .aspx pages when using Master Pages. I try to explain it. If I make a web project without master pages I simply put in the head tag on each page the reference to the ..js file I want to use. Because I want client side includes I make the reference with <script> tag, for example: <head runat=server> <script src="/javascript/test.js" /> </head>
13
6237
by: Michael | last post by:
I have setup a public variable in the Master Page "code-behind-file". Now I would like to set that value from the UserControl, but I can't seem to find a way to do this. Does anyone have any ideas? I'm basically trying to set it up so that I can keep the User infor (userid, ect) in the Masterpage so that other pages can access it. Thanks for any ideas. Michael
9
3935
by: Andy | last post by:
Hey all, I'm building out my first project using asp.net v2.0 master pages. It seems that when you use master pages and try to reference document.body.scrollTop it allways = zero/0. The same code works in a regular .htm file. Has anyone else seen this? Anyone know how to get the body.scrollTop property using masterpages. Thanks for any help Andy
2
6901
by: Alec MacLean | last post by:
Hi I've just recently upgraded to VS2005 and started using/learning about the Master Pages. I'd like to know if it is possible to have separate web app projects use the master page(s) from their "parent" site. E.g.: Main site at http://localhost/mainsite/
8
6703
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet and also my first true attempt at using master pages. I tried setting up a style sheet with a simple setting to float an image to the right and it had no effect on the image. Then, I tried putting the style code in my ASPX file as such,
0
2122
by: james.mcdonagh | last post by:
Hi I am a newbie using nAnt for .net 2.0. As such I have not come across this bug before, and I would be happy of any help that you may be able to provide. In order to help I have included the nant file which is causing the problem, the object code that is not being built and the error message which is being produced. The weird thing is that VS.net builds without a problem. And the intellisense within the object WorkQueue knows that...
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10620
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10369
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.