Sean Blakemore's Blog

Like trying to fit a square peg in a round hole

5. April 2012 16:20
by Sean
0 Comments

Doing indecent things with Mono.Cecil - An alternative to ILMerge for WPF

5. April 2012 16:20 by Sean | 0 Comments

Background

ILMerge is a great tool for merging .NET assemblies, when we want to deploy an application as a single executable file we can merge in the dependencies and we’re good to go.

Unfortunately ILMerge doesn’t work on WPF applications because according to the ILMerge page on Microsoft Research:

They contain resources with encoded assembly identities. ILMerge is unable to deserialize the resources, modify the assembly identities, and then re-serialize them.

More...

11. July 2010 19:36
by Sean
3 Comments

Dirty Checking your Silverlight and WPF data entry forms

11. July 2010 19:36 by Sean | 3 Comments

Let’s just dive right in and have a demo to see what we’re trying to accomplish. Below is a Silverlight application with some interesting behaviour, if you start changing any data the application will notice and the save button becomes enabled, the state of the form is ‘dirty’. That isn’t very interesting on it’s own, what is interesting is that if you then put the data back to the way it was when you started, the save button becomes disabled again and the form returns to the ‘clean’ state. Here, have a play…

Get Microsoft Silverlight

More...