Restore Microsoft.DotNet.TemplateLocator NuGet packaging on main#54394
Open
Copilot wants to merge 1 commit into
Open
Restore Microsoft.DotNet.TemplateLocator NuGet packaging on main#54394Copilot wants to merge 1 commit into
Copilot wants to merge 1 commit into
Conversation
Copilot created this pull request from a session on behalf of
marcpopMSFT
May 20, 2026 21:52
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Restores NuGet packaging behavior for Microsoft.DotNet.TemplateLocator on main after prior project settings changes stopped producing the package.
Changes:
- Re-enables packing via
IsPackable, while disabling pack duringDotNetBuildpass 1 to avoid incomplete multi-TFM outputs. - Ensures project-reference copy-local outputs are included in the NuGet package by adding a TFM-specific packaging target.
This was referenced May 21, 2026
Open
Agent-Logs-Url: https://github.com/dotnet/sdk/sessions/3bfa1b39-6c77-44b5-af97-01cbea1f1638 Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
f2f1c85 to
f79ddea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Microsoft.DotNet.TemplateLocatorstopped producing a NuGet package after pack-related project settings were removed in a prior branch prep change. This PR ports therelease/10.0.1xxfix tomainso TemplateLocator package publication behavior is restored.Packability restored
IsPackablefor the project.Project-reference outputs restored in package
CopyProjectReferencesToPackagetoTargetsForTfmSpecificBuildOutput.ProjectReferencecopy-local outputs intoBuildOutputInPackage.Representative project-file change