Some test text!
Dotnetcore / FAQ / How can I get the .NET Core SDK to work on Docker?
The project needs to know where the shared lib is located. You can achieve this by any one of the following 2 approaches.
Approach 1:
You will add the following to the Docker file:
COPY libPDFNet* /usr/lib/ RUN rm /usr/lib/libPDFNetC.so;\ mv /usr/lib/libPDFNetC.so.6.10.0 /usr/lib/libPDFNetC.so
Adding the above commands will resolve the following two issues:
"/usr/lib/"
foldersymlink
is requiredApproach 2:
libPDFNetC.so
and rename the versioned so to libPDFNetC.so
.csproj
file to directly point to libPDFNetC.so
<Content Include="/src/MyApp/libPDFNetC.so">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales