Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

Bitbucket Pipeline Unexpectedly Errors

I got a net solution that I can run/build/test locally.

I can also run/build/test inside a docker container no problem.

In my setup I have the following folder Structure







<Reference Include="DataExtensions, Version=, Culture=neutral, PublicKeyToken=null">

Locally it all works. It also works in other Pipelines, but in Bitbucket pipeline, for some reason, it fails to find the required dependency. I validated its there in the repo.

Here's the full test log:

Build setup23s

cd Backend <1s

cd Lib <1s

ls <1s

+ ls

cd .. <1s

cd Tests <1s

+ cd Tests

cat Tests.csproj<1s

+ cat Tests.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Include="coverlet.collector" Version="3.1.0" />
<Reference Include="DataExtensions, Version=, Culture=neutral, PublicKeyToken=null">

dotnet test4s
+ dotnet test

Determining projects to restore...

Restored /opt/atlassian/pipelines/agent/build/Backend/Tests/Tests.csproj (in 1.52 sec).

/usr/share/dotnet/sdk/6.0.201/Microsoft.Common.CurrentVersion.targets(2301,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "DataExtensions, Version=, Culture=neutral, PublicKeyToken=null". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [/opt/atlassian/pipelines/agent/build/Backend/Tests/Tests.csproj]

1 answer

1 accepted

0 votes
Answer accepted

Problem was that in Bitbucket LFS is off by default.

Turning it back on solved the issue.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events