Skip to content

net_aspire: regenerate ConfigurationSchema.json during prep#43

Merged
jewilder merged 1 commit into
microsoft:mainfrom
philnach:fix/net-aspire-schema-regen
Apr 14, 2026
Merged

net_aspire: regenerate ConfigurationSchema.json during prep#43
jewilder merged 1 commit into
microsoft:mainfrom
philnach:fix/net-aspire-schema-regen

Conversation

@philnach
Copy link
Copy Markdown
Member

The .NET Aspire repo's Directory.Build.targets validates that checked-in ConfigurationSchema.json files match what the installed SDK generates. A plain 'dotnet build' fails with 21 errors when they don't match.

Add a one-time schema regeneration step (dotnet build --no-incremental /p:UpdateConfigurationSchema=true) at the end of prep for both Windows and macOS. This ensures subsequent run iterations pass cleanly.

Bump prep_version: Windows 6->7, macOS 7->8.

The Aspire repo's Directory.Build.targets validates that checked-in
ConfigurationSchema.json files match what the installed SDK generates.
A plain 'dotnet build' fails with 21 errors when they don't match.

Add a one-time schema regeneration step (dotnet build --no-incremental
/p:UpdateConfigurationSchema=true) at the end of prep for both Windows
and macOS. This ensures subsequent run iterations pass cleanly.

Bump prep_version: Windows 6->7, macOS 7->8.
@jewilder jewilder merged commit 006ab5a into microsoft:main Apr 14, 2026
1 check passed
@philnach philnach deleted the fix/net-aspire-schema-regen branch April 15, 2026 17:41
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.

2 participants