SachaBr.SimpleITK.Runtime
2.5.5.1
dotnet add package SachaBr.SimpleITK.Runtime --version 2.5.5.1
NuGet\Install-Package SachaBr.SimpleITK.Runtime -Version 2.5.5.1
<PackageReference Include="SachaBr.SimpleITK.Runtime" Version="2.5.5.1" />
<PackageVersion Include="SachaBr.SimpleITK.Runtime" Version="2.5.5.1" />
<PackageReference Include="SachaBr.SimpleITK.Runtime" />
paket add SachaBr.SimpleITK.Runtime --version 2.5.5.1
#r "nuget: SachaBr.SimpleITK.Runtime, 2.5.5.1"
#:package SachaBr.SimpleITK.Runtime@2.5.5.1
#addin nuget:?package=SachaBr.SimpleITK.Runtime&version=2.5.5.1
#tool nuget:?package=SachaBr.SimpleITK.Runtime&version=2.5.5.1
Unofficial SimpleITK Cross-Platform Runtime for .NET 8
This repository contains an unofficial NuGet packaging of the SimpleITK C# binaries, structured and optimized for modern .NET 8+ cross-platform applications (Windows x64 and Linux x64).
Project Structure
To maintain a clear separation between the packaging configuration and the original upstream files, the repository is organized using a vendoring approach:
/SachaBr.SimpleITK.Runtime.csproj— The main .NET project file used to build the NuGet package./3dparty/SimpleITK/— Isolated directory containing unmodified original assets from the SimpleITK project (LICENSE,NOTICE,Readme.md,.dll, and.sofiles).
Package Identity & Status
- Package ID:
SachaBr.SimpleITK.Runtime - Target Framework:
.NET 8.0 - Supported RIDs:
win-x64,linux-x64 - Modifications: The original binary files (
SimpleITKCSharpManaged.dll,SimpleITKCSharpNative.dll, andlibSimpleITKCSharpNative.so) have not been modified or recompiled. - Structure Changes: The files were rearranged into standard NuGet layout (
runtimes/andlib/) during the packing process to leverage automatic native library deployment (Runtime IDentifier) in modern .NET execution environments.
Installation
Install the package via .NET CLI:
dotnet add package SachaBr.SimpleITK.Runtime --version 2.5.5.1
Quick Start
You can verify that both the managed wrapper and the underlying native companion (.dll on Windows / .so on Linux) are loaded correctly by calling the ExtendedVersionString() method, which outputs comprehensive versioning data for both SimpleITK and the underlying ITK core:
using System;
using itk.simple;
class Program
{
static void Main()
{
try
{
// Interrogates the native library layer to verify successful P/Invoke binding
Console.WriteLine("--- SimpleITK Environment Info ---");
Console.WriteLine(Version.ExtendedVersionString());
Console.WriteLine("----------------------------------");
Console.WriteLine("Package is successfully attached and operational!");
}
catch (DllNotFoundException ex)
{
Console.WriteLine("Error: Failed to load the native SimpleITK binary component.");
Console.WriteLine(ex.Message);
}
}
}
License & Copyright
The SimpleITK software is distributed under the Apache License 2.0. The copyright is held by NumFOCUS and the Insight Software Consortium.
- This package is distributed "AS IS", without warranties of any kind, either express or implied.
- Original
LICENSEandNOTICEdocuments are strictly preserved and bundled inside the3dparty/SimpleITK/directory of the resulting NuGet package. - This is a community repackaging effort and is not an official release or endorsed by the SimpleITK Team.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- 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.