SimpleITK/GettingStarted/A visual guide to SimpleITK with CSharp

From KitwarePublic
Jump to navigationJump to search

In this guide we will show how to setup a C# project in Microsoft Visual Studio 2012 which used the available build binaries for SimpleITK. The same steps and options are needed for the other versions of Visual Studio.

Download

Binary downloads are readily available for C# for Microsoft Visual Studio. They are available on 0.7.1 release.

Select the correct download for you architecture you are going to target.

C# for SimpleITK has two components: Native and Managed. The native code contains the SimpleITK C++ library and is compiled for the particular architecture. There is the "win32" for the Intel x86 32-bit architecture, and the "win64" for the Intel x64 architecture. The correct architecture needs to be chosen.

Unzip downloaded zip file into you "Documents" folder. Inside you will find two "dll" files: "SimpleITKCSharpManaged.dll" and "SimpleITKCSharpNative.dll", as well as some documentation files.

Installation

Creating A Project

Building an Example