我无法调试我的代码。这是演示:
[.NET Core 调试器当前不支持 x86 Windows。调试将不可用。][1]
这是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": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.0/Mega_01.dll",
"args": [],
"cwd": "${workspaceFolder}",
// 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}"
}
]
}
Run Code Online (Sandbox Code Playgroud)
这是tasks.json的副本
{
"version": "2.0.0",
"tasks": [
{
"taskName": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/Mega_01.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
Run Code Online (Sandbox Code Playgroud)
` [1]:https : //i.stack.imgur.com/SKc9f.png
如何在不安装visual studio的情况下解决这个问题!谢谢!
| 归档时间: |
|
| 查看次数: |
2756 次 |
| 最近记录: |