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.
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