Search code examples
botframeworkbot-framework-composer

How to maintain Bot Framework Composer built bot code on GitHub?


I was able to create a bot using the Enterprise Assistant (EA) C# Bot Framework Composer template but the project has some big files e.g. onnxruntime.dll, etc. that is not allowing me to commit it to GitHub.

Can anyone explain how to host the EA template bot on GitHub?


Solution

  • The simple answer is don't commit the DLLs or other large files to Github, as well as folders like bin and obj, which will be regenerated when you build the bot. Make use of a .gitignore file to limit what you commit to your non-sensitive project files alone. If you're working with any teammates, they would need to have copies of those DLLs. Since they would have the same .gitignore file, they would not commit the DLLs either.