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.
G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...
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