有人知道如何修复“试图执行未经授权的操作”在Visual Studio 2022中打开 .cs 文件时的错误?
昨天我研究了VS解决方案。今天打开了笔记本电脑,重新启动,打开解决方案并通过解决方案资源管理器打开CS文件,我会收到一个错误和空白选项卡:
也注意到从Windows 10跳跃列表中打开解决方案会导致原因将显示的VS 2022徽标,然后该过程将默默崩溃。
到目前为止,我尝试过的是:
- 将视觉工作室升级到V17.1.5
- 升级了所有扩展名,
- 证实了大量的磁盘空间,内存。
环境
Windows 10:21H1
Visual Studio 2022 V17.1.5
第三方扩展:AWS工具包,Resharper,T4Editor,Git差距,RESARARPER
Does anyone know how to fix a "Attempted to perform an unauthorized operation" error in Visual Studio 2022 when opening a .cs file?
I worked on a VS Solution yesterday. Opened the laptop today, rebooted, opened the solution, and open a cs file via Solution Explorer, I get an error and a blank tab:
Also noticed that opening a Solution from the Windows 10 Jump List will cause the VS 2022 logo to be displayed and then the process will silently crash.
What I've tried so far:
- Upgraded Visual Studio to v17.1.5
- Upgraded all Extensions
- Confirmed plenty of diskspace, memory.
Environment
Windows 10: 21H1
Visual Studio 2022 v17.1.5
3rd Party Extensions: AWS Toolkit, ReSharper, T4Editor, Git Diff Margin, ReSharper
发布评论
评论(2)
根据此论坛条目,
https:https:// VisualStudio.com/t/visual-studio-editor-istor-is-blank-without-an/1568780
重新启动应修复。
According to this forum entry
https://developercommunity.visualstudio.com/t/Visual-Studio-Editor-is-blank-without-an/1568780
A reboot should fix it.
重新启动解决问题。
看起来像 Microsoft意识到了这个问题,但是直到版本
17.2
才能将其修复。感谢PM100的原始链接!
Rebooting fixed the problem.
Looks like Microsoft is aware of the issue but doesn't expect it to be fixed until version
17.2
.Thanks to pm100 for the original link!!