-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
VSCode keep saying CSharpier need to be installed #978
Comments
I've seen this happen when the command to try to find the version of csharpier fails because dotnet is not in the path. It is odd that this used to work for you and now stopped. The output window will hopefully show you what happens when it tries to run There are comments on a few issues that have fixes for this, but I am failing to find them right now. This is semi-related - #893 but I don't know if it directly applies to you. |
Allright, so what can I do to help find a solution ? Any debug/log/command to do ? Here is the > dotnet csharpier --version
You must install or update .NET to run this application.
App: C:\Users\WegPast\.dotnet\tools\dotnet-csharpier.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
7.0.13 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=win10-x64``` |
I haven't seen this before, but I believe it is the runtime for dotnet and not the sdk
If I run
Can you try installing the net7 sdk from here and see if that works? https://dotnet.microsoft.com/en-us/download/dotnet/7.0 |
Ok so there no more error message now. Thanks for you help :) |
Hi
I recently update VSCode to 1.83 and since then I can't use CSharpier because I have this error showing :
CSharpier needs to be installed to support formatting files
I searched the internet and tried several solutions like deleting cache folder, reinstalling VSCode and CSharpier extension but no luck. I also looked on #790 but VSCode is a bit different than Visual Studio and suggested commands where not able to run...
Here is my VSCode information :
And running the v1.3.6 CSharpier extension ( or at least, was running it :p )
Any suggestions to diagnose what's wrong?
The text was updated successfully, but these errors were encountered: