Skip to content

Commit

Permalink
Add daily builds instructions (#5044)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrivera-ms authored Dec 11, 2020
1 parent 2309461 commit aef2488
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The daily feeds are published to Azure Artifacts and MyGet.
- The Azure Artifacts daily feed is our preferred method to obtain the most recent Bot Framework NuGet packages. To use the daily builds published to Azure Artifacts, use:
`https://pkgs.dev.azure.com/ConversationalAI/BotFramework/_packaging/SDK/nuget/v3/index.json`

For instructions to add the feed to your NuGet configuration, [visit this page](https://docs.microsoft.com/en-us/azure/devops/artifacts/nuget/consume?view=azure-devops#windows-add-the-feed-to-your-nuget-configuration).
- For detailed instructions to consume the daily builds in Azure Artifacts [visit this page](dailyBuilds.md).
- To use the daily builds published to MyGet, please follow the instructions [here](UsingMyGet.md). **NOTE**: The MyGet feed will be depecrated soon. Please use the Azure Artifacts daily feed instead.

## Dependency Graph
Expand Down
45 changes: 45 additions & 0 deletions dailyBuilds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Consuming daily builds of the SDK

## Connect to the feed

Daily packages for the Bot Framework SDK for Dotnet are published to [`Azure Artifacts`](https://dev.azure.com/ConversationalAI/BotFramework/_packaging?_a=feed&feed=SDK) (filter by "Microsoft.Bot.Builder").

Follow the configuration steps below, depending on your case:

### Using dotnet command line

Add a nuget.config file to your project, in the same folder as your .csproj or .sln file

```<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="SDK" value="https://pkgs.dev.azure.com/ConversationalAI/BotFramework/_packaging/SDK/nuget/v3/index.json" />
</packageSources>
</configuration>
```
Restore packages (using the interactive flag, which allows dotnet to prompt you for credentials)
```
dotnet restore --interactive
```
Note: You don't need --interactive every time. dotnet will prompt you to add --interactive if it needs updated credentials.

### Using Visual Studio
On the Tools menu, select Options > NuGet Package Manager > Package Sources. Select the green plus in the upper-right corner and enter the name and source URL below.

Name
```
SDK
```
Source
```
https://pkgs.dev.azure.com/ConversationalAI/BotFramework/_packaging/SDK/nuget/v3/index.json
```
Note: You need to do this on every machine that needs access to your packages. Use the NuGet.exe instructions if you want to complete setup once and check it into your repository.`

On the Tools menu, select Options > NuGet Package Manager > Package Manager Console. Find a package you want to use, copy the Package Manager command, and paste it in the Package Manager Console.

For example:
```
Install-Package Microsoft.Bot.Builder
```

0 comments on commit aef2488

Please sign in to comment.