-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1247 from OfficeDev/v-hrajandira/CsharpNewToolkitPR1
PR 2 - Implement New toolkit version csharp samples
- Loading branch information
Showing
74 changed files
with
394 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 8 additions & 23 deletions
31
samples/bot-conversation/csharp/Properties/launchSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,13 @@ | ||
{ | ||
"profiles": { | ||
// Debug project within Teams | ||
"Microsoft Teams (browser)": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": true, | ||
"launchBrowser": true, | ||
"launchUrl": "https://teams.microsoft.com/l/app/%TEAMSAPPID%?installAppPackage=true&webjoin=true&appTenantId=%TENANTID%&login_hint=%USERNAME%", | ||
"applicationUrl": "http://localhost:5130", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"hotReloadProfile": "aspnetcore" | ||
"Start Project": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": true, | ||
"applicationUrl": "https://localhost:7130;http://localhost:5130", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"hotReloadProfile": "aspnetcore" | ||
} | ||
//// Uncomment following profile to debug project only (without launching Teams) | ||
//, | ||
//"Start Project (not in Teams)": { | ||
// "commandName": "Project", | ||
// "dotnetRunMessages": true, | ||
// "launchBrowser": true, | ||
// "applicationUrl": "https://localhost:7130;http://localhost:5130", | ||
// "environmentVariables": { | ||
// "ASPNETCORE_ENVIRONMENT": "Development" | ||
// }, | ||
// "hotReloadProfile": "aspnetcore" | ||
//} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk"> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>42a0237c-30e0-42ae-b6ed-50f318517e77</ProjectGuid> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<ProjectCapability Include="ProjectConfigurationsDeclaredDimensions" /> | ||
</ItemGroup> | ||
</Project> |
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"profiles": { | ||
// Debug project within Teams | ||
"Microsoft Teams (browser)": { | ||
"commandName": "Project", | ||
"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}}" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
samples/bot-conversation/csharp/TeamsConversationBot.slnLaunch.user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"Name": "Microsoft Teams (browser)", | ||
"Projects": [ | ||
{ | ||
"Path": "TeamsConversationBot.csproj", | ||
"Action": "Start", | ||
"DebugTarget": "Start Project" | ||
}, | ||
{ | ||
"Path": "TeamsApp\\TeamsApp.ttkproj", | ||
"Action": "StartWithoutDebugging", | ||
"DebugTarget": "Microsoft Teams (browser)" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
samples/tab-channel-group/mvc-csharp/ChannelGroupTabMVC.slnLaunch.user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"Name": "Microsoft Teams (browser)", | ||
"Projects": [ | ||
{ | ||
"Path": "ChannelGroupTabMVC.csproj", | ||
"Action": "Start", | ||
"DebugTarget": "Start Project" | ||
}, | ||
{ | ||
"Path": "TeamsApp\\TeamsApp.ttkproj", | ||
"Action": "StartWithoutDebugging", | ||
"DebugTarget": "Microsoft Teams (browser)" | ||
} | ||
] | ||
} | ||
] |
31 changes: 8 additions & 23 deletions
31
samples/tab-channel-group/mvc-csharp/Properties/launchSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,13 @@ | ||
{ | ||
"profiles": { | ||
// Debug project within Teams | ||
"Microsoft Teams (browser)": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": true, | ||
"launchBrowser": true, | ||
"launchUrl": "https://teams.microsoft.com/l/app/%TEAMSAPPID%?installAppPackage=true&webjoin=true&appTenantId=%TENANTID%&login_hint=%USERNAME%", | ||
"applicationUrl": "https://localhost:44302;http://localhost:2544", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"hotReloadProfile": "aspnetcore" | ||
"Start Project": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": true, | ||
"applicationUrl": "https://localhost:44302;http://localhost:2544", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"hotReloadProfile": "aspnetcore" | ||
} | ||
//// Uncomment following profile to debug project only (without launching Teams) | ||
//, | ||
//"Start Project (not in Teams)": { | ||
// "commandName": "Project", | ||
// "dotnetRunMessages": true, | ||
// "launchBrowser": true, | ||
// "applicationUrl": "https://localhost:44302;http://localhost:2544", | ||
// "environmentVariables": { | ||
// "ASPNETCORE_ENVIRONMENT": "Development" | ||
// }, | ||
// "hotReloadProfile": "aspnetcore" | ||
//} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
samples/tab-channel-group/mvc-csharp/TeamsApp/TeamsApp.ttkproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" Sdk="Microsoft.TeamsFx.Sdk"> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>ec07a694-79e6-4a5b-9824-4c87a1cb45d6</ProjectGuid> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<ProjectCapability Include="ProjectConfigurationsDeclaredDimensions" /> | ||
</ItemGroup> | ||
</Project> |
File renamed without changes
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.