Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete a comment will call System.MissingMethodException in run time..

Status
Not open for further replies.

beeleegie

Programmer
May 15, 2002
42
HK
When I clean up my code, I delete some comment from a class. And then after
I clean up, it build the project properly, but when i run it, it will call a
MissingMethodException in the startup form constructor:

"An unhandled exception of type 'System.MissingMethodException' occurred in
VSNetToolbar.exe

Additional information: Method not found: Void
MdiFormSample.MdiFormHelper._Deleted(System.Windows.Forms.Form)."

Anyone face this before?
 
Are you sure that you did not delete the section generated by the designer? It is just a suggestion, I am not sure that this would make the program behave in the way you described it.
You should check however if you don't have to implement that method.
 
i am sure I haven't delete it. I have fix the problem by just rebuilding the project (build project doesn't work).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top