Silverlight Child Window Problem
decay
Posts: 3
Hi
I use SmartAssembly for my Silverlight Project (with embedded Library). Everything works fine except of the ChildWindows i use. However i got several error like:
Message: Unhandled Error in Silverlight Application The type 'FormatConverter' was not found because 'clr-namespace:Namespace.Framework.Silverlight;assembly=AddonConfigurationSilverlightClassLibrary' is an unknown namespace. [Line: 7 Position: 42] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
or
Message: Unhandled Error in Silverlight Application Failed to assign to property 'System.Windows.Controls.Primitives.ButtonBase.Click'. [Line: 14 Position: 54] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
If i turn off obfuscation for this project everything works again. I'm aware of the funktionality to turn obfuscation off for certain classes but this would be a never ending story. Its strange because i only get this error in childwindow context.
Is this a bug? Anything i can do?
Kind regards
I use SmartAssembly for my Silverlight Project (with embedded Library). Everything works fine except of the ChildWindows i use. However i got several error like:
Message: Unhandled Error in Silverlight Application The type 'FormatConverter' was not found because 'clr-namespace:Namespace.Framework.Silverlight;assembly=AddonConfigurationSilverlightClassLibrary' is an unknown namespace. [Line: 7 Position: 42] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
or
Message: Unhandled Error in Silverlight Application Failed to assign to property 'System.Windows.Controls.Primitives.ButtonBase.Click'. [Line: 14 Position: 54] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
If i turn off obfuscation for this project everything works again. I'm aware of the funktionality to turn obfuscation off for certain classes but this would be a never ending story. Its strange because i only get this error in childwindow context.
Is this a bug? Anything i can do?
Kind regards
Comments
http://www.red-gate.com/supportcenter/C ... rtAssembly
As you will read, some of SmartAssembly's features will not work with Silverlight applications due to technical limitations in Silverlight.
If you still experience problems with your processed assembly then you can use Error reporting to help find the cause as outlined in this article
http://www.red-gate.com/supportcenter/C ... 362558.htm
James Davies
Technical Support Engineer
Red Gate Software