Hi!
I have a problem with publishing my solution. I use “Use fixed naming and single page assemblies” to publish. So I just can update one and one file, this works fine, but today I had to update my master.page
My master page is called “FrontPageMaster.master”. I have only changed some html in the master page and not done anything with the master.cs
When I’m in the bin folder and update the file:
App_Web_frontpagemaster.master.cdcab7d2.dll
I get a question to overwrite, and I click yes.
But when I run the site I get the error:
Server Error in '/' Application.
The file '/FrontPageMaster.master' does not exist.
Exception Details: System.Web.HttpException: The file '/FrontPageMaster.master' does not exist. Stack Trace: [HttpException (0x80004005): The file '/FrontPageMaster.master' does not exist.] System.Web.UI.Util.CheckVirtualFileExists(VirtualP ath virtualPath) +3480779 System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +109 System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93 System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +60 System.Web.UI.MasterPage.CreateMaster(TemplateCont rol owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +103 System.Web.UI.Page.get_Master() +48 System.Web.UI.Page.ApplyMasterPage() +18
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
When I switch back to the old dll, it works fine again.
The top of the masterpage file is the same as before:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="FrontPageMaster.master.cs" Inherits="FrontPageMaster" %>
Does anyone have a suggestion to how to update the masterpage gui file(.master) when the site is published with ““Use fixed naming and single page assemblies” or see what I’m doing wrong? What is the “FrontPageMaster.master” page compiled under since I can’t see it?
Thanks for help :)