Skip to content

Commit 5358f9e

Browse files
Copilotcaptainsafia
andcommitted
Update diagnostic codes to use ASPIREPIPELINES001-003 instead of mixed naming scheme
Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com>
1 parent 2afcb1c commit 5358f9e

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

docs/diagnostics/aspirepipelines001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ai-usage: ai-generated
1111

1212
# Compiler Error ASPIREPIPELINES001
1313

14-
**Version introduced:** 9.2
14+
**Version introduced:** 13.0
1515

1616
> Pipeline infrastructure APIs are for evaluation purposes only and are subject to change or removal in future updates. Suppress this diagnostic to proceed.
1717
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Compiler Error ASPIREDEPLOYMENT001
3-
description: Learn more about compiler Error ASPIREDEPLOYMENT001. Deployment state manager APIs are for evaluation purposes only and are subject to change or removal in future updates.
4-
ms.date: 10/27/2025
2+
title: Compiler Error ASPIREPIPELINES002
3+
description: Learn more about compiler Error ASPIREPIPELINES002. Deployment state manager APIs are for evaluation purposes only and are subject to change or removal in future updates.
4+
ms.date: 10/28/2025
55
f1_keywords:
6-
- "ASPIREDEPLOYMENT001"
6+
- "ASPIREPIPELINES002"
77
helpviewer_keywords:
8-
- "ASPIREDEPLOYMENT001"
8+
- "ASPIREPIPELINES002"
99
ai-usage: ai-generated
1010
---
1111

12-
# Compiler Error ASPIREDEPLOYMENT001
12+
# Compiler Error ASPIREPIPELINES002
1313

14-
**Version introduced:** 9.2
14+
**Version introduced:** 13.0
1515

1616
> Deployment state manager APIs are for evaluation purposes only and are subject to change or removal in future updates. Suppress this diagnostic to proceed.
1717
18-
Aspire introduced deployment state manager APIs starting in version 9.2. These APIs enable you to manage and persist deployment state information across pipeline executions. The deployment state manager provides functionality for storing, retrieving, and clearing deployment artifacts and metadata, which is essential for incremental deployments and tracking deployment history.
18+
Aspire introduced deployment state manager APIs as part of the pipeline infrastructure starting in version 13.0. These APIs enable you to manage and persist deployment state information across pipeline executions. The deployment state manager provides functionality for storing, retrieving, and clearing deployment artifacts and metadata, which is essential for incremental deployments and tracking deployment history.
1919

2020
Deployment state manager APIs are considered experimental and are expected to change in future updates.
2121

@@ -28,6 +28,7 @@ This diagnostic applies to the following deployment state manager APIs:
2828
- `Deploy` property in `PublishingOptions`
2929
- `ClearCache` property in `PublishingOptions`
3030
- `Step` property in `PublishingOptions`
31+
- `DeployingCallbackAnnotation` - Annotation for deploying callbacks
3132
- Azure provisioning context providers
3233
- Related extension methods and implementations
3334

@@ -39,7 +40,7 @@ Suppress the error with one of the following methods:
3940

4041
```ini
4142
[*.{cs,vb}]
42-
dotnet_diagnostic.ASPIREDEPLOYMENT001.severity = none
43+
dotnet_diagnostic.ASPIREPIPELINES002.severity = none
4344
```
4445

4546
For more information about editor config files, see [Configuration files for code analysis rules](/dotnet/fundamentals/code-analysis/configuration-files).
@@ -48,8 +49,8 @@ Suppress the error with one of the following methods:
4849

4950
```xml
5051
<PropertyGroup>
51-
<NoWarn>$(NoWarn);ASPIREDEPLOYMENT001</NoWarn>
52+
<NoWarn>$(NoWarn);ASPIREPIPELINES002</NoWarn>
5253
</PropertyGroup>
5354
```
5455

55-
- Suppress in code with the `#pragma warning disable ASPIREDEPLOYMENT001` directive.
56+
- Suppress in code with the `#pragma warning disable ASPIREPIPELINES002` directive.

docs/diagnostics/aspireimgbuild001.md renamed to docs/diagnostics/aspirepipelines003.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Compiler Error ASPIREIMGBUILD001
3-
description: Learn more about compiler Error ASPIREIMGBUILD001. Container image build APIs are for evaluation purposes only and are subject to change or removal in future updates.
4-
ms.date: 10/27/2025
2+
title: Compiler Error ASPIREPIPELINES003
3+
description: Learn more about compiler Error ASPIREPIPELINES003. Container image build APIs are for evaluation purposes only and are subject to change or removal in future updates.
4+
ms.date: 10/28/2025
55
f1_keywords:
6-
- "ASPIREIMGBUILD001"
6+
- "ASPIREPIPELINES003"
77
helpviewer_keywords:
8-
- "ASPIREIMGBUILD001"
8+
- "ASPIREPIPELINES003"
99
ai-usage: ai-generated
1010
---
1111

