I came across an interesting product bug while analyzing Watson crash dumps today. Our application was crashing due to an unhandled MissingMethodException on a background thread. Looking at the managed stack trace revealed the exception was coming from a method which uses the Dispatcher.Invoke(Delegate, params object[]) overload, added in the .NET Framework 3.5 SP1. This [...]
Archive for May, 2009
Unhandled MissingMethodException
Posted in Uncategorized on May 9, 2009 | Leave a Comment »
Regedit Favorites
Posted in Uncategorized on May 6, 2009 | Leave a Comment »
Embarrassingly, I just now realized Regedit supports favorites!
I’ve spent far too many seconds navigating b/w Visual Studio’s experimental and non-experimental HKCU registry settings when validating functionality. Not to mention having to remember to look in HKLM’s wow6432 node on my 64 bit machine. What a revolutionary feature
Dynamically load assembly with strong name verification
Posted in Uncategorized on May 3, 2009 | Leave a Comment »
I recently needed to load an assembly into a temporary AppDomain. This assembly was being loaded from a random location in the current user’s temp directory. Since the temp directory is less secure than say Program Files, I wanted to ensure it was indeed my strongly named assembly being loaded.
After wasting a bit too much [...]