You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.
Could not copy "\packages\PdfiumViewer.Native.x86_64.v8-xfa.2017.12.4.236\build\x64\pdfium.dll" to "bin\x64\pdfium.dll". Exceeded retry count of 10. Failed.
#2
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
The text was updated successfully, but these errors were encountered:
I confirm this behavior. When I changed to: <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Compilation has no warnings.
Is it possible to change this property or where can I find those props files to creatr PR for this issue?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
filesThe text was updated successfully, but these errors were encountered: