OfficeDev / Microsoft-Teams-Samples

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
MIT License
1.01k stars 771 forks source link

bot-conversation-sso-quickstart csharp version has build errors #1326

Open appieschot opened 3 months ago

appieschot commented 3 months ago

When pulling in the csharp version of the bot-conversation-sso-quickstart available at: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/csharp_dotnetcore/BotConversationSsoQuickstart

The F5 experience does not work due to a missing file (or wrong filepath depending on your take).

The build experience uses the file BotConversationSsoQuickstart\teamsapp.local.yml to run. That file contains teamsApp/validateManifest that refers to the following:

  - uses: teamsApp/validateManifest
    with:
      # Path to manifest template
      manifestPath: ./AppManifest/manifest.json

That file path does not exist, it most likely must point to ../TeamsApp/appPackage/manifest.json

The same is for all following steps:

Happy to create a pull request with changes if we agree on that approach.

appieschot commented 3 months ago

In addition, the manifest.json in the /TeamsApp is working properly, I assume you could also safely remove the infra and teamsapp.yml files from the BotConversationSsoQuickstart project.

Meghana-MSFT commented 3 months ago

@appieschot - Thank you for reporting this, we have informed this to the sample team. PR will be raised to make necessary changes.

Update: PR https://github.com/OfficeDev/Microsoft-Teams-Samples/pull/1327 has been raised and merged for above issue.