-
Notifications
You must be signed in to change notification settings - Fork 676
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
Can't update C# dependencies and can't start omnisharp server after manually download dependencies #1125
Comments
It sounds like the problem is with |
It is window 10, Version 1607(OS Build 14393.693). Yes I think the problem is with Thanks. |
Is the problem that |
No it is a problem on the path. After I execute 'wmic.exe', the terminal does not enter WMI console mode but just get frozen. |
@DustinCampbell as a fallback from checking |
According to log of WMI Diagnosis Utility, there are two errors on WMI: Although I don't know if it is caused by problems on WMI, I tried several way to reset WMI repository. No luck.
I will do some research on how to fix them and update here. As filipw's suggestion, that will be great if it can use an additional way to check system information. Thanks. |
I wonder if we could also just check the 'PROCESSOR_ARCHITECTURE' environment variable... |
Actually, should we just use Node.js's os.arch()? |
@gregg-miskelly: Wouldn't PROCESSOR_ARCHITECTURE and os.arch() both be problematic as VS Code is always 32-bit? |
@DustinCampbell We can use PROCESSOR_ARCHITEW6432 if PROCESSOR_ARCHITECTURE==x86. I would assuming you are correct about 'os.arch()'. |
Yeah, I was just coding that up before I left for lunch. Now that I'm back, I'll finish. 😄 |
Environment data
dotnet --info
output:VS Code version:
1.8.1
C# Extension version:
1.6.2
Steps to reproduce
Install C# extension. Open VS Code. Open .Net core project.
Expected behavior
Update dependencies and start omnisharp server.
Actual behavior
C# output says:
Updating dependencies ...
Finish.
What I have try:
1.My computer is not under proxy. I turned off firewall and windows defender. Doesn't work.
2.Following issue #1028, I downloaded two packages, put them in correct subdirectory, and create file install.Lock. Open VS code, Omnisharp output:
wmic os get osarchitecture
. No data return. Maybe that is the reason.The text was updated successfully, but these errors were encountered: