Visual Studio 19 where is ServerReadyAction

osion 96 Reputation points
2021-08-14T16:28:26.657+00:00

Hello

I am watching a learning video about Microservice with C#. My problem is that the video is with Visual Studio Code but I am using Visual Studio 19.

123238-unbenannt.jpg

In Visual Studio Code its a file launch.json and task.json.
Example: I have to change the variable serverReadyAction. How can I do this?

Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. osion 96 Reputation points
    2021-08-14T23:07:33.177+00:00

    Visual Studio 19 is a pain in the ass. I love to use Intellji (like Android Studio or Pycharm etc.).

    My solution: https://stackoverflow.com/questions/716494/stop-visual-studio-from-launching-a-new-browser-window-when-starting-debug#716757

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Lex Li 6,037 Reputation points Microsoft Employee
    2021-08-14T21:41:28.813+00:00

    Visual Studio does not use launch.json but launchSettings.json to configure how the web browser should be opened,

    https://github.com/dotnet/aspnetcore/issues/22051

    The mechanism is so different that you don't get the same experience after changing the port number.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.