Create
cancel
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

Bamboo errors with MSBuild

We have a Bamboo agent that won't properly run MSBuild.  When we run the solution in the IDE, the projects all run fine without any errors.  But the Bamboo build plan is unable to build the same solution.  We keep getting these errors:

The current .NET SDK does not support targeting .NET Core 2.0.  Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.0.

We've tried to install the .NET SDK 2.2 and .NET Core 2.0, plus removing .NET Core 2.0 and only having .NET Core 1.1, but no combination seems to work.  

Is there something specific we need to set in the build plan or with the MSBuild executable?

Thanks!
-Christian

1 answer

0 votes

Hi @Christian Palacios

I'm wondering if this issue is not caused by server capabilities. You should be able to get the same or pretty similar results if you compare a Bamboo build and an OS terminal build/IDE.

Things I would check:

  1. What is the agent running this build?
    Is it able to build the code from outside Bamboo?
  2. What is the executable called to build your code?
    This one is the one configured in the capability used to build your code.
    You can check the executable used on your build logs.
  3. What arguments are used in the build in comparison with the ones used when you run the build outside Bamboo?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

166 views 0 4
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