Trouble Installing a NuGet Library in .NET: Need Guidance

Carlos Jahir Carreño Hernandez 125 Reputation points
2023-10-05T10:40:18.9866667+00:00

Good morning, I'm new to this .NET world, and I would like your guidance with this issue that I haven't been able to solve. I'm trying to install a library from NuGet.org, but I can't install it. What solution can I implement or what configuration might I have missed? Thank you.

User's image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,463 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,391 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
978 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Jahir Carreño Hernandez 125 Reputation points
    2023-10-05T11:59:46.11+00:00

    "Good, it seems that the issue has been resolved. I made some modifications in Visual Studio to the package source. It appears that the URL of the source was incorrect. I found the correct URL in this blog: https://davecallan.com/what-is-the-current-nuget-url-and-how-can-we-reset-it-in-visual-studio/. The URL I configured was: 'https://api.nuget.org/v3/index.json,' and it allowed me to install the libraries I needed in both Visual Studio and Visual Studio Code. I hope to be able to install the others in the other project. Thank you very much to everyone who helped me."

    User's image

    User's image

    0 comments No comments