OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 186 forks source link

Teams Toolkit VS 2022 - .gitignore missing in TeamsApp.ttkproj #11864

Open wss-alubic opened 3 months ago

wss-alubic commented 3 months ago

Describe the bug When creating a new Teams App Chat Command bot, the .gitignore is missing from TeamsApp.ttkproj. .env.local and the build folder will be checked into git by default.

To Reproduce Steps to reproduce the behavior:

  1. Add a new Microsoft Teams App and choose Chat Command Bot. Name it MyChatBot.
  2. Two projects are added, one called TeamsApp.ttkproj, and one named MyChatBot.csproj
  3. Observe that there is a .gitignore written to MyChatBot.csproj but not to TeamsApp.ttkproj

Expected behavior There should be a .gitignore in TeamsApp.ttkproj with the TeamsFx ignores and the user-specific files ignored.

Additional context This file was written correctly: https://github.com/wss-alubic/ttk-devtunnel-bug/blob/main/src/TtkDevTunnelBug.ChatBot/.gitignore

The "TeamsFx files" and "User-specific files" sections should've been written to a separate .gitignore in this project: https://github.com/wss-alubic/ttk-devtunnel-bug/tree/main/TeamsApp

microsoft-github-policy-service[bot] commented 3 months ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

Alive-Fish commented 3 months ago

Thanks for reporting the issue. We will have a fix on it in the future.