How to Add IronPDF to Installers
Publishing Methods: https://learn.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained
- Self-contained: includes the .NET runtime and libraries, and your application and its dependencies. Users of the application can run it on a machine that doesn't have the .NET runtime installed.
- Framework-dependant: includes only your application itself and its dependencies. Users of the application have to separately install the .NET runtime.
Type Command
framework-dependent executable for the current platform.
framework-dependent executable for a specific platform.
dotnet publish -r <RID> --self-contained false
For more information, see .NET dotnet publish command and .NET fundamentals Single-file deployment and executable
IronPDF Installer
For Windows:
- Include Visual C++ redistributable with your installer if you intend to target very old operating systems before Windows 10
For Linux:
- Please also add IronPdf.Native.Chrome.Linux
For MacOs:
- Please also add IronPdf.Native.Chrome.MacOS
For MacOs.ARM:
- Please also add IronPdf.Native.Chrome.MacOS.ARM
Licensing:
Distribution of your project would require a license including SAAS/OEM Redistribution.
You should apply the license key using IronPdf.License.LicenseKey = 'KEY';