Hello,
On my local machine I am able to build and run my web application project. When I publish it to the server, I receive the following error:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The file '/MasterPage.master.cs' does not exist.
From my understanding, my application is compiled into a .dll so a reference to a .cs file shouldn't be required. I thought about the fact that the solution is in the WebSiteName folder, but I need to publish it on my server to the WebSiteName/wwwroot/ directory. Is the discrepancy tripping up the embedded relative paths in the .dll? If I add the MasterPage.master.cs file as a lark, I just receive an identical error regarding Default.aspx.cs; it's trying to find the codebehind files and it can't.
The bin directory resides @ WebSiteName/wwwroot/bin ... since I cannot change the requirement to publish to the wwwroot directory on my shared host, is there another way around this?
Some day I'll be able to answer more questions than I ask.