You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/project/dogfooding.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
# Dogfooding nightly builds of .NET
1
+
# Dogfooding daily builds of .NET
2
2
3
-
This document provides the steps necessary to consume a nightly build of .NET runtime and SDK.
3
+
This document provides the steps necessary to consume a latest development build of .NET runtime and SDK.
4
4
Example below is for 7.0 but similar steps should work for other versions as well.
5
5
6
-
## Obtaining nightly builds of NuGet packages
6
+
## Obtaining daily builds of NuGet packages
7
7
8
-
If you are only looking to get fixes for an individual NuGet package, and don't need a preview version of the entire runtime, you can add the nightly build package feed to your `NuGet.config` file. The easiest way to do this is by using the dotnet CLI:
8
+
If you are only looking to get fixes for an individual NuGet package, and don't need a preview version of the entire runtime, you can add the development package feed to your `NuGet.config` file. The easiest way to do this is by using the dotnet CLI:
9
9
10
-
**(Recommended)** Create a local NuGet.Config file for your solution, if don't already have one. Using a local NuGet.Config file will enable the nightly feed as a package source for projects in the current directory only.
10
+
**(Recommended)** Create a local NuGet.Config file for your solution, if don't already have one. Using a local NuGet.Config file will enable the development feed as a package source for projects in the current directory only.
11
11
```
12
12
dotnet new nugetconfig
13
13
```
@@ -24,11 +24,11 @@ Then, you will be able to add the latest prerelease version of the desired packa
To use nightly builds of the entire runtime, follow the steps given in the rest of this document instead.
27
+
To use daily builds of the entire runtime, follow the steps given in the rest of this document instead.
28
28
29
29
## Install prerequisites
30
30
31
-
1. Acquire the latest nightly .NET SDK by downloading and extracting a zip/tarball or using an installer from the [installers and binaries table in dotnet/installer](https://github.com/dotnet/installer#installers-and-binaries) (for example, https://aka.ms/dotnet/7.0/daily/dotnet-sdk-win-x64.zip).
31
+
1. Acquire the latest development .NET SDK by downloading and extracting a zip/tarball or using an installer from the [installers and binaries table in dotnet/installer](https://github.com/dotnet/installer#installers-and-binaries) (for example, https://aka.ms/dotnet/7.0/daily/dotnet-sdk-win-x64.zip).
32
32
33
33
2. If you are using a local copy of the dotnet CLI, take care that when you type `dotnet` you do not inadvertently pick up a different copy that you may have in your path. On Windows, for example, if you use a Command Prompt, a global copy may be in the path, so use the fully qualified path to your local `dotnet` (e.g. `C:\dotnet\dotnet.exe`). If you receive an error "error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0." then you may be executing an older `dotnet`.
34
34
@@ -68,7 +68,7 @@ Learn about .NET Runtimes and SDKs:
68
68
69
69
```
70
70
71
-
3. Our nightly builds are uploaded to nightly feed, not NuGet - so ensure the nightly feed is in your nuget configuration in case you need other packages that aren't included in the download. For example, on Windows you could edit `%userprofile%\appdata\roaming\nuget\nuget.config` or on Linux edit `~/.nuget/NuGet/NuGet.Config` to add these lines:
71
+
3. Our daily builds are uploaded to development feed, not NuGet - so ensure the development feed is in your nuget configuration in case you need other packages that aren't included in the download. For example, on Windows you could edit `%userprofile%\appdata\roaming\nuget\nuget.config` or on Linux edit `~/.nuget/NuGet/NuGet.Config` to add these lines:
## Advanced Scenario - Using a nightly build of Microsoft.NETCore.App
100
+
## Advanced Scenario - Using a daily build of Microsoft.NETCore.App
101
101
102
102
When using the above instructions, your application will run against the same
103
103
.NET runtime that comes with the SDK. That works fine to get up and
104
-
running quickly. However, there are times when you need to use a nightly build
104
+
running quickly. However, there are times when you need to use a daily build
105
105
of Microsoft.NETCore.App which hasn't made its way into the SDK yet. To enable
106
106
this, there are two options you can take.
107
107
@@ -110,8 +110,8 @@ this, there are two options you can take.
110
110
This is the default case for applications - running against an installed .NET runtime.
111
111
112
112
1. You still need to install the prerequisite .NET SDK from above.
113
-
2. Optionally, install the specific .NET runtime you require globally or download get the latest one available from the [nightly build table](#nightly-builds-table)
114
-
3. Modify your .csproj to reference the nightly build of Microsoft.NETCore.App
113
+
2. Optionally, install the specific .NET runtime you require globally or download get the latest one available from the [daily build table](#daily-builds-table)
114
+
3. Modify your .csproj to reference the daily build of Microsoft.NETCore.App
115
115
116
116
```XML
117
117
<PropertyGroup>
@@ -133,7 +133,7 @@ $ dotnet run
133
133
In this case, the .NET runtime will be published along with your application.
134
134
135
135
1. You still need to install the prerequisite .NET SDK from above.
136
-
2. Modify your .csproj to reference the nightly build of Microsoft.NETCore.App *and*
136
+
2. Modify your .csproj to reference the daily build of Microsoft.NETCore.App *and*
137
137
make it self-contained by adding a RuntimeIdentifier (RID).
138
138
139
139
```XML
@@ -154,7 +154,7 @@ $ dotnet publish
154
154
$ bin\Debug\net7.0\win-x64\publish\App.exe
155
155
```
156
156
157
-
### Nightly builds table
157
+
### Daily builds table
158
158
159
159
<!--
160
160
To update this table, run 'build.sh/cmd RegenerateDownloadTable'. See
Copy file name to clipboardExpand all lines: docs/workflow/requirements/windows-requirements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ The dotnet/runtime repository requires at least Git 2.22.0.
81
81
82
82
While not strictly needed to build or test this repository, having the .NET SDK installed lets you browse solution files in this repository with Visual Studio and use the dotnet.exe command to run .NET applications in the 'normal' way.
83
83
We use this in the [Using Your Build](../testing/using-your-build.md) instructions.
84
-
The minimum required version of the SDK is specified in the [global.json file](https://github.com/dotnet/runtime/blob/main/global.json#L3). [You can find the installers and binaries for nightly builds of .NET SDK here](https://github.com/dotnet/installer#installers-and-binaries).
84
+
The minimum required version of the SDK is specified in the [global.json file](https://github.com/dotnet/runtime/blob/main/global.json#L3). [You can find the installers and binaries for latest development builds of .NET SDK here](https://github.com/dotnet/installer#installers-and-binaries).
85
85
86
86
Alternatively, to avoid modifying your machine state, you can use the repository's locally acquired SDK by passing in the solution to load via the `-vs` switch:
Copy file name to clipboardExpand all lines: docs/workflow/using-dotnet-cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ All paths in examples below are Windows-style but the procedure is otherwise exa
23
23
24
24
If you don't have this folder, you may have built binaries but not packages. Try building from the root with a command like `build.cmd clr+libs+host+packs -c release`.
25
25
26
-
2. Acquired the latest nightly .NET SDK from [here](https://github.com/dotnet/installer) and added its root folder to your [path](requirements/windows-requirements.md#adding-to-the-default-path-variable)
26
+
2. Acquired the latest development .NET SDK from [here](https://github.com/dotnet/installer) and added its root folder to your [path](requirements/windows-requirements.md#adding-to-the-default-path-variable)
0 commit comments