Once again, I answer my question ...
The bottom line is that I am changing the structure of the solution and moving several projects. This means that you get invalid relative paths in the .csproj files for each project. This is normal if you do not change the depth of the structure, which I did.
For an unknown reason, the debugging assembly went fine with invalid paths (probably the assemblies were assembled in some other way, since I manually deleted the bin and obj folders, cleared the solution, etc.). But to build the release, he tried to get the builds from the (incorrectly referenced) packages / directory.
NO PART OF THE NuGet Process Detected / Reported This Problem In all UI consoles and even in the NuGet PowerShell console itself, everything seemed just OK.
The solution is obvious. Edit the .csproj files for the affected projects (I was actually focused on the problem, filtering out warnings and finding out only some assemblies were affected, and they were outside the main solutions directory) and changed the assembly reference paths for the correct NuGet packages folder.
On the other hand: this is a NuGet (and possibly VS) link handling issue. He tries to use some relative paths instead of adding some variable like $ {SOLUTION_ROOT} or $ {NUGET_ROOT} or $ {PACKAGES_FOLDER}. If this were done by replacing variables, the same projects could be used in several solutions without disrupting the configuration of NuGet packages. At least I did not find a way to share the same project folder with multiple solutions.
source share