Open mazong1123 opened 7 years ago
Is your directory, where you run CoreRun from under VS, containing the same set of binaries as in E:\Personal\github\coreclr\bin\Product\Windows_NT.x64.Debug?
@gkhanna79 The Command setting for INSTALL project (which is the startup project) is $(SolutionDir)....\product\Windows_NT.$(Platform).$(Configuration)\corerun.exe
which is actually E:\Personal\github\coreclr\bin\Product\Windows_NT.x64.Debug\corerun.exe
.
My steps:
It's strange that VS threw an exception. Is VS using this executable during debugging?
Same issue here, window 7 too.
facing the same issue. is there any update on this?
Is this issue still relevant considering Windows 7 has been out of support since 2020? Or can we close it now?
I just went through https://github.com/dotnet/coreclr/blob/master/Documentation/building/debugging-instructions.md to setup my Visual Studio 2015 for debugging.
I use latest night build dotnet tool to restore & publish following code:
I'm able to run the program via
dotnet run
orE:\Personal\github\coreclr\bin\Product\Windows_NT.x64.Debug>CoreRun.exe E:\Personal\coreclrtest\hl\bin\Debug\netcoreapp2.0\win7-x64\publish\hl.dll
successfully.However, if I run the debugger through Visual Studio 2015, it gave me following error:
And the stacktrace is (not so much useful as I cannot figure out which method was called through the address...):
My Visual Studio Debugging configuration is as following:
Command
: $(SolutionDir)....\product\Windows_NT.$(Platform).$(Configuration)\corerun.exeCommand Arguments
: E:\Personal\coreclrtest\hl\bin\Debug\netcoreapp2.0\win7-x64\hl.dllWorking Directory
: $(SolutionDir)....\product\Windows_NT.$(Platform).$(Configuration)