A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Hi @Jonathan ,
The error is happening because Xam.iTextSharpLGPL 0.1.0 is an old Xamarin package and it does not appear to support your current target frameworks, such as net10.0-ios, net10.0-maccatalyst, and net10.0-windows.
Bruce's answer is correct. This package is based on an older iTextSharp version, so this is not just a dotnet add package command issue — the package itself is not compatible with the target frameworks being used.
If you still want to use an older LGPL-based iTextSharp option, you may need to look for a package that supports modern .NET targets, such as iTextSharp.LGPLv2.Core. However, please review the package license and compatibility to make sure it fits your project.
If you need newer official iText features, please also review the official iText AGPL/commercial licensing terms before using it in your application.
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.
Thank you.