2

Before I upgraded to VS 2019 (99% sure that's the only thing that changed) my ASP.net Core app ran in it's own console window. Now, it only outputs to the output window of VS.

How can I make my app open it's own window once again?

enter image description here

5
  • 1
    Are you debugging the application directly or running it in IIS Express? Commented May 28, 2019 at 14:57
  • 1
    This has nothing to do with VS. The logging output is controlled by the application's logging configuration in Startup, how the application is executed (eg in-process has no console to begin with) and the ASP.NET Core version itself (older versions didn't have in-place execution) Commented May 28, 2019 at 14:59
  • I added my debug options... I've tried the different Launch options.. Commented May 28, 2019 at 15:10
  • IIS Express will not launch the application in a console window. If you choose to run it outside of IIS Express (select your project name instead of IIS Express in the Start Debugging dropdown menu) it should run directly in a console window. Commented May 28, 2019 at 15:19
  • Do you mean the Profile dropdown? I've changed the profile, and the launch dropdown both to the project. No change. Commented May 28, 2019 at 15:30

1 Answer 1

8

As @Valuator said, inside your dropdown menu which you can switch to use your project name as debugger Emulator. Start debugging a default console will pop up.

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

This has bugged me for more than a year. Thank you so much! Works like a charm - Console window pops up as expected. I've lost countless hours to this trying to adjust logging / Serilog / env variables - you name it. Wish I could add more votes!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.