Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 394
  • Last Modified:

C# Web Application - Shared Master Page

We have a company intranet project and we want to have sub-projects off of that so that we can deploy sub-projects independently.  The problem we have is that we want to have the sub-projects use the master page from the parent project.  We included a reference to the main project and so the types resolve correctly, but when we try to run we get errors that the master file cannot be found.  How do we set things up so that we do not have to include a copy of the master page in every project?  We don't want to have to update 1001 master files every time we modify the design of the root master.  We also have the same problem with user controls, however I am confident that whatever works to solve it for master pages will work for the controls as well.
0
SkipFire
Asked:
SkipFire
1 Solution
 
chapmanjwCommented:
Unfortunately the .master page must be inside the individual web applications for them to run and compile correctly.  You could, however, centralize the CSS files, the images, and snippets of code in Server Side Includes.  
0
 
SkipFireAuthor Commented:
Don't like the answer, but not liking an answer doesn't make it less valid.  Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now