问题
After upgrading to Visual Studio 2013, I receive the following warning when I edit the markup of an ASPX or ASCX file, and the designer file does not update with the change. I have ReSharper 8.1 installed. I have tried cleaning the solution, restarting Visual Studio, clearing the Resharper cache, and restarting my computer without any luck.
回答1:
A colleague of mine ran into the same issue, he was able to resolve this but simply suspending resharper and enabling it again.
回答2:
over here we fixed it by deleting the suo files from the salution, after that the designer got got rebuild just as normal, on each build
来源:https://stackoverflow.com/questions/21319637/generation-of-the-designer-file-for-xxxxx-failed-error-hresult-e-fail-has-been