Skip to content

Commit

Permalink
refactor: add project capability to DA templates (#13108)
Browse files Browse the repository at this point in the history
  • Loading branch information
huimiu authored Jan 26, 2025
1 parent 3cbaf7a commit 14f3e74
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

<ItemGroup>
<ProjectCapability Include="TeamsFx" />
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>

<ItemGroup>
Expand All @@ -20,7 +25,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk">
<ItemGroup>
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>
<ItemGroup>
<ProjectCapability Include="ProjectConfigurationsDeclaredDimensions" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
</ItemGroup>
<ItemGroup>
<ProjectCapability Include="ProjectConfigurationsDeclaredDimensions" />
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
{{^isNewProjectTypeEnabled}}
<ItemGroup>
<ProjectCapability Include="TeamsFx" />
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk">
<ItemGroup>
<ProjectCapability Include="ProjectConfigurationsDeclaredDimensions" />
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
{{^isNewProjectTypeEnabled}}
<ItemGroup>
<ProjectCapability Include="TeamsFx" />
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk">
<ItemGroup>
<ProjectCapability Include="ProjectConfigurationsDeclaredDimensions" />
<ProjectCapability Include="ApiPlugin" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
{{^isNewProjectTypeEnabled}}
<ItemGroup>
<ProjectCapability Include="TeamsFx" />
{{#DeclarativeCopilot}}
<ProjectCapability Include="DeclarativeAgent" />
{{/DeclarativeCopilot}}
{{^DeclarativeCopilot}}
<ProjectCapability Include="ApiPlugin" />
{{/DeclarativeCopilot}}
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 14f3e74

Please sign in to comment.