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

Andriy Kornylevych June 13, 2019

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
Tom Bradshaw
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2019

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
AUG Leaders

Atlassian Community Events