当我开始时,会弹出一个窗口,提示评估期已结束。我只需要登录 Visual Studio,但是当我尝试时出现此错误:
Microsoft Visual Studio We could not refresh the credentials for the account Could not load file or assembly System.Net.Http, Version-4.0.0.0, Culture-neutral, PublickeyToken-bo3f5f7f11d50a3a or one of its dependencies. The system cannot find the file specified.
后跟:
Inheritance security rules violated by type: 'System.Net.Http.WebRequestHandler'. Derived types must either match the security accessibility of the base type or be less accessible.
我使用的是 15.8.0 版本。不用说,这完全是一场灾难,因为它完全阻碍了进一步的发展。
编辑:我应该说这是 this issue 的延续,这是在上次 Windows 更新后开始发生的。我刚刚又进行了一次 Windows 更新,问题仍然存在。
最佳答案
运行 Visual Studio 2017
- 在出现登录对话框之前,快速选择
工具
->选项
- 转到
环境
->帐户
- 选择
添加或重新验证帐户时启用设备代码流
- 点击
确定
- 通过浏览器登录
关于visual-studio - 无法登录 Visual Studio 2017,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50809275/