What’s the problem with the "yesfree" nuget packages from DevExpress

  Uncategorised

While trying to build my C# solution, first a NuGet Restore seems to be done of some DevExpress packages, generating following error message:

Severity    Code    Description Project File    Line    Suppression State
Error       NuGet Package restore failed for project VDS: Unable to find version '21.2.3' of package 'YshXaf.DevExpress.Office.Core_yesfree'.
  C:Program Files (x86)Microsoft SDKsNuGetPackages: Package 'YshXaf.DevExpress.Office.Core_yesfree.21.2.3' is not found on source 'C:Program Files (x86)Microsoft SDKsNuGetPackages'.
  C:Program Files (x86)DevExpress 21.2ComponentsSystemComponentsPackages: Package 'YshXaf.DevExpress.Office.Core_yesfree.21.2.3' is not found on source 'C:Program Files (x86)DevExpress 21.2ComponentsSystemComponentsPackages'.
  https://api.nuget.org/v3/index.json: Package 'YshXaf.DevExpress.Office.Core_yesfree.21.2.3' is not found on source 'https://api.nuget.org/v3/index.json'.
  https://<Company>.pkgs.visualstudio.com/_packaging/CompanyNuGetFeed/nuget/v2: Package 'YshXaf.DevExpress.Office.Core_yesfree.21.2.3' is not found on source 'https://<Company>.pkgs.visualstudio.com/_packaging/CompanyNuGetFeed/nuget/v2'.
  http://10.1.3.40:81/nuget/nuget: Unable to load the service index for source http://10.1.3.40:81/nuget/nuget.
  An error occurred while sending the request.
  Unable to connect to the remote server
  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.3.40:81
. Please see Error List window for detailed warnings and errors.                

In my solution’s project, I have the following:

Packages.config contains, amongst others:

  <package id="YshXaf.DevExpress.Charts.Core_yesfree" version="21.2.3.0" targetFramework="net452" />

The references of the projects contain following entry:

DevExpress.Office.v21.2.Core

Containing following information:

Path : C:Program Files (x86)DevExpress 21.2ComponentsBinFrameworkDevExpress.Office.v21.2.Core.dll
Resolved : True

I can confirm that the mentioned file exists.

I can also confirm the existence of following file:

/mnt/c/Program Files (x86)/DevExpress 21.2/Components/System/Components/packages/DevExpress.Office.Core.21.2.3.nupkg
(where `/mnt/c` is the WSL Linux notation of my C:-drive)

Questions:

  • What’s the meaning of this yesfree entry and what can I do in order to make it work?
  • Is there a way to stop NuGet Restore? Almost at every build of whatever project, the NuGet restore is creating problems.

Just for your information, hereby the cause of this problem:
My project was building fine, but in GIT I saw that lots of entries like < ... "..."/> in app.config and packages.config had changed into < ... "..." /> (an extra space had been added). In order not to flood my GIT with nonsense "differences", I’ve decided to revert those files to the previous versions (without the space), but apparently those "modifications" caused the whole NuGet lifecycle coming alive and messing up my whole build procedure (you can imagine my frustration).

Source: Visual Studio Questions

LEAVE A COMMENT