(VS 2017 (v15.6.6), Dot Net Core, Win 10 Enterprise, using iisexpress.)
I have a fairly conventional Dot Net Core project that combines MVC Views and Web API.
My problem is debugging in the Web API Controllers. Breakpoints set in these controllers are being ignored. Whereas breakpoints set in non-API controllers are being hit.
Breakpoints in other projects in the same Solution that are entirely Web API work correctly.
I'm using 'Debug' mode. I've 'cleaned', done 'Rebuild solution', rebooted VS2017, reset iisexpress and rebooted the PC. All to no avail. The breakpoints are not being hit in WebAPI controllers.
I'm stumped. Other SO answers don't apply (I know I'm using debug, I can see the pdb files in bin\Debug\netcoreapp2.0, a restart doesn't help). Anybody else seen this?
UPDATE if I use IIS rather than iisexpress (and no other changes) the breakpoints are being hit. Looks like a bug in iisexpress?