Linker Tools Error LNK1287

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Linker Tools Error LNK1287.

invalid managed entry point function

The entry point is not valid for a managed image. The return type of a managed entry point function can only be void or int. The type of the parameter of a managed entry point function can only be void or String [].

Show: