Build and Run Bot Builder SDK
If you want to understand how the Bot Builder SDK works or want to debug an issue, you'll want to get the source, build it, and use it locally with a bot project.
Prerequisites
Clone
Clone a copy of the repo:
git clone https://github.com/Microsoft/botbuilder-dotnet.git
Change to the SDK's directory:
cd botbuilder-dotnet
Build and test locally
Open Microsoft.Bot.Builder.sln
in Visual Studio.
On the menu bar, choose Build > Build Solution.
The NuGet package files (.nupkg) are built within each Visual Studio project, under the bin\Debug
directory. For example, you can find the NuGet package for Microsoft.Bot.Builder
in the bin\Debug
folder under that project.
To consume the NuGet packages you built:
- Copy the .nupkg files from the project folders to a local folder.
- To add them to the NuGet package feed, choose Tools > NuGet Package Manager > Package Manager Settings from the menu bar.
- Expand NuGet Package Manager and choose Package Sources to add a new soucre.
For more information, see Package sources.