Sharpnado.MaterialFrame icon indicating copy to clipboard operation
Sharpnado.MaterialFrame copied to clipboard

Error XFC0000: Cannot resolve type "sharpnado:MaterialFrame"

Open roubachof opened this issue 5 years ago • 2 comments

If you end up with this error, it means you forgot to call the Sharpnado.MaterialFrame.Initializer.Initialize() in your App.xaml.cs. Have a look here: https://github.com/roubachof/Sharpnado.MaterialFrame#initialization

roubachof avatar Oct 29 '20 13:10 roubachof

EDIT: If you are using a dependency injection framework like Prism just insert a function anywhere in the module that calls the initialize method.

private static void DummyInitializer() => Sharpnado.MaterialFrame.Initializer.Initialize(true, false);

This happens because in the order of compilation of dependencies in a Prism project the Initialize function is called last and consequently the XFC0000 error is generated.

anversoft avatar Jun 22 '21 07:06 anversoft

I'm getting this issue, but neither of the above fixes are working.

louisoftokyo avatar Oct 26 '21 03:10 louisoftokyo