Skip to content

Commit 48a97f7

Browse files
IEvangelistCopilot
andauthored
Update Aspire branding and links in MAUI template (#37850)
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Description of Change This updates the MAUI Aspire Service Defaults template to: - use the current `Aspire` product name in the editable English localization source; - link Service Defaults documentation directly to `aspire.dev`; - link third-party notices directly to the current `microsoft/aspire` repository. PR #32626 corrected the main template manifest but intentionally reverted localization files. This follow-up updates `templatestrings.en.json`, the editable source of the English localization metadata. Generated `templatestrings.json`, translated JSON files, and `loc/**.lcl` files remain unchanged so the repository's OneLocBuild workflow can generate the localization follow-up. ### Issues Fixed Follow-up to #32624 and #32626. ### Validation - Built and packed `Microsoft.Maui.Templates.csproj`. - Verified the packaged English template metadata uses `Aspire`. - Verified both replacement links resolve. - Verified no editable `.NET Aspire` references or legacy Aspire links remain. Co-authored-by: David Pine <7679720+IEvangelist@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 1cdf1b6 commit 48a97f7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Templates/src/templates/maui-aspire-servicedefaults/.template.config/localize/templatestrings.en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Microsoft",
3-
"name": ".NET MAUI for .NET Aspire Service Defaults",
4-
"description": "A project template for creating a .NET Aspire service defaults project for .NET MAUI.",
3+
"name": ".NET MAUI for Aspire Service Defaults",
4+
"description": "A project template for creating an Aspire service defaults project for .NET MAUI.",
55
"symbols/Framework/description": "The target framework for the project.",
66
"symbols/Framework/choices/DOTNET_TFM_VALUE/description": "Target DOTNET_TFM_VALUE",
77
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",

src/Templates/src/templates/maui-aspire-servicedefaults/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"precedence": "9000",
2424
"identity": "MauiAspire.ServiceDefaults.CSharp.8.0",
25-
"thirdPartyNotices": "https://aka.ms/dotnet/aspire/third-party-notices",
25+
"thirdPartyNotices": "https://github.com/microsoft/aspire/blob/main/THIRD-PARTY-NOTICES.TXT",
2626
"groupIdentity": "MauiAspire.ServiceDefaults",
2727
"symbols": {
2828
"Framework": {

src/Templates/src/templates/maui-aspire-servicedefaults/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.Extensions.Hosting;
1414

1515
// Adds common Aspire services: service discovery, resilience, health checks, and OpenTelemetry.
1616
// This project should be referenced by each service project in your solution.
17-
// To learn more about using this project, see https://aka.ms/dotnet/aspire/service-defaults
17+
// To learn more about using this project, see https://aspire.dev/get-started/csharp-service-defaults/
1818
public static class Extensions
1919
{
2020
public static TBuilder AddServiceDefaults<TBuilder>(this TBuilder builder) where TBuilder : IHostApplicationBuilder

0 commit comments

Comments
 (0)