Skip to content

Commit 9d8d270

Browse files
Per Kopsperkops
authored andcommitted
feat: add aspire project support
1 parent 78634fa commit 9d8d270

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Atc.CodingRules.Updater.CLI/ProjectHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ private static ProjectFrameworkType DetermineProjectFrameworkType(
143143

144144
projectFrameworkType = optionsProjectFrameworkMapping?.Type ?? projectType switch
145145
{
146+
DotnetProjectType.AspireAppHost or DotnetProjectType.AspireServiceDefaults => ProjectFrameworkType.Aspire,
146147
DotnetProjectType.AzureFunctionApp => ProjectFrameworkType.AzureFunctions,
147148
DotnetProjectType.BlazorServerApp or DotnetProjectType.BlazorWAsmApp => ProjectFrameworkType.Blazor,
148149
DotnetProjectType.CliApp => ProjectFrameworkType.Cli,

src/Atc.CodingRules.Updater/ProjectFrameworkType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ namespace Atc.CodingRules.Updater;
33
public enum ProjectFrameworkType
44
{
55
None,
6+
Aspire,
67
AzureFunctions,
78
Blazor,
89
Cli,

0 commit comments

Comments
 (0)