visual-studio - 打开 VS 2019 时出现错误“System.ArgumentException:值不在预期范围内”
问题描述
随着 Visual Studio 2019 (16.9.4) 的最新更新,每次我进入 Visual Studio 时,我都会在输出窗口中收到两条错误消息,均表示:
System.ArgumentException:值不在预期范围内。在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 在 Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetString(String collectionPath, String propertyName) 在 Community.VisualStudio.Toolkit.BaseOptionModel`1.d__11.MoveNext ()
我环顾四周,看到了关于打开各种项目类型(如 WPF、Silverlight 等)的 SO 上的帖子。但是,我没有打开任何项目或解决方案。我启动 VS 2019,然后选择链接“无代码继续”。我立即得到那个错误。
是什么导致了这种情况,如果有的话,我能做些什么?
解决方案
推荐阅读
- android - Retrofit 2.5.0 第三次后不执行请求
- javascript - AJV 的验证器总是返回真值
- asp.net-core - Azure AD 登录无限循环
- java - 如何将私有int传递给java中另一个类中的objekt
- c# - 很多关于 Admob 广告的 Android Vitals 崩溃
- css - 使“a”元素适合按钮大小
- java - 如何以线程安全且高效的方式使用 XPath?
- c# - 在 C# 中调用的存储过程如何在不提供所有可选参数的情况下正确插入数据?
- c++ - cblas_dgemm() 中子矩阵的前导维度参数如何工作?
- sql-server - 根据基于日期的记录生成拼写,对拼写的延续有附加限制