PDA

Click to See Complete Forum and Search --> : [RESOLVED] Warning after deleting a form


Muddy
Aug 1st, 2006, 02:20 PM
I removed a form from my C# project and now get the following warning:

Warning 1 The file 'C:\blahblah\frmGrid.cs' does not support code parsing or generation because it is not contained within a project that supports code.

Am I supposed to manually delete the file from disc also? why am i getting this warning?

Thanks for any help!

Harsh Gupta
Aug 1st, 2006, 05:36 PM
were you calling/or using a reference to form2 from/in the calling form, form1?? if so, recheck if you have deleted the code, declaration related to form2.

Muddy
Aug 1st, 2006, 05:59 PM
thanks for the reply!

couldnt find a ref to frmGrid or form2 anywhere. Interestingly enough there was a frmGrid tab open in the IDE even though the file was removed. I clicked that tab (which contained some sort of error message) and closed it. After exiting the project and restarting it the warning went away.