Skip to content

Commit 277226e

Browse files
authored
fix: remaining work of removing isNewProjectTypeEnabled (#15078)
1 parent 354a0ad commit 277226e

File tree

5 files changed

+0
-119
lines changed

5 files changed

+0
-119
lines changed

templates/unused/csharp/message-extension-with-existing-api/{{ProjectName}}.csproj.tpl

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
{{^isNewProjectTypeEnabled}}
2-
<Project Sdk="Microsoft.NET.Sdk.Web">
3-
4-
<PropertyGroup>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
</PropertyGroup>
7-
8-
<ItemGroup>
9-
<ProjectCapability Include="TeamsFx" />
10-
<ProjectCapability Include="APIME" />
11-
</ItemGroup>
12-
13-
<ItemGroup>
14-
<None Include="appPackage/**/*" />
15-
</ItemGroup>
16-
17-
</Project>
18-
{{/isNewProjectTypeEnabled}}
191
<?xml version="1.0" encoding="utf-8"?>
202
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk">
213
<ItemGroup>

templates/vs/csharp/basic-tab/Properties/launchSettings.json.tpl

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,5 @@
11
{
22
"profiles": {
3-
{{^isNewProjectTypeEnabled}}
4-
// Debug project within Teams
5-
"Microsoft Teams (browser)": {
6-
"commandName": "Project",
7-
"dotnetRunMessages": true,
8-
"launchBrowser": true,
9-
"launchUrl": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&appTenantId=${{TEAMS_APP_TENANT_ID}}&login_hint=${{TEAMSFX_M365_USER_NAME}}",
10-
"applicationUrl": "https://localhost:44302;http://localhost:2544",
11-
"environmentVariables": {
12-
"ASPNETCORE_ENVIRONMENT": "Development"
13-
},
14-
"hotReloadProfile": "aspnetcore"
15-
},
16-
"Microsoft 365 app (browser)": {
17-
"commandName": "Project",
18-
"dotnetRunMessages": true,
19-
"launchBrowser": true,
20-
"launchUrl": "https://www.office.com/m365apps/${{M365_APP_ID}}?auth=2&login_hint=${{TEAMSFX_M365_USER_NAME}}",
21-
"applicationUrl": "https://localhost:44302;http://localhost:2544",
22-
"environmentVariables": {
23-
"ASPNETCORE_ENVIRONMENT": "Development"
24-
},
25-
"hotReloadProfile": "aspnetcore"
26-
},
27-
"Outlook (browser)": {
28-
"commandName": "Project",
29-
"dotnetRunMessages": true,
30-
"launchBrowser": true,
31-
"launchUrl": "https://outlook.office.com/host/${{M365_APP_ID}}?login_hint=${{TEAMSFX_M365_USER_NAME}}",
32-
"applicationUrl": "https://localhost:44302;http://localhost:2544",
33-
"environmentVariables": {
34-
"ASPNETCORE_ENVIRONMENT": "Development"
35-
},
36-
"hotReloadProfile": "aspnetcore"
37-
}
38-
//// Uncomment following profile to debug project only (without launching Teams)
39-
//,
40-
//"Start Project (not in Teams)": {
41-
// "commandName": "Project",
42-
// "dotnetRunMessages": true,
43-
// "launchBrowser": true,
44-
// "applicationUrl": "https://localhost:44302;http://localhost:2544",
45-
// "environmentVariables": {
46-
// "ASPNETCORE_ENVIRONMENT": "Development"
47-
// },
48-
// "hotReloadProfile": "aspnetcore"
49-
//}
50-
{{/isNewProjectTypeEnabled}}
513
"Start Project": {
524
"commandName": "Project",
535
"dotnetRunMessages": true,

templates/vs/csharp/declarative-agent-basic/{{ProjectName}}.csproj.tpl

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
{{^isNewProjectTypeEnabled}}
2-
<Project Sdk="Microsoft.NET.Sdk.Web">
3-
4-
<PropertyGroup>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<RootNamespace>{{SafeProjectName}}</RootNamespace>
7-
</PropertyGroup>
8-
9-
<ItemGroup>
10-
<ProjectCapability Include="TeamsFx" />
11-
<ProjectCapability Include="DeclarativeAgent" />
12-
</ItemGroup>
13-
14-
<ItemGroup>
15-
<None Include="appPackage/**/*" />
16-
</ItemGroup>
17-
18-
</Project>
19-
{{/isNewProjectTypeEnabled}}
201
<?xml version="1.0" encoding="utf-8"?>
212
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk">
223
<ItemGroup>

templates/vs/csharp/declarative-agent-with-action-from-existing-api/{{ProjectName}}.csproj.tpl

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
{{^isNewProjectTypeEnabled}}
2-
<Project Sdk="Microsoft.NET.Sdk.Web">
3-
4-
<PropertyGroup>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
</PropertyGroup>
7-
8-
<ItemGroup>
9-
<ProjectCapability Include="TeamsFx" />
10-
<ProjectCapability Include="DeclarativeAgent" />
11-
</ItemGroup>
12-
13-
<ItemGroup>
14-
<None Include="appPackage/**/*" />
15-
</ItemGroup>
16-
17-
</Project>
18-
{{/isNewProjectTypeEnabled}}
191
<?xml version="1.0" encoding="utf-8"?>
202
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk">
213
<ItemGroup>

templates/vs/csharp/declarative-agent-with-action-from-scratch-oauth/m365agents.local.yml.tpl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ provision:
121121
{{^PlaceProjectFileInSolutionDir}}
122122
target: ../{{appName}}/appsettings.Development.json
123123
{{/PlaceProjectFileInSolutionDir}}
124-
{{^isNewProjectTypeEnabled}}
125-
target: ./appsettings.Development.json
126-
{{/isNewProjectTypeEnabled}}
127124
content:
128125
CLIENT_ID: ${{AAD_APP_CLIENT_ID}}
129126
TENANT_ID: ${{AAD_APP_TENANT_ID}}
@@ -160,16 +157,3 @@ provision:
160157
writeToEnvironmentFile:
161158
titleId: M365_TITLE_ID
162159
appId: M365_APP_ID
163-
{{^isNewProjectTypeEnabled}}
164-
165-
# Create or update debug profile in lauchsettings file
166-
- uses: file/createOrUpdateJsonFile
167-
with:
168-
target: ./Properties/launchSettings.json
169-
content:
170-
profiles:
171-
"Copilot (browser)": {
172-
"commandName": "Project",
173-
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
174-
}
175-
{{/isNewProjectTypeEnabled}}

0 commit comments

Comments
 (0)