Docker 命令失败,退出代码为 0:未找到"/nuget.config"



我有一个Dockerfile设置为Visual Studio ASP。. NET Core项目在Windows上运行。每次我尝试在Docker中调试,我得到以下错误:

Docker command failed with exit code 0

构建输出显示:

error CTC1014: failed to compute cache key: "/nuget.config" not found: not found

配置管理中NuGet配置文件名称为"NuGet.Config"。它应该是小写的:nuget.config

最新更新