It looks like solutions containing a .dcproj project will not build in the latest aspnetcore-build images.
Steps to reproduce the issue
Create a new aspnetcore 2.0 project in Visual Studio enabling Docker support
Update the image used in docker-compose.ci.build.yml from microsoft/aspnetcore-build:1.0-1.1 to microsoft/aspnetcore-build:2.0 (this is required to build a 2.0 project)
Run docker-compose -f docker-compose.ci.build.yml up from the command line
Expected behavior
Solution should build inside Docker container.
Actual behavior
The build fails with the following message:
error MSB4236: The SDK 'Microsoft.Docker.Sdk' specified could not be found.
It looks like solutions containing a
.dcproj
project will not build in the latest aspnetcore-build images.Steps to reproduce the issue
docker-compose.ci.build.yml
frommicrosoft/aspnetcore-build:1.0-1.1
tomicrosoft/aspnetcore-build:2.0
(this is required to build a 2.0 project)docker-compose -f docker-compose.ci.build.yml up
from the command lineExpected behavior
Solution should build inside Docker container.
Actual behavior
The build fails with the following message: