Many thanks to JP for finding the problems with this today. I am learning a lot about GAC, Reflection, Cultures etc, etc…
The v0.4 release basically didn’t work on any machine that didn’t have the Krypton toolkit installed in the GAC. This v0.5 works around that for now but it looks like that might be the way it will have to go eventually. Hopefully there is a way to do the GAC installation from within the addin architecture, it would just suck to have to use an installer!
The problem with this workaround is that parts of the Krypton Toolkit and the Krypton.PaletteSelectors don’t seem to be able to perform their reflection correctly. In particular, at some point a TypeConverter for the PaletteMode enum seems to be failing. This means that the importing of custom themes fails when it cannot convert a string such as "Office 2007 – Silver" back into the correct enum value.
It is really annoying but for now there are three temporary solutions until I can come up with a proper fix:
- Install the Krypton toolkit.
- Put ComponentFactory.Krypton.Toolkit.dll into \Clarion7\bin
- Edit any custom Palettes that you make and change the BasePaletteMode value to have no spaces or hyphen e.g. value="Office 2007 – Silver" becomes value="Office2007Silver"
I have adjusted the custom palettes included with the addin already and when I come up with a permanent solution I will ship them fixed again.
Also included are all the correct DLLs so that you can actually run the PaletteDesigner… !
Read about the new features that were introduced in v0.4 here
Below is the link to the latest v0.5 release.
||June 3, 2011