runtime: Getting Cannot find or open the symbol file for dotnetcore using vscode
Hi,
Getting the following errors,launching a debug session from vs code, it seems to work but why so many errors ?
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.1/System.Private.CoreLib.ni.dll'. Cannot find or open the symbol file.
Loaded '/Users/ian/Downloads/testdotnet/bin/Debug/netcoreapp1.0/testdotnet.dll'. Symbols loaded.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.1/System.Runtime.dll'. Cannot find or open the symbol file.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.1/mscorlib.dll'. Cannot find or open the symbol file.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.1/System.Console.dll'. Cannot find or open the symbol file.
Anyone help ?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 12
- Comments: 24 (10 by maintainers)
Getting used to them isn’t appropriate as seeing this many warnings does 2 things:
Yes, those are just informational messages from debugger stating that we will not be able to step into dot net core libraries. This behavior is just fine because usually we don’t have to debug .net libraries. But is there any way to disable these messages? Because there are quite a few of them and they are very annoying.
@Adam-Pond you can disable all module messages if you like (see
logging
options in launch.json). I don’t necessarily recommend that since VS Code has no modules window, so if the debugger doesn’t load symbols for a module you want it to, you will not have the ability to find out. But you certainly can if you want.Not able to run using VS code, getting tons of Cannot find or open the symbol file. My project.json has “buildOptions”: { “debugType”: “portable”, …