C#,visual studio代码,调试器,错误处理';配置完成';要求未知错误:0x89720010,

C#,visual studio代码,调试器,错误处理';配置完成';要求未知错误:0x89720010,,c#,debugging,visual-studio-code,C#,Debugging,Visual Studio Code,有人在使用调试器时看到过这个特定的Visual Studio代码错误吗?我已经把范围缩小到这个错误代码,而且似乎没有任何关于这个问题的在线资源 我正在使用Visual Studio代码进行一些C#调试。它被缩小到这个问题。我在XUNIT项目中有一段简单的代码,如下所示: using System; using Xunit; namespace xunitexample { public class UnitTest { [Fact] public

有人在使用调试器时看到过这个特定的Visual Studio代码错误吗?我已经把范围缩小到这个错误代码,而且似乎没有任何关于这个问题的在线资源

我正在使用Visual Studio代码进行一些C#调试。它被缩小到这个问题。我在XUNIT项目中有一段简单的代码,如下所示:

using System;
using Xunit;

namespace xunitexample
{
    public class UnitTest
    {
        [Fact]
        public void Test1()
        {
            Console.WriteLine("Hello World...");
        }
    }    
}
项目文件
xunitexample.csproj

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
    <TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
    <PackageReference Include="xunit" Version="2.2.0" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
}

tasks.json
是:

{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
    {
        "name": ".NET Core Launch (console)",
        "type": "coreclr",
        "request": "launch",
        "preLaunchTask": "test",
        // If you have changed target frameworks, make sure to update the program path.
        "program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/xunitexample.dll",
        "args": [],
        "cwd": "${workspaceRoot}",
        // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
        "console": "internalConsole",
        "stopAtEntry": false,
        "internalConsoleOptions": "openOnSessionStart"
    },
    {
        "name": ".NET Core Attach",
        "type": "coreclr",
        "request": "attach",
        "processId": "${command:pickProcess}"
    }
]
{
    "version": "0.1.0",
    "command": "dotnet",
    "isShellCommand": true,
    "args": [],
    "tasks": [
        {
            "taskName": "test",
            "args": [
                "${workspaceRoot}/xunitexample.csproj"
            ],
            "isBuildCommand": true,
            "problemMatcher": "$msCompile"
        }
    ]
}
它似乎运行到完成,输出屏幕为:


你好,世界

[xUnit.net 00:00:00.8617720]   Finished:    xunitexample
Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.

Test Run Successful.

Test execution time: 1.5850 Seconds
--

但它仍然会在状态屏幕顶部以大红色显示此配置错误消息:

处理“configurationDone”请求时出错。未知错误:0x89720010

它是什么?为什么要显示它


非常感谢。看来他们已经开始解决这个问题了:

此VS代码问题现已修复。请参阅VS代码版本1.12.1。
它在这里起作用了

我刚刚升级了vs代码,我看到了同样的问题。。。
[xUnit.net 00:00:00.8617720]   Finished:    xunitexample
Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.

Test Run Successful.

Test execution time: 1.5850 Seconds