When I upgrade PDFCreator from version 3.2.0 to the new version one 4.4.1 or 5.0.1.1. My excel VSTO addin can’t work(the addin using VB.net VS2019, just call PDFCreator com to print). it works in PDFCreator 3.2.0 with .net Framework 4.5.1, excel 2013 or 2016.
I compiled my addin again( PDFCreator 4.4.1 with .net Framework 4.7.2), it doesn’t work when define “PDFCreatorQueue”(Dim PDFCreatorQueue As Queue = New Queue) and get err like this:
“ActivationException: No registration for type PdfCreatorAdapter could be found and an implicit registration could not be made. “System.Security.AccessControl, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”

By the way, In windows Forms App, it works good. but it’s failed in VSTO addin(I am sure referenced and imported the dll).
Anyone can help? thanks!

I tried change .net Framework,doesn’t work. also change debug any CPU/X64/X86.
only works PDFCreator version 3.5 and below.

New contributor

taqqug is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

1

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *