Solution: say your assembly is My.dll
- Create a file called My.ini
- Put this content into that file:
- Copy the .ini file to the location of the assembly in the GAC
[.Net Framework Debugging Control]
AllowOptimize=0
GenerateTrackingInfo=1
After all, we cook all day long
[.Net Framework Debugging Control]
AllowOptimize=0
GenerateTrackingInfo=1