OpenSlideSharp.runtime
4.0.1.3-nightly.20261102.g174630bf
dotnet add package OpenSlideSharp.runtime --version 4.0.1.3-nightly.20261102.g174630bf
NuGet\Install-Package OpenSlideSharp.runtime -Version 4.0.1.3-nightly.20261102.g174630bf
<PackageReference Include="OpenSlideSharp.runtime" Version="4.0.1.3-nightly.20261102.g174630bf" />
<PackageVersion Include="OpenSlideSharp.runtime" Version="4.0.1.3-nightly.20261102.g174630bf" />
<PackageReference Include="OpenSlideSharp.runtime" />
paket add OpenSlideSharp.runtime --version 4.0.1.3-nightly.20261102.g174630bf
#r "nuget: OpenSlideSharp.runtime, 4.0.1.3-nightly.20261102.g174630bf"
#:package OpenSlideSharp.runtime@4.0.1.3-nightly.20261102.g174630bf
#addin nuget:?package=OpenSlideSharp.runtime&version=4.0.1.3-nightly.20261102.g174630bf&prerelease
#tool nuget:?package=OpenSlideSharp.runtime&version=4.0.1.3-nightly.20261102.g174630bf&prerelease
OpenSlideSharp.runtime
Native OpenSlide 4.x libraries for OpenSlideSharp, taken from openslide-bin.
Supported runtime identifiers: win-x64, linux-x64, linux-arm64, osx-arm64, osx-x64.
Reference this package next to OpenSlideSharp; the native library is then copied to your output automatically.
.NET Framework
OpenSlide ships Windows binaries for x64 only, so a .NET Framework app must run as a 64-bit process. Use PlatformTarget x64, or AnyCPU without Prefer32Bit (the SDK-style project default). An exe built as x86, or as AnyCPU with Prefer32Bit set to true, gets build warning OPENSLIDE001 and cannot load the library at run time.
Visual Studio C++
A C++ project (vcxproj) that installs the package with packages.config imports build/native/OpenSlideSharp.runtime.targets. For the x64 platform it adds the OpenSlide headers and the libopenslide.lib import library, and copies libopenslide-1.dll to the output directory; other platforms fail the build with an error, as OpenSlide ships Windows binaries for x64 only. Native PackageReference in C++ projects (Visual Studio 2026 18.7 and later) is untested.
Licensing
The native libraries are builds of OpenSlide (LGPL-2.1) from openslide-bin. Each platform's library statically links further components, each under its own license. LICENSE.txt in the package states the terms. licenses/<platform>/ (windows-x64, linux-x86_64, linux-aarch64, macos-arm64-x86_64) holds the full license texts of that platform's components and VERSIONS.md with their versions. openslide-bin.json names the openslide-bin build and its source tarball (URL and sha256), which is the corresponding source. The same file, openslide-bin-<binVersion>.tar.gz, is attached to the GitHub release of the package's version (tag v<version>), which keeps it after a nightly openslide-bin build is removed; check it against that sha256.
Known issues
On Windows, corrupt JPEG or PNG data in a slide terminates the whole process with 0xC0000409, and the failure cannot be caught. The cause is in the Windows build of the native OpenSlide library, and no workaround is shipped. Services that open untrusted slides on Windows should decode them in a separate worker process. See the details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| native | native is compatible. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1.3-nightly.20261102... | 0 | 11/19/2026 |