I only wish I could help you! I have the same problem, but in a VB.NET project. If you find a solution, let me know. I have tried deleting the .pdb files in both debug and release versions, rebuilding the whole solution, but no joy. It might work for you however - worth a try. David