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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to setup build pipeline for .Net 5.0

Hi everyone,


I got a bitbucket repository for a .Net 5.0 project.

The solution contains some .Net 5.0 class library projects and some .Net 5.0 winform projects.

I just want to ask how to setup a build pipeline to esure that all comited code always build?


Best regards,

1 answer

Thank you for your answer.


I tried the followin scriot but the job failed :


# This is a sample build configuration for .NET Core.
# Only use spaces to indent your .yml configuration.
# -----
# You can use any Docker image from Docker Hub, or your own container registry, as your build environment.
image: microsoft/dotnet:sdk:5.0
- step:
script: # Modify the commands below to build your repository.
- export PROJECT_NAME=UpsilonEcosystem.sln
- export TEST_NAME=UpsilonEcosystem.sln
- dotnet restore
- dotnet build $PROJECT_NAME
- dotnet test $TEST_NAME

What was the error message?

/opt/atlassian/pipelines/agent/build/Upsilon/Common/Forms/Upsilon.Common.Forms.csproj : error NU1201: Project Upsilon.Common.Library is not compatible with net50-windows (.NETFramework,Version=v5.0,Profile=windows). Project Upsilon.Common.Library supports: net50 (.NETFramework,Version=v5.0) [/opt/atlassian/pipelines/agent/build/UpsilonEcosystem.sln]

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you