问题描述:使用VS2012新建.Net DLL类库,进行在AutoCAD中进行调试,断点无响应

原因揣测:AutoCAD始终使用最计算机中最新版本的.Net Framework,如果遇到问题可尝试使用指定版的.Net Framework

解决方案:修改acad.exe.config,如下

<configuration>
   <startup>
< !--We always use the latest version of the framework installed on the computer. If you are having problems then explicitly specify .NET 2.0 by uncommenting the following line.--> <supportedRuntime version="v2.0.50727"/> </startup> < !--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence--> <runtime> <generatePublisherEvidence enabled="false"/> </runtime> < /configuration>

其中:

<supportedRuntime version="v2.0.50727"/>

可尝试v3.5、v4.0.30319等

具体看 C:\windows\Microsoft.NET\Framework 或 C:\windows\Microsoft.NET\Framework64 中已安装的版本。

另找到一篇文章:http://www.objectarx.net/forum.php?mod=viewthread&tid=4771

相关文章:

  • 2022-12-23
  • 2021-05-07
  • 2022-12-23
  • 2021-10-06
  • 2021-11-21
  • 2021-10-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-12-31
相关资源
相似解决方案