0
I have a project that is a Classlibrary and this DLL runs inside a Console Application, I have a requirement here where the developers of this Classlibrary need to debug this DLL with the application, in the properties of the project I have configured the path of the EXE, runs normally but breakpoints do not work.
- Visual Studio running as administrator
- Updated dlls in executable folder
However, if I run the application manually (in the same path I set in the image above) and go through the Attach to Process option the breakpoints work
I also tried to copy the DLL and PDB after Build to ensure when I have changes the program will have the recent version (otherwise the attach does not work properly). What it seems to me here is that I need a kind of "delay" to make the attach.