Red Hat Bugzilla – Bug 478764
cannot find uxtheme in recent build
Last modified: 2009-09-05 18:52:19 EDT
Description of problem:
Current mono build cannot load uxtheme.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Remove mono packages from x86_64 Fedora 10
2. Install all mono packages from rawhide repo
3. Attempt to run program that calls uxtheme (I have only checked one example)
Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ToolStripManager ---> System.DllNotFoundException: uxtheme
at (wrapper managed-to-native) System.Windows.Forms.VisualStyles.UXTheme:GetCurrentThemeName (System.Text.StringBuilder,int,System.Text.StringBuilder,int,System.Text.StringBuilder,int)
at System.Windows.Forms.VisualStyles.VisualStylesNative.get_VisualStyleInformationFileName () [0x00000]
Program runs, and does so with fc10 packages.
Went ahead and checked to make sure it was the new packages by removing the rawhide packages, reinstall fc10 packages, and could get program to run.
I'm committing a new version to rawhide tonight. Let me know if it's still not there and the code you're using to call the theme.
Fixed in new version. thanks.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here: