These are chat archives for AvaloniaUI/Avalonia

21st
Sep 2017
Matthijs ter Woord
@mterwoord
Sep 21 2017 06:07
@grokys I'd just give them a list. ;)
:smile:
Matthijs ter Woord
@mterwoord
Sep 21 2017 06:22
Cool!
that's a great way to attract more people
Q: i have a linux machine which is in runlevel 2 (read: terminal). but has the gnome stuff installed. what's the best way to get my app running? (not planning to have multi-app support, so just seeing my app is ok.)
linux framebuffer? or is there some way to use gtk (for windoing) in a simple way?
danwalmsley
@danwalmsley
Sep 21 2017 08:30
@grokys @kekekeks was there a workaround for Point existing in both Splat and Netstandard libraries?
Nikita Tsukanov
@kekekeks
Sep 21 2017 09:57
No
danwalmsley
@danwalmsley
Sep 21 2017 09:57
ok incase anyone else has this issue
  <Target Name="ChangeAliasesOfSystemDrawing" BeforeTargets="FindReferenceAssembliesForReferences;ResolveReferences">
    <ItemGroup>
      <ReferencePath Condition="'%(FileName)' == 'Splat'">
        <Aliases>SystemDrawing</Aliases>
      </ReferencePath>
    </ItemGroup>
  </Target>
Nikita Tsukanov
@kekekeks
Sep 21 2017 09:57
Oh, wow
You can actually do that with msbuild
danwalmsley
@danwalmsley
Sep 21 2017 09:58
this works
took a bit of finding
Matthijs ter Woord
@mterwoord
Sep 21 2017 10:10
msbuild to me actually is pretty amazing, also the extent of customization possible, just debugging things is horrible, and finding out information...
:)
danwalmsley
@danwalmsley
Sep 21 2017 12:39
@mterwoord where would I go to get a basic guide to msbuild stuff (if you know) i.e. the workaround I posted above, I would never have known how to work that out, or find the documentation for it, I just happened to stumble upon it in a GitHub issue and copy and paste
Matthijs ter Woord
@mterwoord
Sep 21 2017 12:49
well, good understanding of msbuild as a system (ie, properties, conditions, items, tasks, transformations)
and then do a lot of digging into the files on disk
Steven Kirk
@grokys
Sep 21 2017 13:12
Wow, Scott hanselman must have written that like as soon as he got home!
Matthijs ter Woord
@mterwoord
Sep 21 2017 13:12
:)
Steven Kirk
@grokys
Sep 21 2017 13:14
it was his way of trying to make up for the VS2017 problems we've been having ;)
Matthijs ter Woord
@mterwoord
Sep 21 2017 13:22
keep complaining then... ;)
Steven Kirk
@grokys
Sep 21 2017 13:26
i was speaking to the VS project manager, and he's aware of the problems. we might be able to get avalonia used as a test case for VS hangs/load speed etc
Friedrich von Never
@ForNeVeR
Sep 21 2017 13:27
Oh wow!
Matthijs ter Woord
@mterwoord
Sep 21 2017 13:29
i know a few more projects for that.. :P
but having avalonia in the picture like that is definitely good!
Nikita Tsukanov
@kekekeks
Sep 21 2017 14:14
@jkoritzinsky @grokys
I think I've found what causes issues with Direct2D on some machines
D3D11_CREATE_DEVICE_VIDEO_SUPPORT flag was added for AvaloniaAV
But it will cause device creation to fail
if video driver doesn't support WDDM 1.2
Jeremy Koritzinsky
@jkoritzinsky
Sep 21 2017 20:28
@kekekeks Maybe we can do a fallback (try to initialize w/ video support and create one without video support if it isn't supported)?
Nikita Tsukanov
@kekekeks
Sep 21 2017 20:31
Yep, something along the lines
Nikita Tsukanov
@kekekeks
Sep 21 2017 21:12
@grokys Wyam also offers a blog engine
Might be nice to combine that with docs, I guess
Jeremy Koritzinsky
@jkoritzinsky
Sep 21 2017 21:37
I'm guessing the new repo is going to be website/docs?
Nikita Tsukanov
@kekekeks
Sep 21 2017 21:39
The thing is that Wyam needs access to the source code
To generate API documentation
So we can't just move it to another repo
Jeremy Koritzinsky
@jkoritzinsky
Sep 21 2017 22:13
Submodule or subtree maybe?
Or run in CI and have it commit/PR back results to the docs repo? I know that's convoluted but it might work.
Nikita Tsukanov
@kekekeks
Sep 21 2017 23:05
Something like that
Still need to automate that stuff on CI
But at least it doesn't require a hour to print an error
Wyams' API doc generator is definitely better
It provides more information about the class