A CI build on Windows 2012 server continues to fail with: 'error: MSB4236: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.'
.Net Core 2.0 is installed correctly - c:\windows\system32> dotnet -- version returns 2.1.2
The Path environment variable contains both C:\Program Files\dotnet and C:\Program Files\dotnet\sdk\2.0.0\Sdks - and the SDK is present at that location.
Why does the agent fail to find the SDK?
Hi @David FALLAS,
Let me share some troubleshooting tips that might help you moving forward:
Try to cross the build logs with the agent logs to identify more details of what is causing the issue.
The agent logs can be found at:
Thank you Daniel - your response helped me investigate this in a more systematic way.
The underlying problem was due to changes to the path(s) to the MSBuild binaries and dependencies in the latest Microsoft Build Tools deployment. Some files that Bamboo could not find, and which were the root cause of my build problems, are now in C:\Program Files (x86)\Microsoft Visual Studio\2017\...
We only uncovered this after a number of other builds started to fail as well as my newly added one.
G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
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