Question:
ASP .NET Web Project: NuGet package does not copy the PDFNet folder to the bin directory when Publishing. Please help.
Answer:
To get the files copied to the Publish Target Location, please make the following changes:
- In your References, please set “Copy Local” property of PDFNet.dll to “True”
- Add the following to PublishProfile i.e. *.pubxml
Under PropertyGroup:
PDFNetFiles; $(CopyAllFilesToSingleFolderForPackageDependsOn); PDFNetFiles; $(CopyAllFilesToSingleFolderForMsdeployDependsOn);ASP .NET Deploying extra files: