I was working in a project where we use slow cheetah and have different configuration files for different environments and when trying to debug using a “local-dev” configuration i was having the above mentioned error.
This configuration was added recently, with other configuration the breakpoint was hitting and working normally.
With the help of stackoverflow I tried some changes and after the follwing changes were made I was able to hit the breakpoint and resolve the issue.
- Right click on the project and go to properties and then to Debug tab. Make sure you have the above settings. “Define DEBUG constant” and “Define TRACE constant” are selected.
- After that select Advanced and make sure you have the above Settings.
- Save and then rebuild the solution,you will be able to resolve the issue.
For those who might be wondering what slow cheetah is ?? It is a visual studio extension that transform our config files. We were using this to use config files based on the environment like Dev,QA,Prod,Local-Dev. You can find more details below
https://marketplace.visualstudio.com/items?itemName=vscps.SlowCheetah-XMLTransforms