我正在尝试使用netload命令在accoreconsole.exe(AutoCAD 2016)中加载我的自定义.net dll,但无法加载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:
在加载dll之前还有什么需要做的吗?
注意:此dll未签名。
Thnaks
答案 0 :(得分:4)
检查两件事:
答案 1 :(得分:1)
这并没有回答非加载(Augusto回答的问题)...您看到的奇怪输出是由于2015年版本中使用Core Console引入的错误。在http://forums.autodesk.com/t5/net/accoreconsole-exe-in-2015-doesn-t-do-system-console-writeline/m-p/5539352#M43603
讨论了原因和解决方法我找到了一个更简单的解决方法,在打开的控制台窗口中单击 窗口的左上角图标=&gt; &#34;默认&#34; = GT; ,布局选项卡,设置 屏幕缓冲区大小宽度和窗口大小宽度到一些愚蠢的东西 像150,它仍然是电传机器的东西,但至少它 不会重演。
注意 - Autodesk非常喜欢破坏他们的东西的链接所以在这里发表评论他们打破了它,我会修复它。