Quantcast
Viewing all articles
Browse latest Browse all 10

iTextSharp issue, That assembly does not allow partially trusted callers

iTextSharp issue, That assembly does not allow partially trusted callers

2. Then you have to modify the AssemblyInfo.cs file by adding these references and attribute:
1
2
3
using System.Security;
using System.Security.Permissions;
[assembly: AllowPartiallyTrustedCallers]
3. You should recompile itextsharp and copy again in your bin directory (depending on the way you use it).

Viewing all articles
Browse latest Browse all 10

Trending Articles