From da99e2239b8fa232d229e4738f7f91251efb65a7 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Thu, 28 May 2026 08:04:03 -0700 Subject: [PATCH] Remove ATS experimental markers Graduate the ATS/polyglot surface by removing ASPIREATS001 attributes and obsolete suppressions now that TypeScript/polyglot support is GA for 13.4. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Directory.Build.props | 3 +-- .../BlazorGatewayExtensions.cs | 1 - .../BlazorHostedExtensions.cs | 2 -- .../Resources/BlazorWasmAppResource.cs | 2 -- .../AssemblyInfo.cs | 6 ------ .../AssemblyInfo.cs | 6 ------ .../AssemblyInfo.cs | 6 ------ .../AssemblyInfo.cs | 6 ------ .../AssemblyInfo.cs | 6 ------ .../Aspire.Hosting.Integration.Analyzers.csproj | 2 +- .../README.md | 4 ++-- .../IResourceWithCustomWithReference.cs | 3 --- src/Aspire.Hosting/Ats/AspireDtoAttribute.cs | 3 --- src/Aspire.Hosting/Ats/AspireExportAttribute.cs | 3 --- .../Ats/AspireExportIgnoreAttribute.cs | 3 --- src/Aspire.Hosting/Ats/AspireUnionAttribute.cs | 3 --- src/Aspire.Hosting/Ats/AspireValueAttribute.cs | 3 --- .../Ats/ThirdPartyAtsAttributes.md | 2 +- src/Aspire.TypeSystem/AssemblyInfo.cs | 6 ------ .../ProjectReferenceTests.cs | 1 - .../AnalyzerTest.cs | 16 +--------------- 21 files changed, 6 insertions(+), 81 deletions(-) delete mode 100644 src/Aspire.Hosting.CodeGeneration.Go/AssemblyInfo.cs delete mode 100644 src/Aspire.Hosting.CodeGeneration.Java/AssemblyInfo.cs delete mode 100644 src/Aspire.Hosting.CodeGeneration.Python/AssemblyInfo.cs delete mode 100644 src/Aspire.Hosting.CodeGeneration.Rust/AssemblyInfo.cs delete mode 100644 src/Aspire.Hosting.CodeGeneration.TypeScript/AssemblyInfo.cs delete mode 100644 src/Aspire.TypeSystem/AssemblyInfo.cs diff --git a/Directory.Build.props b/Directory.Build.props index e06b96f9811..99b940da4e2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -39,8 +39,7 @@ - - $(NoWarn);xUnit1051;NU1510;ASPIREATS001 + $(NoWarn);xUnit1051;NU1510 diff --git a/src/Aspire.Hosting.Blazor/BlazorGatewayExtensions.cs b/src/Aspire.Hosting.Blazor/BlazorGatewayExtensions.cs index 63cc01bdb25..99934ebaa3b 100644 --- a/src/Aspire.Hosting.Blazor/BlazorGatewayExtensions.cs +++ b/src/Aspire.Hosting.Blazor/BlazorGatewayExtensions.cs @@ -11,7 +11,6 @@ #pragma warning disable ASPIREDOCKERFILEBUILDER001 // DockerfileBuilder is experimental #pragma warning disable ASPIRECSHARPAPPS001 // AddCSharpApp is experimental -#pragma warning disable ASPIREATS001 // AspireExportIgnore is experimental namespace Aspire.Hosting; diff --git a/src/Aspire.Hosting.Blazor/BlazorHostedExtensions.cs b/src/Aspire.Hosting.Blazor/BlazorHostedExtensions.cs index c0974c39ee5..be2d14e7b63 100644 --- a/src/Aspire.Hosting.Blazor/BlazorHostedExtensions.cs +++ b/src/Aspire.Hosting.Blazor/BlazorHostedExtensions.cs @@ -5,8 +5,6 @@ using Aspire.Hosting.ApplicationModel; using Microsoft.Extensions.Logging; -#pragma warning disable ASPIREATS001 // AspireExportIgnore is experimental - namespace Aspire.Hosting; /// diff --git a/src/Aspire.Hosting.Blazor/Resources/BlazorWasmAppResource.cs b/src/Aspire.Hosting.Blazor/Resources/BlazorWasmAppResource.cs index 3a8fcfe2794..a4210b92ba8 100644 --- a/src/Aspire.Hosting.Blazor/Resources/BlazorWasmAppResource.cs +++ b/src/Aspire.Hosting.Blazor/Resources/BlazorWasmAppResource.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#pragma warning disable ASPIREATS001 // AspireExport is experimental - using System.Diagnostics.CodeAnalysis; using Aspire.Hosting.ApplicationModel; diff --git a/src/Aspire.Hosting.CodeGeneration.Go/AssemblyInfo.cs b/src/Aspire.Hosting.CodeGeneration.Go/AssemblyInfo.cs deleted file mode 100644 index 79236a7dbec..00000000000 --- a/src/Aspire.Hosting.CodeGeneration.Go/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics.CodeAnalysis; - -[assembly: Experimental("ASPIREATS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")] diff --git a/src/Aspire.Hosting.CodeGeneration.Java/AssemblyInfo.cs b/src/Aspire.Hosting.CodeGeneration.Java/AssemblyInfo.cs deleted file mode 100644 index 79236a7dbec..00000000000 --- a/src/Aspire.Hosting.CodeGeneration.Java/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics.CodeAnalysis; - -[assembly: Experimental("ASPIREATS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")] diff --git a/src/Aspire.Hosting.CodeGeneration.Python/AssemblyInfo.cs b/src/Aspire.Hosting.CodeGeneration.Python/AssemblyInfo.cs deleted file mode 100644 index 79236a7dbec..00000000000 --- a/src/Aspire.Hosting.CodeGeneration.Python/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics.CodeAnalysis; - -[assembly: Experimental("ASPIREATS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")] diff --git a/src/Aspire.Hosting.CodeGeneration.Rust/AssemblyInfo.cs b/src/Aspire.Hosting.CodeGeneration.Rust/AssemblyInfo.cs deleted file mode 100644 index 79236a7dbec..00000000000 --- a/src/Aspire.Hosting.CodeGeneration.Rust/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics.CodeAnalysis; - -[assembly: Experimental("ASPIREATS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")] diff --git a/src/Aspire.Hosting.CodeGeneration.TypeScript/AssemblyInfo.cs b/src/Aspire.Hosting.CodeGeneration.TypeScript/AssemblyInfo.cs deleted file mode 100644 index 79236a7dbec..00000000000 --- a/src/Aspire.Hosting.CodeGeneration.TypeScript/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics.CodeAnalysis; - -[assembly: Experimental("ASPIREATS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")] diff --git a/src/Aspire.Hosting.Integration.Analyzers/Aspire.Hosting.Integration.Analyzers.csproj b/src/Aspire.Hosting.Integration.Analyzers/Aspire.Hosting.Integration.Analyzers.csproj index 831010d18ad..0676cb187ce 100644 --- a/src/Aspire.Hosting.Integration.Analyzers/Aspire.Hosting.Integration.Analyzers.csproj +++ b/src/Aspire.Hosting.Integration.Analyzers/Aspire.Hosting.Integration.Analyzers.csproj @@ -13,7 +13,7 @@ true README.md aspire hosting analyzers ats polyglot integration - Experimental analyzers for Aspire hosting integration authors. + Analyzers for Aspire hosting integration authors. 12.0