Skip to content

Support Windows Nano Server #676

@mattleibow

Description

@mattleibow

Description

Windows Nano Server is missing some dlls, so SkiaSharp does not work. Related to #591

Having a look at Nano Server... Ran the NanoServerApiScan.exe tool from: https://blogs.technet.microsoft.com/nanoserver/2016/04/27/nanoserverapiscan-exe-updated-for-tp5/

=== libSkiaSharp.dll === ERRORS: FONTSUB.dll CreateFontPackage(Proc not found) USER32.dll SystemParametersInfoW(Proc not found) MSVCP140.dll … … … Please copy Nano Server compliant MSVCP140.dll from %ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.CRT\ VCRUNTIME140.dll … … … Please copy Nano Server compliant VCRUNTIME140.dll from %ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\redist\onecore\x64\Microsoft.VC140.CRT\ 

I need to investigate the 2 usages that appear to be bad:

  • FONTSUB.dll (CreateFontPackage)
  • USER32.dll (SystemParametersInfoW)

Just did some investigation :)

CreateFontPackage from FONTSUB.dll is just for XPS support - and this is also just for font subsetting. The UWP build does not have this at all, so I could just remove it for a nano build.

SystemParametersInfoW from USER32.dll is also not too essential - it is just for determining the default font. Again, this is not available for UWP - we just pick the "Segoe UI" which we know is available by default.

Nano Server support could very well be possible in the near future - just have to check priorities.

Add your vote to this issue so we can prioritize this issue.

VS bug #727251

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions