乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 19|回复: 0

[编程交流] RealDWG: .NET: Strange Error??

[复制链接]

10

主题

23

帖子

11

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
60
发表于 2022-7-6 14:56:30 | 显示全部楼层 |阅读模式
After successfully developing a RealDWG based solution we are running into what seems to be a configuration issue when we try to migrate to another machine. We have a need to undergo development of this solution on another machine (with another developer). We have installed RealDWG and Visual Studio, in effect mirroring the setup our of current development machine.
 
Now, the error we get has been replicated when trying to deploy the complied solution to another machine (console app in this case).
 
The new development machines cannot even run the samples!
 
  1. System.IO.FileNotFoundException was unhandled Message="Could not load file or assembly 'acdbmgd, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified." Source="DumpDwg" FileName="acdbmgd, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null" FusionLog="=== Pre-bind state information ===\r\nLOG: User = CORPORATE\\e8v\r\nLOG: DisplayName = acdbmgd, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null\n (Fully-specified)\r\nLOG: Appbase = file:///C:/Program Files/RealDWG 2009/Samples/dotNet/DumpDwg/bin/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : DumpDwg, Version=1.0.3357.26522, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\config\\machine.config.\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: Attempting download of new URL file:///C:/Program Files/RealDWG 2009/Samples/dotNet/DumpDwg/bin/acdbmgd.DLL.\r\nLOG: Attempting download of new URL file:///C:/Program Files/RealDWG 2009/Samples/dotNet/DumpDwg/bin/acdbmgd/acdbmgd.DLL.\r\nLOG: Attempting download of new URL file:///C:/Program Files/RealDWG 2009/Samples/dotNet/DumpDwg/bin/acdbmgd.EXE.\r\nLOG: Attempting download of new URL file:///C:/Program Files/RealDWG 2009/Samples/dotNet/DumpDwg/bin/acdbmgd/acdbmgd.EXE.\r\n" StackTrace:      at DumpDwg.Module1.Main(String[] CmdArgs)      at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)      at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)      at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)      at System.Threading.ThreadHelper.ThreadStart()
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 21:33 , Processed in 0.556264 second(s), 54 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表