Does Bitbucket Pipelines support building .NET applications?

This question is in reference to Atlassian Documentation: Bitbucket Pipelines (beta)

I'm wondering is pipelines support to build .net framework? I didn't see .yml config for .net. Please advise.

 

Regards

John Wu

9 answers

Hello I would like to ask the same question. Will there be in near future any solution to this? We need to build applications with .net 4.7.1 in pipelines and due to missing TPT inheritance in Entity Framework core we cannot use .netCore images. Thank You for reply

Hi John,

One of our customers provided an example of a Bitbucket Pipelines configuration for a .NET Core application. You can find it on Bitbucket.

We do not yet support running pipelines in Windows environment but we're keeping an eye on the work that Docker and Microsoft are doing together.

Thanks,

Sten

If you don't mind using mono, you can as well do:

image: mono

pipelines:
  default:
    - step:
        script:
          - nuget restore
          - MONO_IOMAP=case xbuild /t:Build /p:Configuration="Release" /p:Platform="Any CPU" Solution.sln

I have tried with this script but I am not able to run the build. I am getting the error near nuget restore. command not found. Please help me

Any updates to this folks? MS has full docker support these days, when are we going to see that in pipelines?

Still no positive news on that?

Here are two blog posts about building .Net apps in Pipelines, using the docker image:

image: microsoft/dotnet

http://davevde.github.io/using-bitbucket-pipelines-with-aspnet-core/

http://davevde.github.io/bitbucket-pipeline-with-aspnet-core-and-webpack/

Thanks, @Sigge Birgisson. .NET Core is a bit too "shiny and new" to be adopted for our new client projects.

Do you know of any reference information that would help us understand the build and test running process for ASP.NET 4.x WebAPI solutions using NUnit 3?

@Dave Todaro Have you found any information on how to build ASP.NET 4.x solutions in Bitbucket Pipelines?

Are there any Docker images that have MSBuild on? I am having problems with Mono and my .NET solution (I don't use .NET core yet)

0 votes
Ian Buchanan Atlassian Team May 02, 2017

What build tools do people use for .NET these days? When I last coded C# a couple years back, MS Build was pervasive, like it or not. But we liked to use a layer over it like psake or fake. Are people using those or others?

I recently reviewed a whole lot of CI tools - I use BB Pipelines for the Node frontend and Visual Studio Team Services for the .NET part. I have to say it has improved a LOT since I last used it a few years ago. The scrum tools are massively improved too. BuddyBuild is a fantastic CI tool but uses Mono for .NET. So I would check out VSTS. When BB comes out of beta I am moving all my Node projects to VSTS

I have same issue... my app is Console App / Windows Sevrice - 

.net 4.5 app and I would like to get it building in PIPELINEs.. Any chance for using msbuild?

We're currently evaluating Atlassian's BitBucket, Jira and Pipelines.

Everything's good except we're going to have to use msbuild for, well, everything.

No way we can move to .net core first.

What's the status on msbuild in a windows dock?

0 votes

The feature request for Windows/.NET builds is here: https://bitbucket.org/site/master/issues/13452/support-for-native-windows-net-builds-on

Follow that ticket for updates from our team.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,356 views 9 12
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