diff --git a/docs/project/dogfooding.md b/docs/project/dogfooding.md index ab43438b85645f..797213387a233c 100644 --- a/docs/project/dogfooding.md +++ b/docs/project/dogfooding.md @@ -104,60 +104,3 @@ $ dotnet run ``` Rinse and repeat! - -## Advanced Scenario - Using a daily build of Microsoft.NETCore.App - -When using the above instructions, your application will run against the same -.NET runtime that comes with the SDK. That works fine to get up and -running quickly. However, there are times when you need to use a daily build -of Microsoft.NETCore.App which hasn't made its way into the SDK yet. To enable -this, there are two options you can take. - -### Option 1: Framework-dependent - -This is the default case for applications - running against an installed .NET runtime. - -1. You still need to install the prerequisite .NET SDK from above. -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) -3. Modify your .csproj to reference the daily build of Microsoft.NETCore.App - -```XML - - Exe - - net11.0 - - 11.0.0-alpha.1.24556.3 - -``` - -``` -$ dotnet restore -$ dotnet run -``` - -### Option 2: Self-contained - -In this case, the .NET runtime will be published along with your application. - -1. You still need to install the prerequisite .NET SDK from above. -2. Modify your .csproj to reference the daily build of Microsoft.NETCore.App *and* -make it self-contained by adding a RuntimeIdentifier (RID). - -```XML - - Exe - - net11.0 - - - 11.0.0-alpha.1.24556.3 - win-x64 - -``` - -``` -$ dotnet restore -$ dotnet publish -$ bin\Debug\net11.0\win-x64\publish\App.exe -```