I'm starting to look at adding localisation my plug-in (For Revit if that's relevant), using WPFLocalizeExtension.
I've used nuget to add WPFLocalizeExtension to my project, and everything compiles fine and shows up in designer.
So far, I've only used it for one of my windows, a small dialog. The plug-in loads fine, but when I init/show this dialog it throws this exception:
System.Windows.Markup.XamlParseException: 'Could not load file or assembly 'WPFLocalizeExtension, PublicKeyToken=c726e0262981a1eb' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'
The reference is set to copy local
The debug directory has a copy of the assembly WPFLocalizeExtension.dll.
Any ideas why this is throwing up this exception?
Cheers

