Skip to content
This repository was archived by the owner on Aug 2, 2019. It is now read-only.
This repository was 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

Description

@victor-mikhalev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions