最近我遇到了一个很头疼的问题,就是在使用win10系统CAD二次开发软件时,经常会出现无法加载或者卡住的情况,导致工作进度受到严重影响,这让我不得不开始寻找解决办法,希望能够尽快解决这个困扰我已久的问题。
方法如下:
1.首先确保你电脑是正常安装好了CAD程序了,此事点击软件图标右键进入安装目录。找到我图中这个acad.exe.config文件。一会就要修改它。
2.找到这个文件,并使用记事本来打开它。接下来就是修改代码了。图中蓝色底色这个代码先删除,然后将下方代码复制到被删除的代码所在行。
代码:
<AppContextSwitchOverrides value="Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true"/>
For example:
<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
<runtime>
<generatePublisherEvidence enabled="false"/>
<AppContextSwitchOverrides value="Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true"/>
</runtime>
3.覆盖完成后的代码应该如下图所示:
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
<runtime>
<AppContextSwitchOverrides value="Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true"/>
For example:
<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
<runtime>
<generatePublisherEvidence enabled="false"/>
<AppContextSwitchOverrides value="Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true"/>
</runtime>
</runtime>
</configuration>
以上就是win10系统cad二次开发软件加载不了的全部内容,如果您遇到这种情况,可以按照以上方法进行解决,希望这能对大家有所帮助。
win10系统教程推荐