It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline fails on restore NuGet packages, What might be a problem?

There are few errors such as 

/usr/share/dotnet/sdk/2.2.300/Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.AspNetCore.Http.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60"

Locally it works fine, but pipeline fails.

1 answer

0 votes

Hi @Andriy Kornylevych,

For these errors the first step is to try to debug the issue in docker on your local machine. This tells you whether it's a docker issue or a pipeline issue.

We have documentation for how to do this here https://confluence.atlassian.com/bitbucket/debug-your-pipelines-locally-with-docker-838273569.html

If you can establish that it is specifically pipelines that is causing this error your best bet is to raise a support request at https://support.atlassian.com/ giving:

  • The error as a string (much as you have above)
  • A link to the failing build(s)
  • A brief summary of the bug
  • Any information you have about the patterns of the failures (times that the build fails, tests that the build fails on etc.

If you have any other questions feel free to let me know.

Cheers,

Tom.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,051 views 0 3
Read article

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