Update ConsumeNightlyDocs

Update ConsumeNightlyDocs
This commit is contained in:
David Müller
2021-03-07 08:56:54 +01:00
committed by GitHub
parent b5923ca216
commit ee0ccf33df
3 changed files with 23 additions and 13 deletions
+23 -13
View File
@@ -16,28 +16,38 @@ To consume nightly builds, create a `NuGet.Config` in your root solution directo
</configuration>
```
### Install packages
## Install packages
Visual Studio:
### Visual Studio:
![File](images/nightly.PNG)
NuGet (Package Manager console):
![File](images/nightly.PNG)\
Example:\
![File](images/nightlyExample.PNG)
### NuGet (Package Manager console):
```powershell
PM> Install-Package coverlet.msbuild -Version 3.0.0-preview.18.g183cbed8a6 -Source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json
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:
```powershell
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:
### .NET CLI:
```bash
dotnet add package coverlet.msbuild --version 3.0.0-preview.18.g183cbed8a6 --source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json
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:
```bash
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:
### MSBuild project file:
```xml
<PackageReference Include="coverlet.msbuild" Version="3.0.0-preview.18.g183cbed8a6" />
<PackageReference Include="coverlet.msbuild" Version="X.X.X-preview.X.XXX " />
```
_Note: The version provided here is just an example, you should use the latest when possible_
Example:
```xml
<PackageReference Include="coverlet.msbuild" Version="3.0.4-preview.4.g5de0ad7d60" />
```
Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB