辅助功能切换问题 [英] Accessibility switches problem

查看:95
本文介绍了辅助功能切换问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直得到这个d ***错误而且我正在关闭。有人可以用SIMPLE术语告诉我在哪里放置什么来防止这种情况再次发生!我搞砸了试图将一些代码放在不属于的地方的项目。



我尝试了什么:



GD_Error.jpg - Google云端硬盘 [ ^ ]



.NET Framework中的可访问性有什么新内容Microsoft Docs [ ^ ]

I keep getting this d*** error and I'm f***** p***** off. Can someone please tell me in SIMPLE terms where to put what to keep this from happening again!!! I have messed up projects attempting to put some "code" where it don't belong.

What I have tried:

GD_Error.jpg - Google Drive[^]

What's new in accessibility in the .NET Framework | Microsoft Docs[^]

推荐答案

它在你链接到的文档中说得对:

It says it right in the documentation you linked to:
引用:

将开关添加到< appcontextswitchoverrides> < runtime>中的元素应用程序配置文件的一部分

by adding switches to the <appcontextswitchoverrides> element in the <runtime> section of the application's configuration file





打开app.config文件并对文件的 runtime 部分进行更改。



例如:



Open your app.config file and make the changes to the runtime section of the file.

An example:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>
  <runtime>
    <AppContextSwitchOverrides value="Switch.UseLegacyAccessibilityFeatures=false" />
  </runtime>
</configuration>


这篇关于辅助功能切换问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