SharpDocx 2.1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SharpDocx --version 2.1.0.1                
NuGet\Install-Package SharpDocx -Version 2.1.0.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="SharpDocx" Version="2.1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpDocx --version 2.1.0.1                
#r "nuget: SharpDocx, 2.1.0.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.
// Install SharpDocx as a Cake Addin
#addin nuget:?package=SharpDocx&version=2.1.0.1

// Install SharpDocx as a Cake Tool
#tool nuget:?package=SharpDocx&version=2.1.0.1                

Framework for creating Word documents
- Use C# code inside Word documents for inserting text, images or tables.
- Supports the MVC pattern, where the view is a Word document.
- Supports .NET Framework 3.5/4.5+ and .NET Standard 2.0.
- Based on Microsoft's Open XML SDK.
- Source code, tutorial and sample code on GitHub.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on SharpDocx:

Package Downloads
TS.AppFramework

Package Description

Base.TBH

Package Description

Yiyun.Office

Yiyun.Office

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.5.0 17,066 4/24/2024
2.4.1 288 4/18/2024
2.4.0 57,387 1/30/2023
2.3.0 14,861 10/9/2022
2.2.0 36,908 1/20/2022
2.1.0.1 12,514 10/16/2021
2.0.4 69,224 8/17/2020
2.0.3 1,262 7/28/2020
2.0.2 15,173 3/13/2020
2.0.1 1,561 2/7/2020
1.2.1 1,392 12/23/2019
1.2.0 1,739 2/22/2019
1.1.0 6,940 1/4/2018
1.0.0 1,750 1/1/2018

Version 2.1.0 - October 16, 2021
- Added an overload for the Generate method that returns a stream (issue #8 and #9).
- Added support for Source Link.
- Updated samples to .NET Core 3.1.
- Updated DocumentFormat.OpenXml to 2.13.1.
- Fixed issue #34.
- Fixed issue #36.

Version 2.0.4 - August 8, 2020
- Fixed issue #21.

Version 2.0.3 - July 28, 2020
- Fixed issue #18.

Version 2.0.2 - March 14, 2020
- Fixed issue #4 and #14.

Version 2.0.1 - February 7, 2020
- Supports templates in loops and if-statements.
- Templates can be nested (see tutorial).

Version 1.2.1 - December 23, 2019
- Upgraded to DocumentFormat.OpenXml 2.9.1.
- Fixed issue with NuGet dependencies.

Version 1.2.0 - February 22, 2019
- Added support for .NET Standard 2.0.

Version 1.1.0 - January 4, 2018
- Some performance improvements.
- You can now specify a view model when calling Document.Generate.
- Tidied up API.

Version 1.0.0 - January 1, 2018
- Initial version.