【发布时间】:2021-10-12 07:57:28
【问题描述】:
我正在尝试使我的 ASP.NET Core 应用程序与 docker 容器一起工作,因此我尝试使用 command palette add dockerfile 或 docker-compose files 通过 Docker 扩展在 vs 代码中生成 docker 文件 - 很糟糕,我收到一个错误Cannot generate Dockerfiles for a .NET project unless version 1.23.9 or higher of the C# extension is installed. - 即使我已经安装了它并尝试了一些方法来修复它(比如重新安装扩展程序、vs code 应用程序并在其他地方搜索答案)。我正在使用 Windows,并且在尝试脚手架操作时已安装并运行 docker。
Here is a screenshot where you can see I am, in fact, have these extensions installed.
【问题讨论】:
标签: c# docker visual-studio-code