Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for dotnet core? #612

Open
costincaraivan opened this issue Jul 16, 2016 · 18 comments
Open

Support for dotnet core? #612

costincaraivan opened this issue Jul 16, 2016 · 18 comments

Comments

@costincaraivan
Copy link

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

@ghost
Copy link

ghost commented Aug 5, 2016

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
Copy link

al1b commented Aug 15, 2016

any plans for .Net Standard?

@harry-cpp
Copy link
Contributor

harry-cpp commented Sep 25, 2016

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 Advantages
    • more platforms (Android, iOS, WinMetro... )
    • has toolbar
    • has VS and XS addins that allows preview for designing GUI
    • easy per platform style configurations for controls
    • proper window startup positioning with multiple monitors
  • Eto.Forms Disadvantages
    • more buggy
    • horrible treeview, if you need adding / removing just one value the entire treeview needs refreshing
    • no drag & drop

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
Copy link

HinTak commented Sep 26, 2016

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
Copy link

HinTak commented Sep 26, 2016

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
Copy link

eltiare commented Aug 10, 2017

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
Copy link

Bump ^ .NET Core support would be awesome!

@harry-cpp
Copy link
Contributor

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

@tchadwick
Copy link

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

@eltiare
Copy link

eltiare commented Jun 19, 2018

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

@harry-cpp
Copy link
Contributor

harry-cpp commented Jun 19, 2018

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.

  • netstandard2.0 - replacement for PCL, can be used from both .NET Core apps and .NET Framework
  • coreapp2.0 - just a target framework

@eltiare
Copy link

eltiare commented Jun 19, 2018

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
Copy link
Contributor

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
Copy link
Contributor

lytico commented Sep 26, 2019

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
Copy link
Contributor

lytico commented Mar 31, 2020

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
Copy link

ShadowTeolog commented Aug 11, 2021

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
Copy link
Contributor

lytico commented Aug 11, 2021

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants