BC30014: '#ElseIf' must be preceded by a matching '#If' or '#ElseIf'
#ElseIf
is a conditional compilation directive. An #ElseIf
clause must be preceded by a matching #If
or #ElseIf
clause.
Error ID: BC30014
To correct this error
Check that a preceding
#If
or#ElseIf
has not been separated from this#ElseIf
by an intervening conditional compilation block or an incorrectly placed#End If
.If the
#ElseIf
is preceded by a#Else
directive, either remove the#Else
or change it to an#ElseIf
.If everything else is in order, add an
#If
directive to the beginning of the conditional compilation block.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for