Solved

C# Web Application - Shared Master Page

Posted on 2010-08-23
2
388 Views
Last Modified: 2013-12-17
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
Comment
Question by:SkipFire
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
ID: 33507283
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
 
LVL 4

Author Closing Comment

by:SkipFire
ID: 33619998
Don't like the answer, but not liking an answer doesn't make it less valid.  Thanks.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question