Skip to content
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

Surface better error and resolution steps when there is a platform architecture mismatch #6280

Open
dibarbet opened this issue Sep 5, 2023 · 3 comments
Assignees
Milestone

Comments

@dibarbet
Copy link
Member

dibarbet commented Sep 5, 2023

Now that we package the server inside the extension, it is possible to get an ia32 server version on x64 platforms. This can cause issues when using an x64 version of .net (as the runtime installer as well will not download the ia32 version of dotnet).

We should surface a better error message (with a solution) instead of the current path platform mismatch error.

@winzig
Copy link

winzig commented Sep 11, 2023

Does the "package the server inside the extension" feature you mention explain why code navigation features ("Go to Definition") have broken for me on macOS silicon this week?

Any recommendations on how to resolve?

@dibarbet
Copy link
Member Author

Does the "package the server inside the extension" feature you mention explain why code navigation features ("Go to Definition") have broken for me on macOS silicon this week?

@winzig It's unlikely - if you were experiencing this issue you'd see pop-ups about the server failing to start (we've been packaing the server inside the extension since the start of 2.x).

We did upgrade some of our dependencies last week though to fix some dotnet resolution issues on MacOS with homebrew, so what you're hitting could be a fallout from that. Please file a new issue (via the csharp.reportissue command) with the C# logs attached (ideally with the dotnet.server.trace configuration to Trace).

@winzig
Copy link

winzig commented Sep 11, 2023

@dibarbet Filed my issue here #6335

@arunchndr arunchndr modified the milestones: September, October Oct 2, 2023
@dibarbet dibarbet modified the milestones: October2023, November2023, Backlog Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants