ColorPicker in Release mode
See original GitHub issueHi,
I’m using Avalonia 11 preview 8 and Material 3.0.0-avalonia11-preview4.167-nightly. I’ve been getting an exception at startup, but only in Release mode:
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Avalonia.Controls.ColorPicker'
The issue does not happen if Material.Avalonia is removed from the project, or when using Avalonia 11 preview 6 with Material 11-preview4.
Issue Analytics
- State:
- Created 4 months ago
- Comments:8
Top Results From Across the Web
Color Picker - Windows apps
Learn how to use a color picker to let users browse through and select colors, or specify colors in RGB, HSV, or hexadecimal...
Read more >ColorPicker (JavaFX 8)
ColorPicker control allows the user to select a color from either a standard palette of colors with a simple one click selection OR...
Read more >Calling a function once mouse is released from colorpicker
I spent whole day to find solution but it didn't help out. So basically, I want to call a function once a mouse...
Read more >Setting color for p:colorpicker programatically in popup mode
I am making a form for editing formatting values that are stored in a database. Two of these are colors and I am...
Read more >Manipulating Colors with Color Picker in Chrome DevTools
With the color picker, you can easily convert between color modes. The color picker gives you the ability to convert from HEX, RGBA...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, seems like it has been fixed via this change. To try it you can use
3.0.0-avalonia11-preview4.172-nightly
version.What happens when you remove Avalonia.Diagnostics?
When you added Avalonia.Diagnostics, it also added the ColorPicker package that it depends on. If Material.Avalonia has a hidden dependency on ColorPicker, the exception will only show up when there’s no Avalonia.Diagnostic package, or when Diagnostics is disabled in Release.
Perhaps this doesn’t matter much anyway, as everyone is likely to use the Diagnostics package.