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.WordPackage Manager Console
Install-Package OfficeIMO.WordPackageReference (csproj)
<PackageReference Include="OfficeIMO.Word" Version="1.0.39" />OfficeIMO.Excel
Create and manipulate Excel .xlsx workbooks.
.NET CLI
dotnet add package OfficeIMO.ExcelPackage Manager Console
Install-Package OfficeIMO.ExcelPackageReference
<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.MarkdownPackage Manager Console
Install-Package OfficeIMO.MarkdownPackageReference
<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.CSVPackage Manager Console
Install-Package OfficeIMO.CSVPackageReference
<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.HtmlPackageReference
<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.MarkdownPackageReference
<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 CurrentUserTo install for all users (requires elevation):
Install-Module -Name PSWriteOffice -Scope AllUsersUpdate to the latest version:
Update-Module -Name PSWriteOfficeVerifying Installation
After installing a .NET package, verify it builds correctly:
dotnet buildFor PSWriteOffice, verify the module loads:
Import-Module PSWriteOffice
Get-Module PSWriteOfficeDependencies
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.