Closed milla closed 7 years ago
Why not upgrade to the released .NET Core 2.0? It was released yesterday. I think the issue you encountered is that your project references a pre-release NuGet package but you are trying to run it with the released version of the runtime which doesn't include this package. I think the best path forward would be to upgrade your project and build agent to use the release .NET Core 2.0.
As @MichaelSimons suggested, either upgrade Microsoft.AspNetCore.All to 2.0.0, or align your project file and docker image by using microsoft/aspnetcore:2.0.0-preview2
.
I'm upgrading our project to .net core 2.0 preview now.
Our project now uses .net core 2.0 preview, in Docker container, pushed to Microsoft azure container service with orchestration of kubernetes.
Package being used in project:
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
dotnet runtime in (VSTS) build agent machine,
SDKs installed in the machine,
DockerFile: reference
I tried some other docker images, yet, all have the below issue when running the container,
Thanks