I have found the issue in MsBuild scripts. When package added to the WebSite project then IIS locking file bin\x64\pdfium.dll.
Build script tries each build copy pdfium.dll.
To resolve this issue you need to change:
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
to
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
in PdfiumViewer.Native.*.props files
I have found the issue in MsBuild scripts. When package added to the WebSite project then IIS locking file
bin\x64\pdfium.dll.Build script tries each build copy
pdfium.dll.To resolve this issue you need to change:
<CopyToOutputDirectory>Always</CopyToOutputDirectory>to
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>in
PdfiumViewer.Native.*.propsfiles