1
1
# Consume nightly build
2
2
3
- You can check the metadata of nightly build packages here:
4
-
5
- MSBuild https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.msbuild
6
- VSTest collector https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.collector
7
- .NET tools https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.console
8
-
9
3
To consume nightly builds, create a ` NuGet.Config ` in your root solution directory and add the following content:
10
4
11
5
``` xml
@@ -14,7 +8,7 @@ To consume nightly builds, create a `NuGet.Config` in your root solution directo
14
8
<packageSources >
15
9
<clear />
16
10
<!-- Coverlet nightly build feed -->
17
- <add key =" coverletNightly" value =" https://www.myget.org/F /coverlet-dev/api /v3/index.json" />
11
+ <add key =" coverletNightly" value =" https://pkgs.dev.azure.com/tonerdo /coverlet/_packaging/coverlet-nightly/nuget /v3/index.json" />
18
12
<!-- Default nuget feed -->
19
13
<add key =" nuget" value =" https://api.nuget.org/v3/index.json" />
20
14
<!-- Add all other needed feed -->
@@ -31,31 +25,19 @@ Visual Studio:
31
25
NuGet (Package Manager console):
32
26
33
27
``` powershell
34
- PM> Install-Package coverlet.msbuild -Version 2.6.25-g6209239d69 -Source https://www.myget.org/F /coverlet-dev/api /v3/index.json
28
+ 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
35
29
```
36
30
37
31
.NET CLI:
38
32
39
33
``` bash
40
- dotnet add package coverlet.msbuild --version 2.6.25-g6209239d69 --source https://www.myget.org/F /coverlet-dev/api /v3/index.json
34
+ 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
41
35
```
42
36
43
37
MSBuild project file:
44
38
45
39
``` xml
46
- <PackageReference Include =" coverlet.msbuild" Version =" 2.6.25-g6209239d69 " />
40
+ <PackageReference Include =" coverlet.msbuild" Version =" 3.0.0-preview.18.g183cbed8a6 " />
47
41
```
48
42
49
- ### How to verify version
50
-
51
- You can understand which version you're using by comparing nightly build release date with repo commits.
52
-
53
- For instance if we want to consume last msbuild nightly build:
54
-
55
- * Go to https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.msbuild
56
- * Scroll down the page and check release date
57
- ![ File] ( images/nightly_1.PNG )
58
- * Go to repo commits and compare date and first part of commit hash
59
- ![ File] ( images/nightly_2.PNG )
60
-
61
- As you can see we build at 00.00 UTC and build takes some seconds, so it's possible that release date won't be the same as repo commits.
43
+ _ Note: The version provided here is just an example, you should use the latest when possible_
0 commit comments