12-
# Compiler Error ASPIREIMGBUILD001
12+
# Compiler Error ASPIREPIPELINES003
1313

14-
**Version introduced:** 9.2
14+
**Version introduced:** 13.0
1515

1616
> Container image build APIs are for evaluation purposes only and are subject to change or removal in future updates. Suppress this diagnostic to proceed.
1717
18-
Aspire introduced container image build APIs starting in version 9.2. These APIs provide functionality for building container images as part of the deployment pipeline. The container image build APIs enable you to configure build options, specify target platforms, select image formats, and integrate with container runtimes like Docker and Podman.
18+
Aspire introduced container image build APIs as part of the pipeline infrastructure starting in version 13.0. These APIs provide functionality for building container images as part of the deployment pipeline. The container image build APIs enable you to configure build options, specify target platforms, select image formats, and integrate with container runtimes like Docker and Podman.
1919

2020
Container image build APIs are considered experimental and are expected to change in future updates.
2121

@@ -39,7 +39,7 @@ Suppress the error with one of the following methods:
3939

4040
```ini
4141
[*.{cs,vb}]
42-
dotnet_diagnostic.ASPIREIMGBUILD001.severity = none
42+
dotnet_diagnostic.ASPIREPIPELINES003.severity = none
4343
```
4444

4545
For more information about editor config files, see [Configuration files for code analysis rules](/dotnet/fundamentals/code-analysis/configuration-files).
@@ -48,8 +48,8 @@ Suppress the error with one of the following methods:
4848

4949
```xml
5050
<PropertyGroup>
51-
<NoWarn>$(NoWarn);ASPIREIMGBUILD001</NoWarn>
51+
<NoWarn>$(NoWarn);ASPIREPIPELINES003</NoWarn>
5252
</PropertyGroup>
5353
```
5454

55-
- Suppress in code with the `#pragma warning disable ASPIREIMGBUILD001` directive.
55+
- Suppress in code with the `#pragma warning disable ASPIREPIPELINES003` directive.

docs/diagnostics/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ The following table lists the possible MSBuild and .NET Analyzer warnings and er
2323
| [`ASPIREAZURE002`](aspireazure002.md) | (Experimental) Error | <span id="ASPIREAZURE002"></span> Azure Container App Jobs are for evaluation purposes only and are subject to change or removal in future updates. |
2424
| [`ASPIRECOMPUTE001`](aspirecompute001.md) | (Experimental) Error | <span id="ASPIRECOMPUTE001"></span> Compute related types and members are for evaluation purposes only and is subject to change or removal in future updates. |
2525
| [`ASPIRECOSMOSDB001`](aspirecosmosdb001.md) | (Experimental) Error | <span id="ASPIRECOSMOSDB001"></span> `RunAsPreviewEmulator` is for evaluation purposes only and is subject to change or removal in future updates. |
26-
| [`ASPIREDEPLOYMENT001`](aspiredeployment001.md) | (Experimental) Error | <span id="ASPIREDEPLOYMENT001"></span> Deployment state manager APIs are for evaluation purposes only and are subject to change or removal in future updates. |
2726
| [`ASPIREHOSTINGPYTHON001`](aspirehostingpython001.md) | (Experimental) Error | <span id="ASPIREHOSTINGPYTHON001"></span> `AddPythonApp` is for evaluation purposes only and is subject to change or removal in future updates. |
28-
| [`ASPIREIMGBUILD001`](aspireimgbuild001.md) | (Experimental) Error | <span id="ASPIREIMGBUILD001"></span> Container image build APIs are for evaluation purposes only and are subject to change or removal in future updates. |
2927
| [`ASPIREPIPELINES001`](aspirepipelines001.md) | (Experimental) Error | <span id="ASPIREPIPELINES001"></span> Pipeline infrastructure APIs are for evaluation purposes only and are subject to change or removal in future updates. |
28+
| [`ASPIREPIPELINES002`](aspirepipelines002.md) | (Experimental) Error | <span id="ASPIREPIPELINES002"></span> Deployment state manager APIs are for evaluation purposes only and are subject to change or removal in future updates. |
29+
| [`ASPIREPIPELINES003`](aspirepipelines003.md) | (Experimental) Error | <span id="ASPIREPIPELINES003"></span> Container image build APIs are for evaluation purposes only and are subject to change or removal in future updates. |
3030
| [`ASPIREPROXYENDPOINTS001`](aspireproxyendpoints001.md) | (Experimental) Error | <span id="ASPIREPROXYENDPOINTS001"></span> ProxyEndpoint members are for evaluation purposes only and are subject to change or removal in future updates. |
3131
| [`ASPIREPUBLISHERS001`](aspirepublishers001.md) | Error | <span id="ASPIREPUBLISHERS001"></span> Publishers are for evaluation purposes only and are subject to change or removal in future updates. |
3232

0 commit comments

Comments
 (0)