-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Runtime Requirements
Jumar Macato edited this page Jul 4, 2018
·
9 revisions
- You need Win8+ or Win7 with platform update to use Direct2D backend (you won't be able to use previewer in VS without this one).
- Skia backend (you won't be able to run on .NET Core without this one) needs Microsoft Visual C++ 2015 Redistributable installed. If you want a self-contained deployment, you need to ship
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\<arch>\Microsoft.VC140.CRT\msvcp140.dll
and..\vcruntime140.dll
, see more info here.
- You need Mono 5.0+ or .NET Core 1.1+
- GTK3 has to be installed in the system or be available from
LD_LIBRARY_PATH
. - Skia backend is built against glibc 2.13. If your distro ships with older one or uses something else instead, you need to build your own libSkiaSharp.so - https://github.com/mono/SkiaSharp . We provide a precompiled binary only for x64 arch, arm is planned.
TL;DR: Use .NET Core and something mainstream like ubuntu and it will work just fine. On Debian/Ubuntu install mono-complete
from deb http://download.mono-project.com/repo/debian alpha-wheezy main
if you want to target full .NET
- You need Mono 5.0+ or .NET Core 1.1+
- You need to install
gtk+3
from brew (this dependency is planned to be removed later)
brew update
brew install gtk+3
export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/4.5/
before running dotnet build
Those are experimental, but you don't need anything specific. It should work with Xamarin tooling out of the box.
export FrameworkPathOverride=/usr/lib/mono/4.5/
before running dotnet build