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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

30,643 views 26 12
Join discussion

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