JFToolkit.EncryptedExcel 1.2.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package JFToolkit.EncryptedExcel --version 1.2.5
                    
NuGet\Install-Package JFToolkit.EncryptedExcel -Version 1.2.5
                    
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="JFToolkit.EncryptedExcel" Version="1.2.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JFToolkit.EncryptedExcel" Version="1.2.5" />
                    
Directory.Packages.props
<PackageReference Include="JFToolkit.EncryptedExcel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JFToolkit.EncryptedExcel --version 1.2.5
                    
#r "nuget: JFToolkit.EncryptedExcel, 1.2.5"
                    
#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.
#:package JFToolkit.EncryptedExcel@1.2.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JFToolkit.EncryptedExcel&version=1.2.5
                    
Install as a Cake Addin
#tool nuget:?package=JFToolkit.EncryptedExcel&version=1.2.5
                    
Install as a Cake Tool

A .NET library for reading, modifying, and saving password-encrypted Excel files. Built on NPOI with support for both reading encrypted files and saving with encryption using Excel automation. Supports .xlsx, .xlsm (macro-enabled), and .xls formats. Perfect for applications that need to process secure Excel files while maintaining encryption. Supports .NET Standard 2.0, .NET 6.0, .NET 8.0, and .NET 9.0.

Product 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 is compatible.  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 was computed.  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 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

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
1.5.1 12 8/17/2025
1.5.0 10 8/17/2025
1.4.0 22 8/15/2025
1.2.5 33 8/15/2025
1.2.4 32 8/15/2025
1.2.3 38 8/15/2025
1.2.2 36 8/15/2025
1.2.0 93 8/14/2025
1.1.1 90 8/14/2025
1.1.0 90 8/13/2025
1.0.0 95 8/13/2025

v1.2.5:
     - SIMPLIFIED FIX: Removed complex two-stage save process that was causing Excel content errors
     - Direct .xlsm save with explicit format parameters and VBA automation security settings
     - Added explicit false parameters for Excel SaveAs to prevent format confusion
     - Improved PowerShell automation with .xlsm-specific handling
     - Should completely resolve "We found a problem with some content" errors
     
     v1.2.4:
     - CRITICAL FIX: Completely resolved "We found a problem with some content" error for .xlsm files
     - Implemented two-stage save process: .xlsx first, then convert to .xlsm in Excel
     - This eliminates content format inconsistencies that caused Excel errors
     - Files now open cleanly in Excel without any error prompts or recovery dialogs
     - Improved Excel automation reliability for macro-enabled files
     
     v1.2.3:
     - CRITICAL FIX: Resolved "We found a problem with some content" error when opening encrypted .xlsm files in Excel
     - Fixed file format specification in Excel automation (COM and PowerShell)
     - Properly handle .xlsm file format (52 - xlOpenXMLWorkbookMacroEnabled) during encryption
     - Fixed temporary file handling to prevent corruption during .xlsm encryption
     - Excel will no longer prompt for content recovery when opening encrypted .xlsm files
     
     v1.2.2:
     - FIXED: Package author metadata corrected from "Haral" to "JyslaFancy"
     - Ensures proper attribution in NuGet Package Manager displays
     
     v1.2.1:
     - FIXED: "File format not valid" error when creating .xlsm files
     - Improved .xlsm handling to avoid Excel compatibility issues
     - Added clear documentation about NPOI .xlsm limitations
     - Files with .xlsm extension are now saved as .xlsx to prevent errors
     - Added helper methods for proper macro-enabled file workflow
     
     v1.2.0:
     - Added explicit support for macro-enabled Excel files (.xlsm)
     - Enhanced documentation to clearly indicate .xlsm support
     - Added macro-enabled file example in Examples.cs
     - Updated package tags to include 'xlsm' and 'macro'
     - Macros are preserved when reading and saving .xlsm files
     
     v1.1.1:
     - Fixed GitHub repository links in NuGet package metadata
     - Package now correctly links to https://github.com/JyslaFancy/JFToolkit.EncryptedExcel
     
     v1.1.0:
     - Added support for .NET Standard 2.0 (broader compatibility)
     - Added support for .NET 6.0, .NET 8.0, and .NET 9.0
     - Compatible with .NET Framework 4.6.1+ via .NET Standard 2.0
     - Compatible with .NET Core 2.0+ via .NET Standard 2.0
     - Improved cross-platform compatibility
     
     v1.0.0:
     - Read password-encrypted Excel files (.xlsx, .xls)
     - Modify cell data with type safety
     - Add new rows and columns
     - Save with encryption using Excel automation
     - Comprehensive error handling and fallback options
     - Extension methods for easy Excel manipulation