By Đonny on
Do you like the feature of Visual Studio (in both, C# and VB) that allows you to let version number (Build and Revision) to be automatically generated? Just set version number to 1.0.* or 1.0.0.* and version will be generated automatically. And Are you signing your assemblies? And do you use WPF? And do you do all those 3 thinks in single assembly? Probably not, because I've googled-out only a few references and no acceptable solution for my problem. The problem is that when you have signed auto-versioned assemby that contain XAML file, and the XAML file references type in the very same assembly; the XAML file doesn't load. Application crashes telling something about bad missing asembly or bad version of assembly os something such stupid. Using your favorit hex editor you can find that in compiled XAML - BAML wich is placed in one of assembly resources (you can extract them using Reflector) there is reference to some previous (or even random?) version of the assembly. Nice bug. I still keep saying that WPF ne ...
Read More »