Hi,
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.
Thanks
Mey