I'm writing a custom list form in VS2010, but I can't get the .designer.cs file to regenerate to properly reference the controls in the aspx file. I've tried deleting the designer file, but the "Convert to Web Application" button that I'd usually use to regenerate the designer file isn't there. I could manually write out the designer file, but I think that would stop it from auto-updating with further changes. The file is under Source Control, if that makes a difference.

Any ideas?

  • are you following any tutorial ? – Muhammad Raja Apr 25 '12 at 8:37
  • @TimeToThine I was roughly following this one to start off with, but I abandoned it as soon as I'd got a basic form displaying. – Mourndark Apr 25 '12 at 8:41

Missing/Incomplete designer file causes Visual studio (VS) to fail the build. First of all try to switch between designer and source view, it sometimes solve the problem. If it didn't work for you, try solution on this post.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.