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

Fix building executables for language server #71007

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Nov 29, 2023

This switches back to ms.ca.languageserver executable for win/linux (mac still requires the dll due to codesign issues).

Not a perfect solution, but better than before.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 29, 2023

So if we don't have a platform, tell the build not to output a .exe file because we're building platform neutral bits.
-->
<UseAppHost Condition="'$(RuntimeIdentifier)' == ''">false</UseAppHost>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were checking for the RuntimeIdentifier before it got set. Moved this below and now it works.

@dibarbet
Copy link
Member Author

dibarbet commented Dec 6, 2023

cc @jasonmalinowski - thoughts on taking this PR? It doesn't fix everything, but IMHO its worth having as

  1. Easier to attach when debugging windows/linux
  2. Helpful in bug reports for win/linux since its much easier to find the process (e.g. to take a trace / dump).

@dibarbet dibarbet marked this pull request as ready for review December 13, 2023 00:58
@dibarbet dibarbet requested a review from a team as a code owner December 13, 2023 00:58
@dibarbet dibarbet merged commit 8c38000 into dotnet:main Dec 13, 2023
24 checks passed
@dibarbet dibarbet deleted the dev/dibarbet/executables branch December 13, 2023 01:18
@ghost ghost added this to the Next milestone Dec 13, 2023
@Cosifne Cosifne modified the milestones: Next, 17.9 P3 Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants