Skip to content

Mark TemplateEngine packages as shipping - #55074

Merged
MichaelSimons merged 2 commits into
mainfrom
michaelsimons/fix-templateengine-package-shipping
Jun 30, 2026
Merged

MichaelSimons merged 2 commits into
mainfrom
michaelsimons/fix-templateengine-package-shipping

Conversation

@MichaelSimons

@MichaelSimons MichaelSimons commented Jun 30, 2026 •

Copy link
Copy Markdown
Member

After the dotnet/templating merge into dotnet/sdk, the TemplateEngine packages inherited IsShippingPackage=false from the SDK repo root Directory.Build.props. In the standalone templating repo, the Arcade default (IsShippingPackage=true) applied, so packages were classified as shipping and published to NuGet.

This PR overrides IsShippingPackage to true in src/TemplateEngine/Directory.Build.props so these packages are classified as shipping again. Microsoft.TemplateSearch.TemplateDiscovery gets an explicit IsShippingPackage=false since the parent props would otherwise override its existing IsShipping=false.

Also updates CODEOWNERS to include src/TemplateEngine and test/TemplateEngine under the Area-Templates section owned by @dotnet/templating-engine-maintainers.

Affected packages:

  • Microsoft.TemplateEngine.Abstractions
  • Microsoft.TemplateEngine.Authoring.CLI
  • Microsoft.TemplateEngine.Authoring.Tasks
  • Microsoft.TemplateEngine.Authoring.TemplateVerifier
  • Microsoft.TemplateEngine.Core
  • Microsoft.TemplateEngine.Core.Contracts
  • Microsoft.TemplateEngine.Edge
  • Microsoft.TemplateEngine.IDE
  • Microsoft.TemplateEngine.Orchestrator.RunnableProjects
  • Microsoft.TemplateEngine.TemplateLocalizer.Core
  • Microsoft.TemplateEngine.Utils
  • Microsoft.TemplateSearch.Common

After the dotnet/templating merge into dotnet/sdk, the TemplateEngine
packages inherited IsShippingPackage=false from the SDK repo root
Directory.Build.props. In the standalone templating repo, the Arcade
default (IsShippingPackage=true) applied, so packages were published
to NuGet. Override IsShippingPackage to true in the TemplateEngine
Directory.Build.props so these packages are classified as shipping
again.

Explicitly set IsShippingPackage=false on TemplateSearch.TemplateDiscovery
which was already marked IsShipping=false.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings June 30, 2026 14:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR restores TemplateEngine package shipping classification after the dotnet/templating merge into dotnet/sdk by overriding the repo-root default (IsShippingPackage=false) within the TemplateEngine subtree, while preserving the non-shipping status of the TemplateDiscovery tool package.

Changes:

  • Set IsShippingPackage=true in src/TemplateEngine/Directory.Build.props so TemplateEngine packages are treated as shipping again.
  • Add an explicit IsShippingPackage=false to Microsoft.TemplateSearch.TemplateDiscovery.csproj so it remains non-shipping despite the new subtree default.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/TemplateEngine/Directory.Build.props Overrides SDK repo default to classify TemplateEngine packages as shipping.
src/TemplateEngine/Tools/Microsoft.TemplateSearch.TemplateDiscovery/Microsoft.TemplateSearch.TemplateDiscovery.csproj Explicitly keeps TemplateDiscovery non-shipping under the new TemplateEngine default.

@MichaelSimons
MichaelSimons requested a review from a team June 30, 2026 14:29
@MichaelSimons
MichaelSimons merged commit c05689a into main Jun 30, 2026
26 checks passed
@MichaelSimons
MichaelSimons deleted the michaelsimons/fix-templateengine-package-shipping branch June 30, 2026 16:15
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants