Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for OCCT.NET DLL not loading inside Docker container — Could not load file or assembly 'C:\app\Occt.NET.dll'. The specified module could not be found

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
May 26, 2025 at 12:02 comment added SlobodanT Also it would be good to share the relevant dockerfile for your image.
May 26, 2025 at 12:01 comment added SlobodanT It looks like you are mixing two types of referencing the same library. Have you tried just using nuget package reference?
May 22, 2025 at 4:52 comment added Anshuman Singh This is working when running from an IDE like VS Code, but I'm not able to run the app in Docker whether Windows based image or Linux. I tried manually copying the dlls inside output directory of docker image but still not working.
May 22, 2025 at 4:50 comment added Anshuman Singh I have added the Occt.NET package via the "dotnet add package Occt.NET --version 7.9.0" command. But it doesn't automatically brings the dlls in bin folder during build of my app. So, I have put Occt.NET.dll and its relative dlls inside libs folder and mention csproj file of my app to manually copy every dll inside bin folder during build time. Below is snippet form my csproj <ItemGroup> <Reference Include="Occt.NET"> <HintPath>libs\Occt.NET.dll</HintPath> </Reference> </ItemGroup> <ItemGroup> <PackageReference Include="Occt.NET" Version="7.8.1.2" /> </ItemGroup>
S May 22, 2025 at 3:08 history suggested DavidMWilliams CC BY-SA 4.0
Minor rewrites for clarity
May 15, 2025 at 2:22 review Suggested edits
S May 22, 2025 at 3:08
May 12, 2025 at 20:11 comment added SlobodanT How does your app reference the .dll?
S May 12, 2025 at 15:21 review First questions
May 15, 2025 at 2:22
S May 12, 2025 at 15:21 history asked Anshuman Singh CC BY-SA 4.0 created from wizard

AltStyle によって変換されたページ (->オリジナル) /