【发布时间】:2020-11-19 11:00:41
【问题描述】:
我创建了一些与 Inventor 配合良好的 AppBundle,我必须包含 Autodesk.Inventor.interop.dll 才能使插件正常工作。现在我有一个插件,我在其中部署 dll,但它无法解析 dll 或其依赖项之一。
这是实际的日志内容:
InventorCoreConsole.exe Information: 0 : Opening document: T:\Aces\Jobs\d5df421ba2ab4c098cfaef8b4db76b76\inputFiles\ThisJobAssembly.iam
InventorCoreConsole.exe Information: 0 : Opened
[07/29/2020 17:25:49] InventorCoreConsole.exe Information: 0 : Getting Inventor plug-in.
[07/29/2020 17:25:49] InventorCoreConsole.exe Information: 0 : Plug-in: Sample Assembly Automation Plugin
[07/29/2020 17:25:49] InventorCoreConsole.exe Information: 0 : Activating plug-in: Sample Assembly Automation Plugin
[07/29/2020 17:25:49] InventorCoreConsole.exe Information: 0 : Deactivating plug-in: Sample Assembly Automation Plugin
[07/29/2020 17:25:49] Could not load file or assembly 'Autodesk.Inventor.Interop, Version=23.1.0.0, Culture=neutral, PublicKeyToken=d84147f8b4276564' or one of its dependencies.
我可以在本地调试这个插件没有问题。然后我获取了整个输出文件夹的内容并尝试了它并收到了同样的错误。我已经确认输出中的 dll 是 23.1.0.0 版本。
我看到这个应用程序和以前的应用程序之间的唯一区别是几个 iLogic 程序集的实现。不确定这是否会导致问题。
有什么想法吗?
【问题讨论】:
标签: autodesk-forge