作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用netload命令将我的自定义.net dll加载到accoreconsole.exe(AutoCAD 2016)中,但无法加载该dll。
以下是accoreconsole.exe的输出:
Redirect stdout (file: C:\Users\amitp\AppData\Local\Temp\accc37242).
AutoCAD Core Engine Console - Copyright Autodesk, Inc 2009-2013.
Usage:
AcCoreConsole.exe [/i <input dwg>] /s <script>[/product <product>] [/l <language
>] [/isolate <userid> <userDataFolder>] [/readonly] [/p[rofile] <profile>]
Example:
AcCoreConsole.exe /i 8th_floor.dwg /s test.scr /l en-US
Regenerating model.
**** System Variable Changed ****
1 of the monitored system variables has changed from the preferred value. Use SY
1 of the monitored system variables has changed from the preferred value. Use SY
SVARMONITOR command to view changes.
Command:
Command:
Command:
Command: netload
Command: netload
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
dDwgReaderTest\DwgTextExtracter\bin\Debug\DwgTextExtracter.dll"
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoc
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
Assembly file name: "C:\Users\amitp\Documents\Visual Studio 2012\Projects\Autoca
dDwgReaderTest\DwgTextExtracter\bin\Debug\DwgTextExtracter.dll"
Unable to load C:\Users\amitp\Documents\Visual Studio 2012\Projects\AutocadDwgRe
Unable to load C:\Users\amitp\Documents\Visual Studio 2012\Projects\AutocadDwgRe
Unable to load C:\Users\amitp\Documents\Visual Studio 2012\Projects\AutocadDwgRe
Unable to load C:\Users\amitp\Documents\Visual Studio 2012\Projects\AutocadDwgRe
Unable to load C:\Users\amitp\Documents\Visual Studio 2012\Projects\AutocadDwgRe
aderTest\DwgTextExtracter\bin\Debug\DwgTextExtracter.dll assembly.
Command:
最佳答案
检查两件事:
确保仅使用AcCoreMgd.dll和AcDbMgd.dll引用
将DLL放置在受信任的位置,例如AutoCAD(acad.exe)文件夹或“程序文件”文件夹下。
关于autocad - 在accoreconsole.exe中加载自定义.net dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31262545/
我是一名优秀的程序员,十分优秀!