小编and*_*106的帖子

C#,Visual Studio代码,调试器,错误处理“ configurationDone”请求。未知错误:0x89720010,

使用调试器时,是否有人看到过此特定的Visual Studio Code错误?我已将其范围缩小到此错误代码,并且在此问题上似乎没有任何在线资源。

我正在使用Visual Studio Code进行一些C#调试。并缩小到这个问题。我在这样的XUNIT项目中有一段简单的代码:

using System;
using Xunit;

namespace xunitexample
{
    public class UnitTest
    {
        [Fact]
        public void Test1()
        {
            Console.WriteLine("Hello World...");
        }
    }    
}
Run Code Online (Sandbox Code Playgroud)

项目文件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>
Run Code Online (Sandbox Code Playgroud)

launch.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 …
Run Code Online (Sandbox Code Playgroud)

c# debugging visual-studio-code

5
推荐指数
1
解决办法
649
查看次数

标签 统计

c# ×1

debugging ×1

visual-studio-code ×1