Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ColorPicker in Release mode

See original GitHub issue


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:closed
  • Created 4 months ago
  • Comments:8

github_iconTop GitHub Comments

SKProCHcommented, May 12, 2023

Yep, seems like it has been fixed via this change. To try it you can use 3.0.0-avalonia11-preview4.172-nightly version.

CrimsonCoder77commented, May 12, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found