This is a known issue that will be addressed in an upcoming Windows Update.
Until the fix is available, to work around this issue, turn off all pen and touch support for Visual Studio. To do this,
- Find the devenv.exe.config file. It is located in the folder <VS Install Location>\Common7\IDE.
- Copy devenv.exe.config to a non-protected folder, for example your Documents folder, and then create a backup copy of devenv.exe.config.
- Open devenv.exe.config, and modify the <AppContextSwitchOverrides> element to add “Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true”
- For example
<AppContextSwitchOverrides value="Switch.System.Threading.ThrowExceptionIfDisposedCancellationTokenSource=false;Switch.System.Windows.Forms.DoNotSupportSelectAllShortcutInMultilineTextBox=false;Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport=true" />
- For example
- Copy the edited devenv.exe.config into <VS Install Location>\Common7\IDE.
Once the update to .NET Framework 4.7 is available, remove this property from the “value” string to restore pen and touch input to Visual Studio.
NOTE: because this file is replaced with each update to Visual Studio, you must re-apply this workaround after updating Visual Studio until the update to .NET Framework 4.7 is available.
No comments:
Post a Comment