Hi,
I'm trying to debug a local solution, but breakpoints in the cshtml files are not hit with the message that symbols are not loaded.
I have taken the following steps:
- Create a new dw10 project with "dotnet new dw10-suite"
- Add Files from a built Swift folder including GlobalSettings and db connection
- Made sure the build settings are all set to debug, "ASPNETCORE_ENVIRONMENT": "Development", in launchSettings.json
At this point I thought I should be able to do a "dotnet run" and then attach to the donet process from VS 2022.
The solution runs ok (expect for an error I want to debug :-)) but I cannot debug, in "Debug>Windows>Modules" is see:
I have tried:
- Also adding appsettings.json with "ASPNETCORE_ENVIRONMENT": "Development", in the environment settings
- I added "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": " Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" per some googled tips & tricks
- Unchecked the "Just My Code" setting in "Debug>Options"
- Unchecked "Suppress JIT optimizations ......" (Also per some googled troubleshooting)
- Running both CMD and VS as Administrator
- Checked .NET versions installed
Not sure what more to check :-)
Justin