'Using' statements are not valid in the Immediate window

Using statements can only be used in source code.

Error ID: BC30186

To correct this error

  • Remove the Using statement from the Immediate window.

See Also

Reference

Using Statement (Visual Basic)

Immediate Window

Other Resources

Debugging in Visual Studio