C#,visual studio代码,调试器,错误处理’configurationDone’请求.未知错误:0x89720010,
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了C#,visual studio代码,调试器,错误处理’configurationDone’请求.未知错误:0x89720010,,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2856字,纯文字阅读大概需要5分钟。
内容图文
![C#,visual studio代码,调试器,错误处理’configurationDone’请求.未知错误:0x89720010,](/upload/InfoBanner/zyjiaocheng/774/ff6cf2319b094c2a9d7a8f3a24ee6fa4.jpg)
有没有人在使用调试器时看到这个特定的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...");
}
}
}
项目文件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>
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 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}"
}
]
}
而tasks.json是:
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "test",
"args": [
"${workspaceRoot}/xunitexample.csproj"
],
"isBuildCommand": true,
"problemMatcher": "$msCompile"
}
]
}
它似乎运行完成与输出屏幕:
Build started, please wait...
Build completed.
Test run for c:\Users\carlf\Documents\Solidity\geth\xunitexample\bin\Debug\netcoreapp1.1\xunitexample.dll(.NETCoreApp,Version=v1.1)
Microsoft (R) Test Execution Command Line Tool Version 15.0.0.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
[xUnit.net 00:00:00.5726113] Discovering: xunitexample
[xUnit.net 00:00:00.6819027] Discovered: xunitexample
[xUnit.net 00:00:00.7242235] Starting: xunitexample
你好,世界…
[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
–
但是仍然会在状态屏幕的顶部显示此配置错误消息,大显眼的RED:
Error processing ‘configurationDone’ request. Unknown Error: 0x89720010
它是什么以及它为什么被展示?
提前谢谢了.
解决方法:
此VS代码问题现已修复.请参阅VS Code版本1.12.1.
它在这里工作!
内容总结
以上是互联网集市为您收集整理的C#,visual studio代码,调试器,错误处理’configurationDone’请求.未知错误:0x89720010,全部内容,希望文章能够帮你解决C#,visual studio代码,调试器,错误处理’configurationDone’请求.未知错误:0x89720010,所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。