I built a deployable master page into a dll and referenced it in multiple ASP.NET Web Applications using a virtual path provider. The problem I'm having is that this really confuses the source view of my aspx pages.
Here is the code inside each of my aspx.cs pages which actually attatches the MasterPage to each content page, but as I said, now, my <asp:Content>
tags get really confused and I cant CTRL K + CTRL + D my content pages anymore, it throws validation errors on EVERYTHING. HELP!
protected override void OnPreInit(EventArgs e)
{
MasterPageFile = MasterPageVirtualPathProvider.MasterPageFileLocation;
base.OnPreInit(e);
}