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?
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:
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
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