ASPNET CORE launch profile runs fine in VS but yields 431 in Rider

Title explains ASPNET CORE launch profile runs fine in VS but yields 431 in Rider. Here is the launch profile that works in VS but yields 431 in Rider.

{
  "profiles": {
    "api": {
      "commandName": "Project",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Dev"
      },
      "applicationUrl": "https://localhost:59624;http://localhost:59625"
    }
  }
}
0
1 comment

What the 431 error is are you mentioned? I tried with the launch settings you pasted but didn't see any unexpected results.

There are also no obvious differences in your settings except the “ASPNETCORE_ENVIORNMENT” usually will use “Development” but not “dev”.

Do you have similar problems with using dotnet run in your project?

Please provide a sample solution that reproduces the problem (upload here and share ID), or create a new support request in IDE (Help | Contact Support).

 

0

Please sign in to leave a comment.