{"action":"closed","issue":{"url":"https://api.github.com/repos/pvginkel/PdfiumViewer/issues/111","repository_url":"https://api.github.com/repos/pvginkel/PdfiumViewer","labels_url":"https://api.github.com/repos/pvginkel/PdfiumViewer/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/pvginkel/PdfiumViewer/issues/111/comments","events_url":"https://api.github.com/repos/pvginkel/PdfiumViewer/issues/111/events","html_url":"https://github.com/pvginkel/PdfiumViewer/issues/111","id":224678514,"number":111,"title":"Native pdfium.dll dlls not copied to project at nuget restore","user":{"login":"ptr1120","id":582627,"avatar_url":"https://avatars3.githubusercontent.com/u/582627?v=4","gravatar_id":"","url":"https://api.github.com/users/ptr1120","html_url":"https://github.com/ptr1120","followers_url":"https://api.github.com/users/ptr1120/followers","following_url":"https://api.github.com/users/ptr1120/following{/other_user}","gists_url":"https://api.github.com/users/ptr1120/gists{/gist_id}","starred_url":"https://api.github.com/users/ptr1120/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptr1120/subscriptions","organizations_url":"https://api.github.com/users/ptr1120/orgs","repos_url":"https://api.github.com/users/ptr1120/repos","events_url":"https://api.github.com/users/ptr1120/events{/privacy}","received_events_url":"https://api.github.com/users/ptr1120/received_events","type":"User","site_admin":false},"labels":[{"id":237550190,"url":"https://api.github.com/repos/pvginkel/PdfiumViewer/labels/pending","name":"pending","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-27T05:59:45Z","updated_at":"2017-11-06T11:48:53Z","closed_at":"2017-11-06T11:48:53Z","author_association":"NONE","body":"Hi,\r\n\r\nthanks for PdfiumViewer it's a really good solution for rendering pdfs in a .net program.\r\nWhen installing the PdfiumViewer nuget package to a project everything works fine (if I set the native pdfium.dll to be copied always to output directory).\r\nBut when I work with a version control system (e.g. git) and someone checks out my project referencing  PdfiumViewer the PdfiumViewer nuget package is restored via nuget restore, which does not copy the native pdfium.dll to my project folder (again) and therefore the build of my project fails. What about referencing the native libraries from the nuget folder, instead of copying them one time only at nuget install? See also: [Nuget refernce: Creating native packages](https://docs.microsoft.com/en-us/nuget/create-packages/native-packages),  [Nuget refernce: Including MSBuild props and targets in a package](https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package#including-msbuild-props-and-targets-in-a-package)\r\n\r\nBest regards,\r\nPeter "}}
{"actor":{"display_login":"pvginkel"}}