I am having an issue publishing an mvc web project. There was an old version of the site from months ago, but the application has since changed significantly.
I am getting an error like the following CS0246: The type or namespace name 'MvcSiteMapProvider' could not be found (are you missing a using directive or an assembly reference?)
This code is not anywhere in the application. The code runs perfect locally. The error is triggered by a temp file for the views. Source File: D:\local\Temporary ASP.NET Files\root\447331cc\dd5a3321\App_Web_index.cshtml.a8d08dba.hasupjvq.0.cs Line: 28
I can't get the new view to overwrite the file. I have never had this issue in deploying well over 100 applications to Azure.
I've tried adding a custom tempdirectory to the web app, but it's still generating the error / invalid source code. I've also tried to enable precompile views on publish. This is still not helping.
I am at a loss, and we have to use that web app, as the cms licensing is bound to the domain. Has anyone had this issue?