-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSharpier Process Error in VS2022 #1341
Comments
I repaired the Visual Studio 2022 and uninstalled the Preview version. Also deleted CSharpier before first turning the repaired version on and installing the extension - the same error keeps showing. |
I haven't updated the troubleshooting steps to include information for the new csharpier server. I believe there should be a As a workaround there is an option to disable csharpier server. I'm also considering making the extension automatically fall back to disabling csharpier server, but ideally I'd get the problems in csharpier server resolved and I can't resolve them if they aren't reported. |
Yes, I've been checking the settings and turned the CSharpier server off and everything works fine now. An automatic fallback would be a great idea. About the |
I have the same problem using Rider and as @marss72 mentioned. It works again by disabling the CSharpier server. |
The issue stopped somehow for me since I installed Rider. I haven't used Visual Studio in longer coding sessions (> 2 hours) since that moment.
The same thing happened to me too. Everything worked fine, but after a few days, this error started happening. |
@marss72 it turns out the server log file is a bit more buried than I originally thought, I found mine at |
Environments
Log Output
Steps to reproduce
I don't know if there are any steps. But, this issue started appearing right after I switched from Visual Studio 2022 Preview (due to some issues (not csharpier)) to the stable version. Since this switch, the issue now appears on both versions.
Expected behavior
After starting Visual Studio 2022, CSharpier process and extension will load successfully and formatting will be available.
Actual behavior
Sometimes (usually once every day, doesn't seem to have any "pattern"), CSharpier process will fail to load and formatting is not available with the following Visual Studio message:
As I said, this usually gets fixed by just restarting the IDE - but this is just a temporary fix and the error appears again after some time (a few hours usually), or sometimes (not always) on another IDE restart.
I tried the steps in Editor Troubleshooting at least twice: reinstalling CSharpier (also with deleting the
%localappdata%\CSharpier
), reinstalling the extension and checking for updates. Did not help. I will let you know if I manage to fix it without re-installing the whole IDE (I will reinstall soon if this issue does not stop.)The text was updated successfully, but these errors were encountered: