Click here to Skip to main content
13,863,292 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
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[^]
Posted
Updated 11-Feb-19 19:41pm
Comments
MadMyche 11-Feb-19 19:35pm
   
Sorry, I can't see your problem. Please try posting the error and relevant code within your post.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

It says it right in the documentation you linked to:
Quote:
by adding switches to the <appcontextswitchoverrides> element in the <runtime> section of the application's configuration file


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>
   
Comments
Maciej Los 12-Feb-19 2:42am
   
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190214.1 | Last Updated 12 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100