C# Docker上的调试抛出错误

C# Docker上的调试抛出错误,c#,docker,visual-studio-2015,.net-core,C#,Docker,Visual Studio 2015,.net Core,我刚刚创建了simpleDotNetCoreWebApi,并通过Visual Studio 2015 Update 3添加了Docker支持(尽可能最新)。在docker上运行调试,当我尝试在docker上调试时出现以下错误 目标进程已退出,但未引发CoreCLR启动事件。确保将目标进程配置为使用Microsoft.NETCoreApp 1.0.0或更新版本。如果目标进程未运行.NET代码,则可能会出现这种情况 你知道如何解决这个问题吗 旁注 已安装,因此调试输出中的消息没有意义 已安装 基于

我刚刚创建了simpleDotNetCoreWebApi,并通过Visual Studio 2015 Update 3添加了Docker支持(尽可能最新)。在docker上运行调试,当我尝试在docker上调试时出现以下错误

目标进程已退出,但未引发CoreCLR启动事件。确保将目标进程配置为使用Microsoft.NETCoreApp 1.0.0或更新版本。如果目标进程未运行.NET代码,则可能会出现这种情况

你知道如何解决这个问题吗

旁注
  • 已安装,因此调试输出中的消息没有意义

  • 已安装

  • 基于驱动器C在Docker设置的共享驱动器下进行检查

  • 没有帮助

Dockerfile.debug 调试输出 Docker输出 问题张贴在

升级到v0.31.0修复了该问题

FROM microsoft/dotnet:1.0.0-core
VERBOSE: Setting: $env:CLRDBG_VERSION = "VS2015U2"
VERBOSE: Setting: $env:REMOTE_DEBUGGING = 0
VERBOSE: Executing: docker exec -i 64495b0eae7c /clrdbg/clrdbg --interpreter=mi
Did you mean to run dotnet SDK commands? Please install dotnet SDK from: 
  http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
The program '' has exited with code 145 (0x91).
C:\Users\kal-el\Documents\Visual` Studio` 2015\Projects\Krypton\src\Krypton\DockerTask.ps1 -Run -Environment Debug -Machine '' -RemoteDebugging $True -OpenSite $False
VERBOSE: Setting: $env:CLRDBG_VERSION = "VS2015U2"
VERBOSE: Setting: $env:REMOTE_DEBUGGING = 1
VERBOSE: Executing: docker-compose -f 'C:\Users\kal-el\Documents\Visual Studio 
2015\Projects\Krypton\src\Krypton\bin\Docker\Debug\app\docker-compose.Debug.yml' -p krypton up -d
Recreating krypton_krypton_1
C:\Users\kal-el\Documents\Visual` Studio` 2015\Projects\Krypton\src\Krypton\DockerTask.ps1 -WaitForUrl -Machine ''
VERBOSE: Setting: $env:CLRDBG_VERSION = "VS2015U2"
VERBOSE: Setting: $env:REMOTE_DEBUGGING = 0
Opening site http://docker ........................................................................................................................
Validating volume mapping in the container 64495b0eae7c
ValidateVolumeMapping : Unable to validate volume mapping. For troubleshooting, follow instructions from 
http://aka.ms/DockerToolsTroubleshooting
At C:\Users\kal-el\Documents\Visual Studio 2015\Projects\Krypton\src\Krypton\DockerTask.ps1:352 char:9
+         ValidateVolumeMapping
+         ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ValidateVolumeMapping