Please give a brief summary of your issue: I’m using PdfTron dll it working fine in local when I try to deploy the changes on site. Getting error PSDNetC.dll is missing.
(Think of this as an email subject)I’m using PdfTron dll it working fine in local when I try to deploy the changes on site. Getting error PSDNetC.dll is missing. How can I include that file while deploying.
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible:
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
It seems like you’re encountering a common deployment issue where the necessary DLLs are not being included in your Azure deployment. This typically happens if the required DLLs are not correctly referenced or if their properties are not set to be copied during the build process.
Some things you can try:
Ensure that the PDFNetC.dll is added to your project with the correct properties set. In the Solution Explorer, find PDFNetC.dll, and ensure that its “Build Action” is set to “Content” and “Copy to Output Directory” is set to “Copy always”.
Check your deployment settings to ensure that all necessary files are included in the deployment package. This can often be configured in the publish profile settings or by modifying the csproj file directly.
If you are using Azure Web Apps, ensure that the platform settings in Azure portal are set to 64-bit if you are using a 64-bit DLL.
Manually upload the missing DLLs to your Azure site using FTP or Kudu console to verify if the issue resolves.