-
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
The library hostfxr.dll was found, but loading it from <Program files> failed #6258
Comments
Hello, thank you for your reply. But this resulted in the error output above. I tried reinstalling vscode and dotnet, but it was of no use This is the output of my dotnet -- info 运行时环境: Host: .NET SDKs installed: .NET runtimes installed: Other architectures found: Environment variables: global.json file: Learn more: Download .NET: |
This was the problem. After installing VSCode x64 I was able to install the x64 version of the extension and it is working correctly. I did notice that the installer I downloaded was called In any case its all working now, thanks for your help dibarbet. |
Great to hear it works! For some additional context on why this changes in 2.x - O# previously used to do a runtime download of the server which would download based on the actual underlying OS platform. So even if you got the ia32 version of the extension it would still use an x64 version. But now we package the server inside the extension itself and so it gets the ia32 server version. Closing this issue as I think the cause is clear. I filed #6280 to track surfacing a better error message here. |
From dotnet/vscode-dotnet-runtime#1338
The text was updated successfully, but these errors were encountered: