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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SachaBr.SimpleITK.Runtime" Version="2.5.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SachaBr.SimpleITK.Runtime" Version="2.5.5.1" />
                    
Directory.Packages.props
<PackageReference Include="SachaBr.SimpleITK.Runtime" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SachaBr.SimpleITK.Runtime --version 2.5.5.1
                    
#r "nuget: SachaBr.SimpleITK.Runtime, 2.5.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SachaBr.SimpleITK.Runtime@2.5.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SachaBr.SimpleITK.Runtime&version=2.5.5.1
                    
Install as a Cake Addin
#tool nuget:?package=SachaBr.SimpleITK.Runtime&version=2.5.5.1
                    
Install as a Cake Tool

Unofficial SimpleITK Cross-Platform Runtime for .NET 8

NuGet Version License

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 .so files).

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, and libSimpleITKCSharpNative.so) have not been modified or recompiled.
  • Structure Changes: The files were rearranged into standard NuGet layout (runtimes/ and lib/) 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);
        }
    }
}

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 LICENSE and NOTICE documents are strictly preserved and bundled inside the 3dparty/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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last Updated
2.5.5.1 164 5/26/2026
2.5.3.1 120 5/26/2026
2.5.0.1 125 5/26/2026
2.4.1.1 122 5/26/2026
2.3.1.4 191 5/18/2026