|
1 | 1 | # List of Diagnostics Produced by Aspire
|
2 | 2 |
|
3 |
| -## MSBuild Warnings |
| 3 | +## MSBuild Warnings[ |
4 | 4 |
|
5 | 5 | | Diagnostic ID | Severity | Description | Location |
|
6 | 6 | | ------------- | -------- | ----------- | -------- |
|
7 |
| -| `ASPIRE001` | Warning | The '\[ProjectLanguage\]' language isn't fully supported by Aspire - some code generation targets will not run, so will require manual authoring. | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
8 |
| -| `ASPIRE002` | Warning | '\[ProjectName\]' is an Aspire AppHost project but necessary dependencies aren't present. Are you missing an Aspire.Hosting.AppHost PackageReference? | [src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets](src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets) | |
9 |
| -| `ASPIRE003` | Warning | '\[ProjectName\]' is a .NET Aspire AppHost project that requires Visual Studio version 17.10 or above to work correctly. You are using version $(MSBuildVersion). | [src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets](src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets) | |
10 |
| -| `ASPIRE004` | Warning | '\[ProjectName\]' is referenced by an Aspire Host project, but it is not an executable. Did you mean to set IsAspireProjectResource="false"? | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
11 |
| -| `ASPIRE005` | Error | '\[ProjectName\]' project requires a newer version of the .NET Aspire Workload to work correctly. Please run `dotnet workload update`. | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
| 7 | +| `ASPIRE001` | Warning | The '\[ProjectLanguage\]' language isn't fully supported by Aspire - some code generation targets will not run, so will require manual authoring. | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](../src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
| 8 | +| `ASPIRE002` | Warning | '\[ProjectName\]' is an Aspire AppHost project but necessary dependencies aren't present. Are you missing an Aspire.Hosting.AppHost PackageReference? | [src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets](../src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets) | |
| 9 | +| `ASPIRE003` | Warning | '\[ProjectName\]' is a .NET Aspire AppHost project that requires Visual Studio version 17.10 or above to work correctly. You are using version $(MSBuildVersion). | [src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets](../src/Aspire.Hosting.Sdk/SDK/Sdk.in.targets) | |
| 10 | +| `ASPIRE004` | Warning | '\[ProjectName\]' is referenced by an Aspire Host project, but it is not an executable. Did you mean to set IsAspireProjectResource="false"? | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](../src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
| 11 | +| `ASPIRE005` | Error | '\[ProjectName\]' project requires a newer version of the .NET Aspire Workload to work correctly. Please run `dotnet workload update`. | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](../src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
| 12 | +| `ASPIRE007` | Error | '\[ProjectName\]' project requires a reference to "Aspire.AppHost.Sdk" with version "9.0.0" or greater to work correctly. Please add the following line after the Project declaration `<Sdk Name=Aspire.AppHost.Sdk" Version="9.0.0" />`. | [src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets](../src/Aspire.Hosting.AppHost/build/Aspire.Hosting.AppHost.in.targets) | |
12 | 13 |
|
13 | 14 | ## Analyzer Warnings
|
14 | 15 |
|
15 | 16 | | Diagnostic ID | Severity | Description | Location |
|
16 | 17 | | ------------- | -------- | ----------- | -------- |
|
17 |
| -| `ASPIRE006` | Error | Application model items must have valid names | [src/Aspire.Hosting.Analyzers/AppHostAnalyzer.Diagnostics.cs](src/Aspire.Hosting.Analyzers/AppHostAnalyzer.Diagnostics.cs) | |
| 18 | +| `ASPIRE006` | Error | Application model items must have valid names | [src/Aspire.Hosting.Analyzers/AppHostAnalyzer.Diagnostics.cs](../src/Aspire.Hosting.Analyzers/AppHostAnalyzer.Diagnostics.cs) | |
0 commit comments