GroupDocs.Assembly
26.6.0
Prefix Reserved
dotnet add package GroupDocs.Assembly --version 26.6.0
NuGet\Install-Package GroupDocs.Assembly -Version 26.6.0
<PackageReference Include="GroupDocs.Assembly" Version="26.6.0" />
<PackageVersion Include="GroupDocs.Assembly" Version="26.6.0" />
<PackageReference Include="GroupDocs.Assembly" />
paket add GroupDocs.Assembly --version 26.6.0
#r "nuget: GroupDocs.Assembly, 26.6.0"
#:package GroupDocs.Assembly@26.6.0
#addin nuget:?package=GroupDocs.Assembly&version=26.6.0
#tool nuget:?package=GroupDocs.Assembly&version=26.6.0
.NET API for Document Assembly
Product Page | Docs | Demo | API Reference | Examples | Blog | Releases | Free Support | Temporary License
An on-premise API to generate documents of various formats based on user-defined templates as well as from other data sources, such as XML, OData, JSON, etc.
Document Assembly Processing Features
- Support for multiple data formats.
- Perform sequential data operations.
- Supports upper, lower, capital, first-cap formatting to template syntax strings.
- Apply ordinal, cardinal, alphabetic, numeric formatting in template syntax.
- Use custom variables in the template documents.
- Support for text comments within template syntax tags.
- Dynamically insert document content & hyperlinks in reports.
- Apply attributes to the email message body.
- Dynamically apply email attachments.
- Generate barcode in reports.
- Dynamically set background color of HTML documents.
- Supports formatting of numeric, text, image, date-time, chart elements in the template.
- Apply conditional formatting on template text elements.
- Linq-based template syntax.
- Use explicit specifications or file extensions to change the format of the assembled files.
- Supports the next field analog of Microsoft Word.
- Update fields during word processing document assembly.
- Support for applying formula during spreadsheet file assembly.
- Automatically remove empty paragraphs.
- Generate various report types, such as charts, lists, tables, etc.
- Instead of exception throwing, support for inline template syntax errors in generated docs.
- Load template documents from HTML with resources.
- Save assembled documents to HTML with resources.
Read & Write Microsoft Office Formats
Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
Microsoft Excel: XLSX, XLSM, XLTX, XLTM, XLSB, XLS, XLT
Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
Read & Write Other Formats
OpenOffice: ODS, ODT, OTT, OTP, ODP, OXPS
Email: EML, MSG, EMLX
Fixed Layout: PDF, XPS
Markup: HTML, MHTML, XML, XAML
Images: TIFF, SVG
eBook: EPUB
PostScript: PS
Printer Control: PCL
Markdown: MD
Text: TXT
Please visit the Supported Document Formats for details.
Develop & Deploy GroupDocs.Assembly Anywhere
Microsoft Windows: Microsoft Windows Desktop (x86, x64), Microsoft Windows Server (x86, x64), Windows Azure
macOS: Mac OS X (x64, ARM64)
Linux: Ubuntu, OpenSUSE, CentOS, and others
Development Environments: Microsoft Visual Studio, JetBrains Rider, Visual Studio Code
Supported Frameworks: .NET Framework 4.0 Client Profile, .NET Framework 4.6.2, .NET 6.0, .NET 8.0, .NET 10.0
Supported Target Frameworks (NuGet)
Starting with version 26.6.0, GroupDocs.Assembly ships as a metapackage that resolves to a dedicated runtime package per target framework — only the binaries matching your TFM are downloaded.
| Package | Target framework |
|---|---|
GroupDocs.Assembly |
metapackage (resolves to one of the below) |
GroupDocs.Assembly.Net40Client |
.NET Framework 4.0 Client Profile |
GroupDocs.Assembly.Net462 |
.NET Framework 4.6.2 |
GroupDocs.Assembly.Net60 |
.NET 6.0 |
GroupDocs.Assembly.Net80 |
.NET 8.0 |
GroupDocs.Assembly.Net100 |
.NET 10.0 |
Install the GroupDocs.Assembly metapackage — NuGet selects the matching runtime automatically.
Get Started
Are you ready to give GroupDocs.Assembly for .NET a try? Simply execute Install-Package GroupDocs.Assembly from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Assembly, assembly in your project. If you already have GroupDocs.Assembly for .Net and want to upgrade it, please execute Update-Package GroupDocs.Assembly to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
Generate a DOCX File from Markdown (MD) template via C# Code
//Setting up source document template
const String strDocumentTemplate = "Markdown Templates/ReadMe.md";
//Setting up destination Markdown reports
const String strDocumentReport = "Word Reports/ReadMe Out.docx";
//Setting up description variable
const string description = "GroupDocs.Assembly for .NET is a class library that enables you to generate documents in popular " +
"office and email file formats based upon template documents and data obtained from various sources " +
"including databases, XML, JSON, OData, objects of custom .NET types, external documents, and more.";
DocumentAssembler assembler = new DocumentAssembler();
//Assemble Document
assembler.AssembleDocument(
CommonUtilities.GetSourceDocument(strDocumentTemplate),
CommonUtilities.SetDestinationDocument(strDocumentReport),
new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
new DataSourceInfo(description, "description"));
}
Use Spreadsheet as a Data Source to Assemble a Document
string strDocumentTemplate = "Word Templates/Using Spreadsheet as Table of Data.docx";
string strDocumentReport = "Word Reports/Using Spreadsheet as Table of Data_Output.docx";
// Assemble a document using the external document table as a data source.
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strDocumentTemplate),
CommonUtilities.SetDestinationDocument(strDocumentReport),
new DataSourceInfo(DataLayer.ExcelData(), "contracts"));
Assemble a Document from JSON Data via C#
// Load the JSON file as the data source.
JsonDataSource dataSource = new JsonDataSource("Managers.json");
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(
"Data destination with nested elements.docx", // template
"AssembleFromJson.docx", // output
new DataSourceInfo(dataSource, "managers"));
Assemble a Tabular Report from a Spreadsheet Data Source via C#
// Pull rows from an external Excel workbook and bind them to a Word template
// containing a <<foreach [r in ds]>> ... <</foreach>> band.
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(
"Data table.docx", // template with a table-band tag
"AssembleTableReport.docx", // output
new DataSourceInfo(DataLayer.ExcelData(), "ds"));
Product Page | Docs | Demo | API Reference | Examples | Blog | Releases | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 | net40-client is compatible. net461 was computed. net462 is compatible. 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. |
-
.NETFramework 4.0 Client
- GroupDocs.Assembly.Net40Client (= 26.6.0)
-
.NETFramework 4.6.2
- GroupDocs.Assembly.Net462 (= 26.6.0)
-
.NETStandard 2.0
- GroupDocs.Assembly.NetStandard20 (= 26.6.0)
-
net10.0
- GroupDocs.Assembly.Net100 (= 26.6.0)
-
net6.0
- GroupDocs.Assembly.Net60 (= 26.6.0)
-
net8.0
- GroupDocs.Assembly.Net80 (= 26.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.6.0 | 103 | 6/30/2026 |
| 25.12.0 | 1,124 | 12/11/2025 |
| 25.6.0 | 1,020 | 6/2/2025 |
| 24.12.0 | 15,765 | 12/27/2024 |
| 24.6.0 | 1,357 | 6/23/2024 |
| 23.8.0 | 38,213 | 8/18/2023 |
| 22.12.0 | 41,302 | 12/22/2022 |
| 22.2.0 | 46,581 | 3/5/2022 |
| 21.9.0 | 26,187 | 9/3/2021 |
| 21.7.0 | 22,555 | 7/9/2021 |
| 21.4.0 | 15,810 | 4/30/2021 |
| 21.3.0 | 30,930 | 3/19/2021 |
| 21.1.0 | 26,054 | 1/31/2021 |
| 20.12.0 | 23,320 | 12/28/2020 |
| 20.11.0 | 21,971 | 11/26/2020 |
| 20.9.0 | 40,027 | 9/30/2020 |
| 20.8.0 | 20,787 | 8/25/2020 |
| 20.6.0 | 77,406 | 6/22/2020 |
| 20.4.0 | 50,198 | 4/23/2020 |
| 20.3.0 | 35,814 | 3/17/2020 |
