Skip to main content
OfficeIMO Docs Search documentation/

Installation

Edit on GitHub

How to install OfficeIMO packages via NuGet, Package Manager Console, or PowerShell Gallery. Includes examples and API links.

Released OfficeIMO .NET packages are distributed through NuGet.org. The PowerShell module is distributed through the PowerShell Gallery.

The current NuGet package line is 3.0.3. Install only the packages an application needs and keep coordinated OfficeIMO package references on the same version.

.NET Packages

OfficeIMO.Word

The core Word document library. Create, read, and modify .docx files.

.NET CLI

dotnet add package OfficeIMO.Word --version 3.0.3

Package Manager Console

Install-Package OfficeIMO.Word -Version 3.0.3

PackageReference (csproj)

<PackageReference Include="OfficeIMO.Word" Version="3.0.3" />

OfficeIMO.Excel

Create and manipulate Excel .xlsx workbooks.

.NET CLI

dotnet add package OfficeIMO.Excel --version 3.0.3

Package Manager Console

Install-Package OfficeIMO.Excel -Version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Excel" Version="3.0.3" />

OfficeIMO.Markdown

Fluent Markdown builder, typed reader/AST, and HTML renderer. Zero external dependencies.

.NET CLI

dotnet add package OfficeIMO.Markdown --version 3.0.3

Package Manager Console

Install-Package OfficeIMO.Markdown -Version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Markdown" Version="3.0.3" />

OfficeIMO.CSV

Strongly-typed CSV document model with validation and streaming.

.NET CLI

dotnet add package OfficeIMO.CSV --version 3.0.3

Package Manager Console

Install-Package OfficeIMO.CSV -Version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.CSV" Version="3.0.3" />

OfficeIMO.Word.Html

Bidirectional Word-to-HTML conversion powered by AngleSharp.

.NET CLI

dotnet add package OfficeIMO.Word.Html --version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Word.Html" Version="3.0.3" />

OfficeIMO.Word.Markdown

Bidirectional Word-to-Markdown conversion built on OfficeIMO.Markdown.

.NET CLI

dotnet add package OfficeIMO.Word.Markdown --version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Word.Markdown" Version="3.0.3" />

OfficeIMO.Word.Pdf

Word-to-PDF conversion built on the first-party OfficeIMO.Pdf engine.

.NET CLI

dotnet add package OfficeIMO.Word.Pdf --version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Word.Pdf" Version="3.0.3" />

OfficeIMO.Excel.Pdf

Excel workbook-to-PDF conversion built on the first-party OfficeIMO.Pdf engine.

.NET CLI

dotnet add package OfficeIMO.Excel.Pdf --version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Excel.Pdf" Version="3.0.3" />

OfficeIMO.Pdf

Direct PDF generation, reading, editing, rendering, and signature workflows.

.NET CLI

dotnet add package OfficeIMO.Pdf --version 3.0.3

PackageReference

<PackageReference Include="OfficeIMO.Pdf" Version="3.0.3" />

PSWriteOffice (PowerShell Module)

PSWriteOffice wraps OfficeIMO for use from PowerShell. Install it from the PowerShell Gallery:

Install-Module -Name PSWriteOffice -Scope CurrentUser

To install for all users (requires elevation):

Install-Module -Name PSWriteOffice -Scope AllUsers

Update to the latest version:

Update-Module -Name PSWriteOffice

Verifying Installation

After installing a .NET package, verify it builds correctly:

dotnet build

For PSWriteOffice, verify the module loads:

Import-Module PSWriteOffice
Get-Module PSWriteOffice

Dependencies

OfficeIMO.Word and OfficeIMO.Excel depend on:

  • DocumentFormat.OpenXml ([3.5.1, 4.0.0)) — The Microsoft Open XML SDK.
  • OfficeIMO.Core — The zero-dependency shared lifecycle, package-safety, data-mapping, color, image, and drawing foundation used by the document packages.

OfficeIMO.Word and OfficeIMO.Excel also use a compatibility helper on older targets:

  • Microsoft.Bcl.AsyncInterfaces (10.0.9) — Async interface compatibility for netstandard2.0 and net472.

OfficeIMO.Excel additionally uses System.Text.Json ([10.0.7,11.0.0)) for JSON support on netstandard2.0 and net472.

OfficeIMO.Word.Html uses the first-party OfficeIMO.Html package, which depends on:

  • AngleSharp (1.5.2) — HTML parsing and DOM manipulation.
  • AngleSharp.Css (1.0.0-beta.216) — CSS parsing for style mapping.

OfficeIMO.Pdf depends on the first-party OfficeIMO.Core and OfficeIMO.Security packages. OfficeIMO.Security brings BouncyCastle.Cryptography ([2.6.2,3.0.0)) for cryptographic and signature support.

OfficeIMO.CSV uses System.Buffers (4.5.1) on netstandard2.0 and .NET Framework compatibility targets. OfficeIMO.Markdown has no third-party runtime dependency beyond the .NET runtime and first-party OfficeIMO.Core package.