Constant '<constantname>' cannot depend on its own value
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Constant '<constantname>' cannot depend on its own value 

You created a circular dependency in your code, where a constant depends on its own value. For example, Const a = Const b; Const b = Const a.

Error ID: BC30500

To correct this error

  • Check your code to see where the constant is being evaluated, and modify it accordingly.

See Also

Show:
© 2016 Microsoft