Edit

Share via

Upload file in Teams using bot

Build and run the service

To build and run the service using Visual Studio or Command line.

  1. Open Visual Studio.

  2. Go to File > Open > Project/Solution....

    Screenshot shows the Project/Solution option in Visual studio.

  3. From samples > bot-file-upload > csharp folder, select TeamsFileUpload.csproj file.

    Screenshot shows the option to select sample folder.

  4. From View, select Solution Explorer.

    Screenshot shot show the View option to select Solution explorer.

  5. Press F5 to run the project.

  6. Select Yes if the Security Warning dialog appears:

    Screenshot shows the security warning certificate to accept.

    A webpage opens with a message Your bot is ready!.

    Screenshot shows that your bot is ready.