I just ran into the same issue. I think the error was caused because I had pushed another solution to my site previously and there were leftover files that were somehow getting in the way.
To fix this I checked the box that says "Remove additional files at destination" while publishing through Visual Studio to my Azure site. I would assume you could just manually delete any old files that were on the server before publishing as well. After this the site ran fine with no errors.
I renamed a Namespace by refactoring it and doing that missed this hardcoded string:
Project > Areas > HelpPage > AppStart:
public static class HelpPageConfig
{
[SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters",
MessageId = "<CORRECT NAMESPACE>.Areas.HelpPage.TextSample.#ctor(System.String)",
I have the same issue after renamed the project name. So,
..yes, it works.
I had this same issue and tried multiple proposed solutions from different threads with similar issues and got nowhere.
I finally just checked out a clean copy of the solution from team explorer and that fixed it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With