Results 139 comments of Ivan Kara

i believe avalonia version is not the problem here as i am using nightly. try the 7.0 sdk

for compiling without visual studio i dont think it is possible as the compilers came from the visual studio installation. maybe you can install the compilers manually but idk how

in general this is what you have to do at first: 1. install LLVM 2. clone https://github.com/mono/SkiaSharp 3. `git submodule update --init --recursive` 4. `cd externals\skia` 5. `python .\tools\git-sync-deps` with...

so here is the full command that i use for compiling skiasharp 1. `..\depot_tools\gn gen 'out/windows/x64' --args='target_os=\"win\" target_cpu=\"x64\" is_static_skiasharp=true skia_enable_fontmgr_win_gdi=false skia_use_dng_sdk=true skia_use_icu=false skia_use_piex=true skia_use_sfntly=false skia_use_system_expat=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_enable_skottie=true...

i think including the static lib in the nuget wont be ideal for skiasharp as it is very big even for a single platform. imagine adding other platforms as well.

@danielmayost do you have any issues compiling the native libraries by yourself? please try follow this https://github.com/AvaloniaUI/Avalonia/issues/9503#issuecomment-1474233516

@danielmayost have you tried this https://github.com/AvaloniaUI/Avalonia/issues/9503#issuecomment-1435511465

i don't think it will ever be possible unless this library uses STJ. https://github.com/JamesNK/Newtonsoft.Json/issues/2732 edit: too bad https://github.com/discord-net/Discord.Net/pull/2493

@Misha-133 really? there was a PR about STJ but it was closed.

so after logging out and logging in again, it started working. leave it for 1 day and it is no longer working until i relogin.