Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
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

1 Answer 1

up vote 0 down vote accepted

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.

http://swsharinginfo.blogspot.in/2012/03/regenerate-designer-file-in-visual.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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