How to fix 'Can not install nuget packages'
By FoxLearn 10/5/2024 3:43:12 AM 6.81K
I've created an ASP.NET Core project, i don't use anything DevEpxress components, but when i install or update the library from Nuget i got an error as shown below.
Severity Code Description Project File Line Suppression State
Error The local source 'C:\Program Files (x86)\DevExpress 20.2\Components\System\Components\Packages' doesn't exist.
This problem maybe i have installed different versions of DevExpress before then i uninstalled DevExpress. To fix the error when installing libraries from Nuget in a project that doesn't use DevExpress, you can do the following step.
In Visual Studio, you can go to Tools =>Nuget Package Manager =>Package Manager Settings.
Under Package Sources subgroup on the left, you need to uncheck or delete the missed references to Package Sources.
- How to Auto increment version in Visual Studio
- How to Auto Increment Version Number in Visual Studio
- How to add a resource as a bitmap to C# project in Visual Studio
- How to fix 'Reference does not allow partially trusted callers' warnings in Visual Studio
- How to fix 'Use of app.config binding redirects requires full trust'
- How to fix "The "GenerateResource" task failed unexpectedly"
- How to use application-specific settings in Visual Studio
- How to Optimize your Application using Visual Studio Profiler