I am stuck for over an hour already trying to debug my ASP.NET Core MVC application. It is using Full .Net Framework 4.6.1
Debugging using IIS Express works like a charm, but when deploying the project to IIS, I am attaching Visual Studio Debugger to "w3wp" process, it attaches but I keep seeing my breakpoints not enabled due to lack of symbols.
I have tried quite a few combinations of attaching the debugger, updated visual studio (I am using VS 2017), but all without any luck.
I have tried both stackoverflow and MS docs, but nothing for debugging ASP.NET core targeting full .NEt framework.
The worst thing is that I had a similar issue a few weeks ago, but did not record how it was resolved.
Any idea on what I am doing wrong?
Update: Issue happens on Windows Server 2012 R2, but on Windows 10 debugging works as expected.