好多人卡在第一部,哪位高手出来解答一下啊。加载不进来
2021/4/8
版本1.4.279.0
项目移至gitee,由inspirefunction团队维护
ACAD2020上加载NFox.Pycad.Acad.dll出现“ERR:未将对象引用设置到对象的实例”,如何解决啊
备注:win10 20H2已安装VSCODE
谢谢!
cad2020 netload加载错误
无法加载程序集。错误详细信息: System.IO.FileLoadException: 未能加载文件或程序集“file:///D:\Pycad\NFox.Pycad.Acad.dll”或它的某一个依赖项。不支持操作。 (异常来自 HRESULT:0x80131515)
文件名:“file:///D:\Pycad\NFox.Pycad.Acad.dll” ---> System.NotSupportedException: 尝试从一个网络位置加载程序集,在早期版本的 .NET Framework 中,这会导致对该程序集进行沙盒处理。此发行版的 .NET Framework 默认情况下不启用 CAS 策略,因此,此加载可能会很危险。如果此加载不是要对程序集进行沙盒处理,请启用 loadFromRemoteSources 开关。有关详细信息,请参见 http://go.microsoft.com/fwlink/?LinkId=155569。
在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
在 System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
在 System.Reflection.Assembly.LoadFrom(String assemblyFile)
在 Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
在 loadmgd()
版主,能否给我一个联系方式?
求助!版主,请问下,我想引用Anaconda里的Pandas库,在Pycad项目里需要怎么操作,直接import,最后pyrb编译后的执行提示没有加载成功啊。
加群通过一下呗
未来的迷茫 发表于 2021-9-6 11:07
加群通过一下呗
有群的么,群号多少啊,我也想加入:D
您好,飞狐大哥,我是cad二次开发 .net的想进群与大家交流交流,能不能帮忙拉下群,已经申请,qq号是535083013
牛逼 牛