Why am I receiving the "System.DllNotFoundException: …" error in my ODA .NET app, even though I have put the specified DLL in the output folder?

  1. FAQ
  2. »
  3. Build issues

Most likely, this is happening because of missing C++ libraries from the output folder: as our .NET SDKs are only wrappers over our C++ ones, all the required native libraries should be available to .NET application too. This applies to all of our SDKs. 

Most of the original C++ libraries are presented as separate .NET DLLs: FacetModeler_{version}.dll -> OdSwig_FacetModeler_Mgd.dll 
However, there are two exceptions: TD_RootIntegrated and TD_DbCoreIntegrated, which contain combined APIs from several C++ modules. 

Core C++ libraries are specified in the "Core components" section in "Determining which Libraries to Use" documentation page: https://docs.opendesign.com/td/tdrawings_libraries.html.