StaticExtension value cannot be resolved StaticExtension value cannot be resolved wpf wpf

StaticExtension value cannot be resolved


Ensure Globals.ThisAddIn is public.

You may also get this if you are using a resource file in which case you also need to ensure the access modifier is set to Public:

enter image description here


In output library project, you should ensure that the Resources.resx file's generator has been modified as PublicResXFileCodeGenerator instead of ResXFileGodeGenerator by default.

Replace following with...

Not public resource

This one

correct public resource