Create snap from Avalonia app
See original GitHub issueI’m beginner in both snapcraft and Avalonia but i would like to create a snap to learn.
I was able to create one but when it tries to initialize the GUI it’s running for a few minutes then:
Stack overflow.
Aborted (core dumped)
I don’t know how snap works internally but what i could figure out that i had to include two package for the base image in the snapcraft.yaml
- libicu60 #For internalization
- libgtk-3-0 #For Avalonia
Build command was: dotnet publish -c Release -r linux-x64
The full source is available here: Gitlab
Any idea how what’s the problem? Someone had similar issue?
OS: Ubuntu 18.04.4 LTS GNOME: 3.28.2
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Problem to build snap for net6.0
Hello everyone! I'm designing the cross platform app using Avalonia (c# and net6.0). I want to use snap to distribute the app on...
Read more >Developer Tools
Current styles can be snap-shotted by either pressing the Snapshot button or pressing Alt+S while hovering over the target window. Snap-shotting means that ......
Read more >Avalonia Win32 Snap Compatibility - YouTube
Avalon Studio - Creating a Hello World Avalonia MVVM Application · Channel 18 Live on 23rd June 2023 · Lightning Talk Introduction to...
Read more >Building Engaging Cross Platform Applications using Rider ...
Avalonia is a cross platform XAML framework for .NET. It lets you build rich application experiences using XAML markup language and C# (or ......
Read more >Avalonia using VB? : r/visualbasic
My snap reaction to that would be no, due to this being a retrofit. It would really depend on the complexity and the...
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

Wonderful. Now we have an actual case that could be reproduced on any machine thanks to the snapcraft containers. Created an issue in SkiaSharp
You could try https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/1.68.2-preview.43 that uses a dictionary-based font manger.