0

I am building a .NET Core project on windows 10 with DevExtreme. I am trying to build the project on macOS big sur with Rider. When I try build my project I get this error:

The local source 'C:\Program Files (x86)\DevExpress 20.2\DevExtreme\System\DevExtreme\Bin\AspNetCore' doesn't exist.

That was a path error but idk how can I fix it. I tried install DevExtremeon NPM and restore NuGet packages but that path threw errors.

error screenshot:

Michael Kay
  • 156,231
  • 11
  • 92
  • 164
onrcn_
  • 107
  • 1
  • 1
  • 3

1 Answers1

2
  • Open the NuGet tab in Rider
  • Switch to the Sources tab
  • It will show you a list of all NuGet.config files which might affect the NuGet behavior for the solution
  • Look for a record with C:\Program Files (x86)\DevExpress 20.2\DevExtreme\System\DevExtreme\Bin\AspNetCore value
  • Remove this record directly from the corresponding NuGet.config
Alexander Kurakin
  • 13,373
  • 2
  • 33
  • 29
  • Thanks, I had the same problem. The reference to MacOS in the question appears to be irrelevant - as described, it occurred on Windows, but I encountered it with Rider on Mac. – Michael Kay Jan 09 '22 at 01:15
  • Where can I find the NuGet files without using Rider? Is there a documentation page that lists where the system NuGet files are located on macOS and Linux? – Aaron Franke Aug 30 '23 at 07:22
  • Hey Aaron! I would start with this article https://learn.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior. – Alexander Kurakin Aug 30 '23 at 08:27