Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

441
Views
dotnet watch ignora el número de puerto launchsettings.json después de actualizar a .NET 6
  1. Cuando ejecuto mi aplicación ASP.NET Core (Blazor Server) usando Visual Studio, escucha en el puerto 5003,
  2. cuando se usa dotnet watch --project app\App.csproj run , escucha en un puerto diferente: ¡5001!

Aquí está mi launchSettings.json

 "App": { "commandName": "Project", "dotnetRunMessages": "true", "launchBrowser": true, "applicationUrl": "https://localhost:5003;http://localhost:5002", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", "LocalUrl": "https://localhost:5003" } }

¿Por qué la ejecución de dotnet comienza en un puerto diferente y cómo hacer que se ejecute en 5003?


Información adicional:

La aplicación se creó en .NET 5 y el problema ocurrió después de actualizar el SDK y PackageReferences .NET 6,

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Es un error conocido en .NET 6, consulte:

  • https://github.com/dotnet/aspnetcore/issues/38397
  • https://github.com/dotnet/aspnetcore/issues/38408
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!