9/5/2023 0 Comments Gtk xamarin studioThere are lots of guides that are easy to google but hard to make them work. I know this is an old question, yet Google likes it. The error states that the procedure entry point couldn't be found in the dll. AvaloniaUI sounded interesting but I thought that the above approach would be better.Įdit: After adding msys path like suggested here in step 3 I get following error preceding the exception from above. I stumbled upon electron.js but I heard it has some big Memory overhead and I'm not really into javascript. What am I missing? What am I doing wrong? Is what I'm trying to achieve even possible like I am imaging it? I'm also interested in some alternatives how to program cross-platform GUI-Software with C#. The mono part shouldn't be necessary if I stick to. While searching for a solution I installed mono and GTK# for Windows from this page. Message=The type initializer for 'Gtk.Application' threw an exception.Īt (String args) in D:\Workspace\VSRepos\C#\GTKTest\Program.cs:line 10 When I run this code from Visual Studio 2019 I get System.TypeInitializationException Private static void Win_DeleteEvent(object o, DeleteEventArgs args) Label lbl = new Label("This is a test GTK App written with C# for GNU/Linux and Windows") I wrote a simple Hello World program for testing of the environment. NET Core 3 and added an GTK# specific NuGet package. So far I have setup a test Console App project in Visual Studio targeting. Why c#? Well I just like the language and there is an ECS Framework for c# I'd like to use. GTK# - from my understanding - should work everywhere GTK+ in the same version is also available. NET Core App should be cross-platform out of the box. NET Core 3 and GTK# 3.22 this shouldn't be a problem since. As I already have some experience with C# I am eager to use it for this project. I am about to start development of a software project that should run on Linux and Windows if possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |