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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 06, 2019

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
AUG Leaders

Atlassian Community Events