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 some issues with the MSBuild NuGet packaging #69835

Merged

Conversation

jasonmalinowski
Copy link
Member

  • We were including the BuildHost executable but not the PDB, which we expect to do for symbol archiving.
  • Since we had a regular project reference to the BuildHost, we were including a reference to the BuildHost NuGet package...which doesn't actually exist.

@jasonmalinowski jasonmalinowski requested a review from a team as a code owner September 6, 2023 19:30
@jasonmalinowski jasonmalinowski self-assigned this Sep 6, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 6, 2023
@@ -23,7 +23,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />
<ProjectReference Include="..\MSBuild.BuildHost\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.csproj" />
Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately NuGet doesn't give another way to opt out of this -- there's a TODO tracking what I actually want:

https://github.com/NuGet/NuGet.Client/blob/29f292950dfa50aea030bd74c3277e983eff711e/src/NuGet.Core/NuGet.Build.Tasks.Pack/PackTaskLogic.cs#L888-L890

@jasonmalinowski jasonmalinowski changed the title Fix some issues with the MSBUild NuGet packaging Fix some issues with the MSBuild NuGet packaging Sep 6, 2023
Copy link
Member

@Cosifne Cosifne left a comment

Choose a reason for hiding this comment

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

Assume it should work : )

@jasonmalinowski jasonmalinowski force-pushed the fix-nuget-packaging-issues branch 2 times, most recently from 1518a1b to a0acb8e Compare September 7, 2023 00:18
- We were including the BuildHost executable but not the PDB, which we
  expect to do for symbol archiving.
- Since we had a regular project reference to the BuildHost, we were
  including a reference to the BuildHost NuGet package...which doesn't
  actually exist.
@jasonmalinowski jasonmalinowski merged commit e6747ee into dotnet:main Sep 7, 2023
24 checks passed
@ghost ghost added this to the Next milestone Sep 7, 2023
@Cosifne Cosifne modified the milestones: Next, 17.8 P3 Sep 25, 2023
@jasonmalinowski jasonmalinowski deleted the fix-nuget-packaging-issues branch December 21, 2023 01:46
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.

3 participants