Before trying any solution just try to remove all the error from your aspx or ascx file, as any error on the file will prevent the Visual Studio to create a designer file for you, and it might happen that none of the solution will work for you.Solution 1 : Right Click on you aspx or ascx file and select "Convert to Web Application".As soon as you do this a new .file will be created for you with all the controls in it.Solution 2 : Delete your old .file if you want to update and create a new empty file with the same name, after saving your aspx or ascx file again, the designer class will be regenerated.This fix is now available in the latest beta here: https://github.com/codecadwallader/codemaid/releases/tag/v0.9.0.2-beta If anyone has a chance to test and confirm the fix it would be greatly appreciated.If there are any issues please comment and we'll reopen the issue.Solution 4 : Simply cut all the code of the aspx or ascx file, save it and again paste the original code, save it again. If nothing of the above solution works for you, please let me know.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.
I'm following the steps to reproduce as written (e.g. , so I suspect what is happening is that as requested Code Maid is removing that region and it is interrupting the form designer's workflow causing changes to be lost. The .file itself shouldn't(tm) be touched based on default cleanup exclusions..
I've found that this issue occurs when you trigger the save with the designer window active, but not when you trigger the save with the code window active.
If you simply want to create it, create a new empty file with the same name, after saving your aspx or ascx file again, the designer class will be created for you.
Solution 3 : In your aspx or ascx file change the .