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 NIB: 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.