'If', 'ElseIf', 'Else', 'End If', or 'Const' expected
A source line begins with a #
character, but a valid conditional compilation directive does not immediately follow the #
. Valid directives include #Const
, #ExternalSource
, #If
, #Else
, #ElseIf
, #End If
, and #Region
.
Error ID: BC30248
Make sure the conditional compilation directive is spelled correctly.
Make sure there is no intervening space between the
#
character and the directive.Remove the
#
character or add a valid directive immediately after it.
.NET feedback
.NET is an open source project. Select a link to provide feedback: