-
Notifications
You must be signed in to change notification settings - Fork 269
Description
NuGet Product Used
MSBuild.exe
Product Version
Version 17.2.1+52cd2da31
Worked before?
Version 16.11.2+f32259642
Impact
I'm unable to use this version
Repro Steps & Context
Currently we move from VS2019 16.11.x to VS2022 17.2.x. When running a pipeline on a build agent (ADOS 2020 On-Prem and VS2022 17.2.x) we face a NU1301 randomly, but frequent in always different solutions/projects:
##[error]xxx\xxx.csproj(0,0): Error NU1301: Fehler beim Überprüfen des Stammverzeichnisses der lokalen Quelle "https://packages.repo.xxx.de/artifactory/api/nuget/nuget-powershellgallery-proxy/".
1167>c:\tb\1\s\xxx\xxx.csproj : error NU1301: Fehler beim Überprüfen des Stammverzeichnisses der lokalen Quelle "https://packages.repo.xxx.de/artifactory/api/nuget/nuget-powershellgallery-proxy/". [c:\tb\1\s\xxx\subsystemxxx.sln]
Corresponding translation for the error message above should be Failed to verify the root directory of local source. The error also occurs randomly with another package URI https://packages.repo.xxx.de/artifactory/api/nuget/nuget-thirdparty-repo/.
Unfortunately I haven't been able to get a verbose log with this error until now. Also we don't see this kind of error at all on our build agents with VS2019 16.11.x.
Questions:
- Is this a new behavior for 17.2 that this type of error will get raised, while in previous versions of msbuild they have been suppressed (like stated in When restore raises an NU1301, build might fail with a
project.assets.json doesn't have a target for 'net6.0-windows10.0.19041.0like error that's a red herring #11862)? - Since package URI
https://packages.repo.xxx.de/artifactory/api/nuget/nuget-powershellgallery-proxy/looks quite OK for me, are there any tips of how to track down the real cause of the error?
We are also using Jfrog Artifactory 7.41.7 as proxy for some official NuGet package sources.
Any help is very appreciated, since the issue blocks us to move to VS2022, because of the frequent build breaks.
Verbose Logs
No response