Warning "not contained within a project that supports code"

Discussion in 'Microsoft C# .NET' started by Peter Morris, Oct 16, 2008.

  1. Peter Morris

    Peter Morris Guest

    When I compile a WinForm app I get the following warning:

    The file
    does not support code parsing or generation because it is not contained
    within a project that supports code.

    I am a bit confused by this. It's a UserControl within a WinForm app. In
    what way is this a project that does not support code?

    Peter Morris, Oct 16, 2008
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page