Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic is similar to BCP057, it occurs when the referenced name doesn't exist, likely due to a typo. The compiler identifies and suggests a similarly named symbol.
The name <name> doesn't exist in the current context. Did you mean <name>?
Warning / Error
Fix the typo.
The following example raises the diagnostic because substirng
looks like a typo.
var prefix = substirng('1234567890', 0, 11)
You can fix the diagnostic by using substring
instead:
var prefix = substring('1234567890', 0, 11)
For more information about Bicep diagnostics, see Bicep core diagnostics.