Installation
Edit on GitHubHow to install OfficeIMO packages via NuGet, Package Manager Console, or PowerShell Gallery.
Installation
All OfficeIMO .NET packages are published to NuGet.org. The PowerShell module is published to the PowerShell Gallery.
.NET Packages
OfficeIMO.Word
The core Word document library. Create, read, and modify .docx files.
.NET CLI
dotnet add package OfficeIMO.Word
Package Manager Console
Install-Package OfficeIMO.Word
PackageReference (csproj)
<PackageReference Include="OfficeIMO.Word" Version="1.0.39" />
OfficeIMO.Excel
Create and manipulate Excel .xlsx workbooks.
.NET CLI
dotnet add package OfficeIMO.Excel
Package Manager Console
Install-Package OfficeIMO.Excel
PackageReference
<PackageReference Include="OfficeIMO.Excel" Version="0.6.19" />
OfficeIMO.Markdown
Fluent Markdown builder, typed reader/AST, and HTML renderer. Zero external dependencies.
.NET CLI
dotnet add package OfficeIMO.Markdown
Package Manager Console
Install-Package OfficeIMO.Markdown
PackageReference
<PackageReference Include="OfficeIMO.Markdown" Version="0.6.6" />
OfficeIMO.CSV
Strongly-typed CSV document model with validation and streaming.
.NET CLI
dotnet add package OfficeIMO.CSV
Package Manager Console
Install-Package OfficeIMO.CSV
PackageReference
<PackageReference Include="OfficeIMO.CSV" Version="0.1.19" />
OfficeIMO.Word.Html
Bidirectional Word-to-HTML conversion powered by AngleSharp.
.NET CLI
dotnet add package OfficeIMO.Word.Html
PackageReference
<PackageReference Include="OfficeIMO.Word.Html" Version="1.0.13" />
OfficeIMO.Word.Markdown
Bidirectional Word-to-Markdown conversion built on OfficeIMO.Markdown.
.NET CLI
dotnet add package OfficeIMO.Word.Markdown
PackageReference
<PackageReference Include="OfficeIMO.Word.Markdown" Version="1.0.13" />
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.3.0, < 4.0.0) -- The Microsoft Open XML SDK.
- SixLabors.ImageSharp (2.1.11) -- Cross-platform image processing for image insertion and measurement.
OfficeIMO.Word.Html additionally depends on:
- AngleSharp (1.3.0) -- HTML parsing and DOM manipulation.
- AngleSharp.Css (1.0.0-beta.157) -- CSS parsing for style mapping.
OfficeIMO.Markdown and OfficeIMO.CSV have no external dependencies beyond the .NET runtime.