I'm having issues restoring nuget packages in my pipeline. Nuget reports an error restoring every time. It shows errors in the path referencing some components in the packages that i don't even use. Is there a way to ignore the error and continue on to the build?
I've tried several different ways to restore the packages during the build. All my components are .net framework, so i use nuget restore then msbuild.
I figured out the problem I was having with nuget restore. If you are using the nuget cli or msbuild, you need to enable long file paths in the registry.
refer to this issue in the nuget github: Nuget and long file paths
Thank you.
I was facing the same problem. Enabling long paths on my Windows runner allowed me to restore Nuget packages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.