使用UI创建.NET核心应用程序?

编程入门 行业动态 更新时间:2024-10-27 21:21:57
本文介绍了使用UI创建.NET核心应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨那里 像许多其他人一样(显然)我正在寻找.NET Core和我的Ubuntu机器之间的某种UI集成,最好是Mac和Windows还有。 但我没有太多运气。我可以看到人们引用一些项目,其中包括Github,似乎libui是最有希望的。具体来说,我已经看过CoreUI和DevZH.ui,但我无法在.NET Core下实际运行它们。并且他们似乎缺乏关于如何执行此操作的任何文档(尽管它们包含引用.NET核心和Ubuntu的project.json文件) 我想询问是否谁有关于如何设置VSCode以运行此代码的一些说明?或者如何开始实现任何UI? (使用.NET Core) 或者,无论如何都可以使用.NET Core和QT吗?我知道Windows上的C#可以调用C ++代码,所以我想知道这里是否有这样的互操作性? 我接近考虑做bash / Yad /。 NET Core CLI提供我想要的功能,但我知道这是一个我不满意的解决方案。 我尝试了什么: Google,我从github下载了几个示例项目,但它们似乎没有工作; github/noliar/DevZH.UI sharpui/src/SharpUI.Example at master·benpye / sharpui·GitHub 此外,我试图用单声道开发一个GTK#项目然后添加一个.NET Core .dll我做了,但即使intellisense工作也很难。 (这也是一个非常好的解决方案)

Hi there Like many others (apparently) I am searching for some sort of UI integration between .NET Core and my Ubuntu machine, and preferrably Mac and Windows as well. I am not having much luck however. I can see people referencing some projects, amongst others on Github, and it seems that libui is the most promising. Specifically I have looked at CoreUI and DevZH.ui, but I have not been able to actually run them under .NET Core. and they seem to lack any documentation on how to do this (though they do containt project.json files referencing .NET core and Ubuntu) I would like to ask if anyone has some instructions on how to set up VSCode for running this code? or how to get started implementing any UI? (with .NET Core) Alternatively, is there anyway to work with .NET Core and QT? I know C# on windows can call C++ code, i so i wonder if there is any such interoperability here? I am close to considering just doing bash / Yad / .NET Core CLI for the functionality i want, but i know it is a solution i won't be happy with. What I have tried: Google, I've downloaded a couple of sample projects from github, but they did not seem to be working; github/noliar/DevZH.UI sharpui/src/SharpUI.Example at master · benpye/sharpui · GitHub Also, i attempted making a GTK# project in mono develop and then adding a .NET Core .dll i made, but that fails hard even though the intellisense works. (this would also be a very nice solution)

推荐答案

看看我的DevZH.UI的分支。我已经能够运行它了。我还修改了一些东西,但此时非常错误,将非托管代码包装到C#的托管环境并不容易。然而,libui的简单性和出色的方法可能值得花时间解决这个问题。 Take a look at my fork of DevZH.UI. I've been able to run it. I've also fixed a few things, but it's pretty buggy at this point, wrapping unmanaged code into C#'s managed environment is not that easy. However the simplicity and the great approach of libui might worth the time to work this out.

更多推荐

使用UI创建.NET核心应用程序?

本文发布于:2023-11-14 03:17:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586066.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   核心   UI   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!