Completely freezes Rider Avalonia UI visual previewer when used
See original GitHub issueNew Avalonia project, using all the latest releases to day (fresh install of .Net Core, Rider, Avalonia etc…) running on a Mac.
New project, add this library using dotnet add command line, then in a axaml file add either <svg ... /> or <Image Source="{SvgImage ...}" /> and the visual previewer in Rider completely hangs and doesn’t work.
Comment it out and replace with <Image Path="image.png" /> and UI starts working again.
Tried restarts, remaking the application, and 2 machines, exactly the same issue.
Source code is here https://github.com/angelsix/youtube/tree/08a0263702ba319b0e7553ddcc7934a3ec127772/Avalonia/AvaloniaLoudnessMeter and video of issue is here https://youtu.be/VM-4NwdeXlo
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Editor is freezing extremely frequently, have to force close to ...
The UI will freeze and become unresponsive. Strangely I can still minimize / maximize fine, and resize sub windows (like the settings window), ......
Read more >axaml previewer not working · AvaloniaUI Avalonia
In the designer view in Visual Studio It says "Process Exited" "The previewer process exited unexpectedly. See the output window for more information"....
Read more >Visual Studio Hangs opening Avalonia
The IDE hangs (stops responding and does not recover, even after a long wait) · The IDE is very slow for the first...
Read more >Debugging Previewer
This is because Previewer is a completely different process usually run by IDE. Debugging with JetBrains Rider. First of all to debug previewer...
Read more >MAUI vs Avalonia : r/csharp
Avalonia, just started using, it works so far, sometimes the preview works, other times you need to run the app to see a...
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 Free
Top 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
Added comment to README so others can also find the workaround https://github.com/wieslawsoltes/Svg.Skia#avalonia-previewer
I added comment to README with the workaround, and I don’t think it’s easily fixable as it’s related to .netcoreapp model and dependency resolution, so way bigger issue than Avalonia.