Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.71 KB

ConsumeNightlyBuild.md

File metadata and controls

61 lines (44 loc) · 1.71 KB

Consume nightly build

To consume nightly builds, create a NuGet.Config in your root solution directory and add the following content:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <!-- Coverlet nightly build feed -->
    <add key="coverletNightly" value="https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json" />
    <!-- Default nuget feed -->
    <add key="nuget" value="https://api.nuget.org/v3/index.json" />
    <!-- Add all other needed feed -->
  </packageSources>
</configuration>

Install packages

Visual Studio

File
Example:
File

NuGet (Package Manager console)

PM> Install-Package coverlet.msbuild -Version X.X.X-preview.X.XXX -Source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json

Example:

PM> Install-Package coverlet.msbuild -Version 3.0.4-preview.4.g5de0ad7d60 -Source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json

.NET CLI

 dotnet add package coverlet.msbuild --version X.X.X-preview.X.XXX --source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json

Example:

 dotnet add package coverlet.msbuild --version 3.0.4-preview.4.g5de0ad7d60 --source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json

MSBuild project file

<PackageReference Include="coverlet.msbuild" Version="X.X.X-preview.X.XXX " />

Example:

<PackageReference Include="coverlet.msbuild" Version="3.0.4-preview.4.g5de0ad7d60" />