DevExpress: Can't add NuGet Packages
By FoxLearn 1/14/2024 10:42:42 AM 6.54K
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 Add a Custom Prerequisites to Visual Studio Setup Project
- How to Auto Increment Version Number in Visual Studio
- How to group partial class files in Solution Explorer
- How to fix 'The class Form1 can be designed, but is not the first class in the file'
- How to fix 'A project with an Output type of Class Library cannot be started directly'
- How to Optimize your Application using Visual Studio Profiler
- How to Download and Install Visual Studio 2017