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
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.