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

Include buildhost deps.json #71597

Merged
merged 3 commits into from
Jan 16, 2024
Merged

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Jan 12, 2024

Resolves dotnet/vscode-csharp#6801

The .deps.json file in the build host was missing, leading to incorrect assembly resolution. It happened to work as long as the buildhost runtime was .net7

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 12, 2024
@dibarbet dibarbet marked this pull request as ready for review January 12, 2024 01:11
@dibarbet dibarbet requested a review from a team as a code owner January 12, 2024 01:11
@jasonmalinowski jasonmalinowski self-assigned this Jan 12, 2024
@arunchndr
Copy link
Member

Failed timeout tests passed on rerun. This looks good to go if you are fine with it @jasonmalinowski

jasonmalinowski added a commit to jasonmalinowski/vscode-csharp that referenced this pull request Jan 12, 2024
This avoids having to merge dotnet/roslyn#71597
and then do a server update, to reduce risk.
- Change the target name so it's more aligned with otehr target
  names returning specific files.
- Switch to TargetFrameworkIdentifier so we aren't testing for
  specific TFMs if we can avoid it.
@jasonmalinowski
Copy link
Member

Tested on my side. I also pushed a commit to add a unit test which which at least directly looks for the deps.json file and will fail if we break the MSBuild side of things.

@dibarbet
Copy link
Member Author

/azp run roslyn-integration-ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jasonmalinowski jasonmalinowski merged commit 786e5c7 into dotnet:main Jan 16, 2024
25 of 28 checks passed
@ghost ghost added this to the Next milestone Jan 16, 2024
@dibarbet dibarbet deleted the build_host_deps branch January 16, 2024 19:32
@Cosifne Cosifne modified the milestones: Next, 17.10 P1 Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE 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.

Error when loading net60 projects when only the 6.0 SDK is installed
4 participants