mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 240 forks source link

Support for dotnet core? #612

Open costincaraivan opened 8 years ago

costincaraivan commented 8 years ago

As the title says, is support for dotnet core planned?

ghost commented 8 years ago

And in addition what is about future of Xwt at all? not only in relationship with .Net Core... I am looking for .net / .net core cross-platform library to create UI... what is about Xwt vs Eto Forms? I cannot find information how Xwt will evolve... and about any benefits over Eto Forms. Can you give more information?

al1b commented 8 years ago

any plans for .Net Standard?

harry-cpp commented 7 years ago

what is about Xwt vs Eto Forms? I cannot find information how Xwt will evolve... and about any benefits over Eto Forms. Can you give more information?

Here is my experience:

Eto.Forms is based on WPF/WinForms, while Xwt is based on Gtk. That said I prefer the Xwt API since I am very good with Gtk, tho I mostly use Eto.Forms since it's more powerful.

HinTak commented 7 years ago

I'd also ask about tags and releases - when will any releases be tagged, and what's the target/criteria for that to happen?

HinTak commented 7 years ago

Eto.Forms was tagged 2.2.0 last december, 9 months ago; and has a number of 3.0 milestones on its issue list, etc.

eltiare commented 7 years ago

I'm trying to use this with dotnet core 2.0 (preview) on Mac, and am disappointed that I am not able to add the package via nuget. Is there planned support?

tchadwick commented 6 years ago

Bump ^ .NET Core support would be awesome!

harry-cpp commented 6 years ago

Eto.Forms has .net core support, just saying....

tchadwick commented 6 years ago

Really? It looks like it's using Mono, not .Net Core. Is there a different area I'm not seeing?

eltiare commented 6 years ago

There's confusion between .Net Standard and .Net Core since they're closely related. I'd gladly settle for .Net Standard.

harry-cpp commented 6 years ago

Descriptions for some nugets should get updated, but https://www.nuget.org/packages/Eto.Platform.Gtk/ uses .NET Standard 2.0.

There's confusion between .Net Standard and .Net Core since they're closely related. I'd gladly settle for .Net Standard and works from .NET Core.

eltiare commented 6 years ago

I still can't seem to be able to add this to a Cocoa MacOS app.

Error from nuget:

Attempting to gather dependency information for package 'Xwt.0.2.111' with respect to project 'Test', targeting 'Xamarin.Mac,Version=v2.0'
  GET https://api.nuget.org/v3/registration3-gz-semver2/xwt/index.json
  OK https://api.nuget.org/v3/registration3-gz-semver2/xwt/index.json 158ms
Total number of results gathered : 1
Gathering dependency information took 3.06 sec
Summary of time taken to gather dependencies per source :
https://api.nuget.org/v3/index.json -   170.76 ms
Attempting to resolve dependencies for package 'Xwt.0.2.111' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Xwt.0.2.111'
Resolved actions to install package 'Xwt.0.2.111'
Retrieving package 'Xwt 0.2.111' from 'nuget.org'.
For adding package 'Xwt.0.2.111' to project 'Test' that targets 'xamarinmac20'.
Install failed. Rolling back...
Package 'Xwt.0.2.111' does not exist in project 'Test'
Package 'Xwt.0.2.111' does not exist in folder '/Users/eltiare/Projects/Test/packages'
Executing nuget actions took 5.56 ms
Could not install package 'Xwt 0.2.111'. You are trying to install this package into a project that targets 'Xamarin.Mac,Version=v2.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
harry-cpp commented 6 years ago

Eto Forms is not Xwt... https://github.com/picoe/Eto

Also I am talking about the gtk backend only (and all the core components).

lytico commented 4 years ago

i have ported

Xwt

to .net standard - see here: https://github.com/limada/limada/tree/master/3rdParty/src/Mono.Xwt/Xwt

the problem is getting

Xwt.Gtk

to .net standard. I started to adopt

https://github.com/GtkSharp/GtkSharp

for Xwt.Gtk, but failed until now.

So, if someone gets Xwt.Gtk with https://github.com/GtkSharp/GtkSharp as backend to run, we would have Xwt on .netstandard and .net core

lytico commented 4 years ago

got Xwt.Gtk3-Backend with https://github.com/GtkSharp/GtkSharp as backend compiling & running with some bugs is someone else interested? it seems not so hard to finish

ShadowTeolog commented 3 years ago

able to use it in .NET 5.0 project. It work somehow but with warning Warning NU1701: Package 'Xwt.WPF 0.2.247' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0-windows7.0'. This package may not be fully compatible with your project.

lytico commented 3 years ago

if have a fork for .netstandard & GtkSharp here: https://github.com/lytico/xwt/tree/lytico_gtksharp

and some new forks of the fork: https://github.com/limada/xwt/tree/Limada_2010

costincaraivan commented 10 months ago

Ping 🙂 How does Xwt hold up against modern .NET frameworks?