Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Swallowed NotSupportedException in ResxExtension

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Feature Requests
View previous topic :: View next topic  
Author Message
gunters63



Joined: 25 Jan 2011
Posts: 21

PostPosted: Mon Aug 15, 2011 3:48 pm    Post subject: Swallowed NotSupportedException in ResxExtension Reply with quote

This is for the Infralution.Localization.Wpf runtime dll.

There is a minor annoyance when you debug with breaking on all thrown exceptions:

If you have dynamic assemblies there will be lots of NotSupported exceptions (which normally silently get swallowed) in the method HasEmbeddedResx in class ResxExtension.

Perhaps you could check .IsDynamic there and just return null if true.

Regards,
Gunter
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Aug 15, 2011 10:38 pm    Post subject: Reply with quote

Thanks for the suggestion - we will look at that for the next release. If you want this before then you could download the source code for the Infralution.Localization.Wpf assembly from CodeProject and insert the change yourself. You would need to change your project reference to the recompiled assembly (which will have a different strong name).
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Feb 23, 2012 5:48 am    Post subject: Reply with quote

Version 3.2.0 of Globalizer has just been released and incorporates this fix to the Infralution.Localization.Wpf assembly
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group