question

OSD-4642 avatar image
0 Votes"
OSD-4642 asked OSD-4642 commented

Cannot Load or Find iTextSharp /VB.Net Forms Application

Hi,

When I run application on a different PC other than on I have installed itextshap, I get following error :

the application on PC other than it was created and I am having issues that Could not load file or assembly "itextsharp," Version=5.5.13.2

I have installed itextsharp with following command on PC where I am running Visual Studio, and it is not practical for me to install it on all devices, any thoughts how I can integrate it to the solution itself?

Install-Package iTextSharp

And Copy Local is already True.
94771-image.png

Original Post: datagridview-to-pdf-using-itextsharp-vbnet-forms-a.html


dotnet-visual-basic
image.png (20.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DuaneArnold-0443 avatar image
0 Votes"
DuaneArnold-0443 answered OSD-4642 commented

@OSD-4642

If you deploy the solution to another computer, all DLL(s) the program needs must be deployed with the program. One does this by making an install package that installs the program and all components the program needs to run when it is deployed.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ok Duane, thanks for confirming that there is no other way to integrate .dll within the solution.
Will check out possibilities ....

0 Votes 0 ·