I'm setting up Bamboo for a .NET application. When I tried to perform MSBuild or Nuget restore task thru script, I get the below error in the bamboo environment.
|04-Apr-2019 17:45:06||C:\bamboo\LRMWEB_bamboo_server-agent01\xml-data\build-dir\TFY-LVP-JOB1\LrmCoreApi\LRM.Repositories\LRM.Repositories.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.|
The saddest part is, I faced the same issue when I tried it thru the command prompt in my build server. I Resolved the same by adding a path with name MSBuildSDKsPath which actually points to the SDKs of version 2.2.x. This one occurs because the MS BUILD couldn't able to locate the actual SDKs path.
Any help on this would be appreciated.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
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