Archive for January, 2009

WPF & Inheritance

Probably one of the first things you've tried is to subclass Window (or Page/UserControl/etc) and expected to get the xaml for free in derived classes… This is called "visual inheritance", and it doesn't work as expected (yet)….  This is a major issue for WPF.   Code inheritance is not a problem, and works as we're [...]

VSPerfMon.exe vs unit-tests

I was stepping through one of my unit tests, and all of a sudden Visual Studio pops up an error: "The Visual Studio performance and coverage logging engine is already running on the computer. Therefore, the test run cannot continue. Close the pending performance or code coverage session and then rerun the tests" Hmm, I [...]

Silverlight decompilation

When you build a Silverlight application, you compile your source files (inc. XAML and embedded resources) into assemblies (dlls). Those assemblies (plus any 3rd party ones plus MS assemblies that are not part of Silverlight) are then collected together along with a manifest into a packaged archive – or in other words, a ZIP file. [...]