我一直在开发一个在 Docker 容器中运行的 ASP.NET 应用程序。拿到新笔记本电脑后,我安装了 Visual Studio 2022 和 Docker Desktop。我从 GitHub 克隆了我的项目,但是当我尝试构建该项目时,输出仅显示“Build Started at...”,无论我等待多久,都不会发生其他情况。我看到 Docker Desktop 中没有创建新容器,也没有错误消息。
我已确保我的 Docker 桌面设置与我的旧笔记本电脑上的设置相匹配。我还尝试直接从旧笔记本电脑复制解决方案文件夹,但问题仍然存在。
如何诊断构建过程陷入困境的位置?
到目前为止我已采取的步骤:
Installed the latest updates for Windows, Visual Studio, and Docker Desktop
Reinstalled Visual Studio
Reinstalled Docker Desktop
Checked Docker Desktop settings to ensure they match the old laptop
Copied the solution folder from my old laptop to the new one (same problem)
任何有关如何查明问题的建议将不胜感激。