-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No App xml error #49
Comments
I also encountered the same problem. I want use many ui lib in my project so I don't want all pages to be overwritten with default styles by a certain library. but i will get the error "Object reference not set to an instance of an object."when i use the this is my code: error:
I don`t konw how to slove the question. |
It seems that conflicts may happen when using multiple ui libraries at the same time. Sadly, the solution may vary when you are using different ui libraries. I'm in the weeds these days for web development and have no time to look into this. We tried something to fix the null reference exception. But the results you provided proved my fix didn't work, I have no idea why. |
I need to use the library without an App.xaml
I used the sample project NoAppXaml as a reference. So the library resources are added in Window.Resources
The sample works fine, however if I add a NavigationView to the sample project window the application crashes with a NullReferenceException at
iNKORE.UI.WPF.Converters.CornerRadiusFilterConverter.Convert(object, System.Type, object, System.Globalization.CultureInfo)
This is the modified MainWindow.xaml that makes the application to crash:
It seems that some resources (CornerRadius) are not loaded, but I can't guess where is the problem.
The text was updated successfully, but these errors were encountered: