2.0.0-preview2-006497-preview2
$ dotnet --version
2.0.0-preview2-006497
然而,当我构建并尝试运行Docker映像时,我得到了:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '2.0.0-preview2-25407-01' was not found.
- Check application dependencies and target a framework version installed at:
/
- Alternatively, install the framework version '2.0.0-preview2-25407-01'.
如果我直接运行基本Docker映像,我发现它是报告版本
2.0.0
$ sudo docker run -it microsoft/aspnetcore-build:2.0
root@523a779f7167:/# dotnet --version
2.0.0
我不明白。2.0.0没有RTMed,是吗?我在网上的任何地方都找不到关于这个的任何信息,但我也找不到用于预览2的Docker base图像。