Open ShaneJooste opened 2 months ago
Is there a solution to this problem? I had to change my editor.
我同样遇到了这个问题,你可以尝试把C# Dev Kit插件禁用掉,你就会发现C#插件能正常工作,提供补全、跳转等等原本应该有的功能,或许这个可以作为临时的解决方法,完全解决这个问题应该需要不少人一起找出问题根源
I encountered the same issue. You can try disabling the C# Dev Kit plugin; you'll find that C# plugin works as expected, offering completions, navigation, and other features it should provide. This might serve as a temporary workaround. To fully resolve this issue, it will likely require collective effort to identify the root cause
@kaangms
另外,禁用C# Dev Kit 插件会导致Vscode无法使用Unity的调试这些(自动同时禁用Unity插件),然后我去启用了Unity插件,这个过程中Unity插件把C# Dev Kit插件一同启用。
然后C# Dev Kit开始正常工作,并且没有再次抛出错误: IdeBenefitsSource: Failed to fetch entitlements. Error: 'Error: Request to https://api.subscriptions.visualstudio.microsoft.com/Me/Entitlements/IDEBenefits?api-version=2023-03-26&caller=vscode failed with status code: 401 and response ""' 。
但是重启VsCode后我获得了新的报错:IdeBenefitsSource: Failed to fetch entitlements. Error: 'Error: Client network socket disconnected before secure TLS connection was established'(有概率还是之前那个错误)
但是上面的方法依旧有效,使用方法后Unity等依赖C# Dev Kit插件的插件也可以正常工作。
Describe the Issue
Can't create a solution in VS Code using C# Dev Kit, following message generated in Output window: IdeBenefitsSource: Failed to fetch entitlements. Error: 'Error: Request to https://api.subscriptions.visualstudio.microsoft.com/Me/Entitlements/IDEBenefits?api-version=2023-03-26&caller=vscode failed with status code: 401 and response ""'
Steps To Reproduce
No response
Expected Behavior
No response
Environment Information
Windows 11 Pro Version 22H2, VS Code Version 1.92.2