3

Is there an equivalent of VS's Start Without Debugging in Rider? I know I can "Run" vs. "Debug", but that starts a new instance of IISExpress each time and stops it when I hit "Stop". I want the site to be up and running and allow me to change code and rebuild, then refresh the site, all without having to Run/Stop again. I depend on this behavior in VS. Can Rider do the same thing?

user1380769
  • 277
  • 1
  • 4
  • 16

1 Answers1

0

Same Ctrl+F5 key combination works for me in Rider as it used to in VS.

However, I believe what you want is to add a watch build configuration. To do this, edit your Properties\launchSettings.json and add a watch profile similar to this one

  "profiles": {
    "my webapp": { ... }
    },
    "my webapp Watch": {
        "commandName": "Executable",
        "executablePath": "dotnet",
        "workingDirectory": "$(ProjectDir)",
        "commandLineArgs": "watch run --local-kestrel=1",
        "environmentVariables": {
            "ASPNETCORE_ENVIRONMENT": "Development"
        }
    }
  }

after that, select that new profile in the configuration dropdown and hit Ctrl+F5 to run it without debugger attached.

Pang
  • 9,564
  • 146
  • 81
  • 122
Andrey Stukalin
  • 5,328
  • 2
  • 31
  • 50