Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

MSBuild Error - SDKs missing

Meyyappan Muthukaruppan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 4, 2019

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:06C:\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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events