Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Trouble with nuget

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.

1 answer

1 accepted

0 votes
Answer accepted

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  

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you