Expand Minimize

No accessible 'Main' method with an appropriate signature was found in '<name>'

Command-line applications must have a Sub Main defined. Main must be declared as Public Shared if it is defined in a class, or as Public if defined in a module.

For more information on Main, see Visual Basic Version of Hello, World.

Error ID: BC30737

To correct this error

  • Define a Public Sub Main procedure for your project. Declare it as Shared if and only if you define it inside a class.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft