How to build a subfolder in Bitbucket Pipelines?

I am trying to build a C#/.NET project using Bitbucket Pipelines.

The project is located in a subfolder of my repository. 

I haven't found a way to specify the location of the project, so it seems that Bitbucket Pipelines is trying to find it in the root folder of my repository, and fails saying that it couldn't find the project file. 

Could someone point me to a sample or the part of the docs that shows how to configure the location of my project when it's not in the root folder?

2 answers

Hi Team,

I have the same issue. Please suggest. Currently, my solution is in sub folder and dotnet restore command is failing in .yml file.

Well, this solution worked for me too.

https://stackoverflow.com/a/45431204 

Why don't you give it a try?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

218 views 3 7
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you