Skip to main content

No warning or error when calling a Console Application

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

A legacy code is added to a solution, and it is set as "Console Application" for the output type. The solution gets rebuild successfully, but a class is unable to call the "console" application. There is neither a warning or error.

Resolution:

When a program's output type is set as "Console Application," it will be built as an EXE. In other words, it cannot be called. The output type should then be set as "Class Library", so it can be built as a DLL.

Old KB# 5284

0 replies

Be the first to reply!