Results 1 to 3 of 3

Thread: [RESOLVED] Warning after deleting a form

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    Resolved [RESOLVED] Warning after deleting a form

    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!
    Last edited by Muddy; Aug 1st, 2006 at 05:59 PM. Reason: resolved

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Warning after deleting a form

    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.
    Show Appreciation. Rate Posts.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    Re: Warning after deleting a form

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width