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

1.2K
Views
¿Cómo genero archivos deps.json y runtimeconfig.json en Blazor?

Estoy tratando de seguir el tutorial de Blazor que se encuentra aquí . Realicé la restauración de dotnet en toda la solución y pude ejecutar con éxito el proyecto BlazingPizza.Server, pero cuando intento ejecutar BlazingPizza.Client usando dotnet watch run, aparece el siguiente error:

 watch : Started Cannot use file stream for [/Users/user/projects/blazor/blazor-workshop/save-points/00-get-started/BlazingPizza.Client/bin/Debug/net5.0/BlazingPizza.Client.deps.json]: No such file or directory A fatal error was encountered. The library 'libhostpolicy.dylib' required to execute the application was not found in '/Users/user/projects/blazor/blazor-workshop/save-points/00-get-started/BlazingPizza.Client/bin/Debug/net5.0/'. Failed to run as a self-contained app. - The application was run as a self-contained app because '/Users/user/projects/blazor/blazor-workshop/save-points/00-get-started/BlazingPizza.Client/bin/Debug/net5.0/BlazingPizza.Client.runtimeconfig.json' was not found. - If this should be a framework-dependent app, add the '/Users/user/projects/blazor/blazor-workshop/save-points/00-get-started/BlazingPizza.Client/bin/Debug/net5.0/BlazingPizza.Client.runtimeconfig.json' file and specify the appropriate framework. watch : Exited with error code 131 watch : Waiting for a file to change before restarting dotnet...

Tengo descargada la versión más reciente del SDK de .NET (5.0.302) y, según los mensajes de error, parece que me faltan algunos archivos específicos de .NET, pero no estoy seguro de cómo agregarlos. ¿Son estos archivos específicos de la biblioteca que debo usar dotnet add para incluir? Simplemente confundido porque el tutorial no mencionó la necesidad de hacer nada fuera de la restauración de dotnet

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Básicamente, no entendía bien cómo se ejecutan las aplicaciones de Blazor. No necesita ejecutar cada parte individual (.servidor, .cliente), simplemente ejecutando el servidor servirá al cliente.

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!