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

914
Views
c# dotnet CLI "error: no hay versiones disponibles para el paquete 'Newtonsoft.Json'".

Soy nuevo en C#, estoy tratando de agregar un paquete a mi proyecto. Intenté antes agregar "Microsoft.Toolkit.Uwp.Notifications" mediante dotnet cli dotnet add package Microsoft.Toolkit.Uwp.Notifications , y luego intenté imitar el ejemplo de Microsoft Microsoft.Docs pero siempre muestra este error, ¿alguna ayuda, por favor?

información: Agregar PackageReference para el paquete 'Newtonsoft.Json' en el proyecto 'C:\Users\moham\cs\cs.csproj'. error: No hay versiones disponibles para el paquete 'Newtonsoft.Json'.

EDITAR :

cuando probé dotnet add package Newtonsoft.Json --version 13.0.1 recibí este error: error CMD

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Tuve el mismo problema, lo solucioné ejecutando este comando

 dotnet nuget add source --name nuget.org https://api.nuget.org/v3/index.json

Consulte este problema https://github.com/dotnet/sdk/issues/4156 para obtener más detalles.

Espero que esto te ayude ;)

over 4 years ago · Santiago Trujillo Report

0

¡Bienvenido al mundo de C#! Si bien Microsoft.Toolkit.Uwp.Notifications no parece depender de Newtonsoft.Json , puede haber otra dependencia en su archivo de proyecto. ¿Puedo pedirle que intente agregar Newtonsoft.Json PRIMERO y luego intente agregar el paquete Mictrosoft.Toolkiy.Uwp.Notifications después?

 dotnet add package Newtonsoft.Json --version 13.0.1 dotnet add package Microsoft.Toolkit.Uwp.Notifications --version 7.0.1
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!