These are chat archives for AvaloniaUI/Avalonia

30th
May 2016
Nikita Tsukanov
@kekekeks
May 30 2016 08:52
  var host = new WebHostBuilder()
    .UseKestrel()
    .UseContentRoot(Directory.GetCurrentDirectory())
    .UseIISIntegration()
    .UseStartup<Startup>()
    .Build();

  host.Run();
That's how ASP.NET Core is now being initialized
appbuilder was a right decision
Steven Kirk
@grokys
May 30 2016 09:22
cool! we might want to change our naming to match theirs i guess
Matthijs ter Woord
@mterwoord
May 30 2016 09:25
Curious, I just tested with a .net core project, and I could add rx.net just fine. how to verify what's wrong for having avalonia run on .net core?
Nikita Tsukanov
@kekekeks
May 30 2016 09:26
We don't have proper windowing/rendering backends for that
Matthijs ter Woord
@mterwoord
May 30 2016 09:27
hmm, i thought the issue was rx.net..
Nikita Tsukanov
@kekekeks
May 30 2016 09:27
There is no GTK for .NET Core
that's the most major blocker
Matthijs ter Woord
@mterwoord
May 30 2016 09:27
ok
Nikita Tsukanov
@kekekeks
May 30 2016 09:27
We can run on windows since our windowing backend there is based entirely on P/Invoke
Matthijs ter Woord
@mterwoord
May 30 2016 09:28
yeah, makes sense.
Nikita Tsukanov
@kekekeks
May 30 2016 09:28
but without xplat it's kinda pointless to support .net core
Matthijs ter Woord
@mterwoord
May 30 2016 09:28
xplat as in gtk# etc?
Nikita Tsukanov
@kekekeks
May 30 2016 09:29
yep
Matthijs ter Woord
@mterwoord
May 30 2016 09:29
would mean you're ready for when gtk# (and friends) get ported
Nikita Tsukanov
@kekekeks
May 30 2016 09:29
Everything else is in PCL
Steven Kirk
@grokys
May 30 2016 09:33
well tbh we've not tried porting yet - but i was checking out the dependencies and people were saying that rx wasn't working
but yeah ther's gtk# but hopefully that will be replaced by shia# soon
Matthijs ter Woord
@mterwoord
May 30 2016 09:33
@grokys Because you're not yet RTM (or close), i'd say getting ready to support xplat even though no backends available yet sounds like a good thing to me...
Steven Kirk
@grokys
May 30 2016 09:33
i think we'll wait for a stable version of .net core though - it's just changing too much
Matthijs ter Woord
@mterwoord
May 30 2016 09:34
the libs are changing as well?
i thought it's mostly about the higher level stuff (and tooling)
Steven Kirk
@grokys
May 30 2016 09:34
well the whole project system will be changing
i don't have time to spend on that - there's more important things to do
Nikita Tsukanov
@kekekeks
May 30 2016 09:34
They promised to make msbuild great again
Matthijs ter Woord
@mterwoord
May 30 2016 09:34
@grokys sure, didn't mean to say that
:)
Steven Kirk
@grokys
May 30 2016 09:35
yeah, no problem! i mean if someone wants to do it, i'd be interested to see it. but imo until they have something reasonably stable it'll just make life difficult for us
Matthijs ter Woord
@mterwoord
May 30 2016 09:35
true
what's shia#?
Steven Kirk
@grokys
May 30 2016 09:37
sorry i mean to type skia#: https://github.com/mono/SkiaSharp
typo ;)
Matthijs ter Woord
@mterwoord
May 30 2016 09:38
right now, does avalonia let you dev for xamarin + mac desktop?
Steven Kirk
@grokys
May 30 2016 09:38
yeah running on mac with cairo works reasonably well - mobile support is still pretty experimental though
Matthijs ter Woord
@mterwoord
May 30 2016 09:39
but that's with mono or with xamarin?
Steven Kirk
@grokys
May 30 2016 09:39
with mono on mac, xamarin on mobile
Matthijs ter Woord
@mterwoord
May 30 2016 09:39
was hoping to use xamarin for mac destop
Nikita Tsukanov
@kekekeks
May 30 2016 09:40
Just use windows in VM
Matthijs ter Woord
@mterwoord
May 30 2016 09:40
i'm talking xamarin mac desktop runtie, not dev environment
Nikita Tsukanov
@kekekeks
May 30 2016 09:40
Oh
No, we don't have a backend for xamarin.mac, I think
but I thought that you could use GTK there as well
Matthijs ter Woord
@mterwoord
May 30 2016 09:41
too bad. maybe that changes with support for skiasharp?
Nikita Tsukanov
@kekekeks
May 30 2016 09:41
since Xamarin.Mac is basically a superset of mono
Matthijs ter Woord
@mterwoord
May 30 2016 09:41
well, bottom line, what i'm looking for, is a visual studio based debugger or running on mac
:)
Nikita Tsukanov
@kekekeks
May 30 2016 09:42
VS supports remote debugging, I think
Matthijs ter Woord
@mterwoord
May 30 2016 09:42
yes, but remote debugging to mono on mac os?
Nikita Tsukanov
@kekekeks
May 30 2016 09:43
Well, there were some old vs addin from mono tools for visual studio
That could do that
Nikita Tsukanov
@kekekeks
May 30 2016 09:43
I'm not sure what happened to it after all that xamarin stuff
Matthijs ter Woord
@mterwoord
May 30 2016 09:45
hmm
Nikita Tsukanov
@kekekeks
May 30 2016 09:56
clrdbg?
that's something new
Miguel de Icaza
@migueldeicaza
May 30 2016 13:18
Why not debug locally from Mac to Mac?
This is about remotely debugging Macs from Windows?
Anyways, support for Xamarin.Mac this will be coming in the future to VS
Matthijs ter Woord
@mterwoord
May 30 2016 13:19
We're a win-bsaed devshop. i want to use visual studio to develop (and debug)
Matthijs ter Woord
@mterwoord
May 30 2016 13:33
@migueldeicaza Cool. Thanks for sharing that info.
Hmm, but I guess I could also dev on windows and use xamarin studio....
Steven Kirk
@grokys
May 30 2016 14:25
hi miguel! welcome! thanks for the tweet the other day!
Darnell Williams
@Seeker1437
May 30 2016 17:28
@mterwoord not rx.net, ReactiveUI. And I guess GTK.
Nikita Tsukanov
@kekekeks
May 30 2016 17:56
we have our own fork of reactiveui
that should perfectly work on .NET Core
Michael Yu
@miyu
May 30 2016 19:28
Has anyone experimented with perspex + dotnet rc2?
Nikita Tsukanov
@kekekeks
May 30 2016 19:59
there is no point in that right now
we are missing GTK
Darnell Williams
@Seeker1437
May 30 2016 20:24
The use of GetType() has to be refactored to the new api surface area. The Disposables are not .net corr compatible
we fix those then yes
Nikita Tsukanov
@kekekeks
May 30 2016 20:24
disposables not compatible?
wat
Darnell Williams
@Seeker1437
May 30 2016 20:25
So said the assessment :O
Nikita Tsukanov
@kekekeks
May 30 2016 20:25
Could you please provide me with a link?
Darnell Williams
@Seeker1437
May 30 2016 20:26
Ill run the assessment again and show the results
Nikita Tsukanov
@kekekeks
May 30 2016 20:26
I'm pretty sure that there is IDisposable in .NET Core
Darnell Williams
@Seeker1437
May 30 2016 20:28
It mainly pointed out CompositeDisposable and SerialDisposable
those kinds
Nikita Tsukanov
@kekekeks
May 30 2016 20:41
Meh, those can be reimplemented from scratch if needed