I have a Winforms solution MySolution.exe having inside a MyControl.dll that I want to profile.
When I try to run the performance profiling tool in VS 2010 on it it gives me the following warning
MyControl.dll is signed and instrumenting it will invalidate its signature. If you proceed without a post-instrument event to re-sign the binary it may not load correctly.
after that the same warning with the MySolution.exeis signed...
Now, if I choose the option to continue without re-signing the profiling starts solution crashes and nothing finally happens.
I saw some similar solutions, but dind't understand how to apply the provided solution in a WinForm solution.
Say, I have MySolution.exe and the dll to profile is MyControl.dll... both, the solution and the project are signed with a key MyKey.snk