Skip to content

Commit 04446e8

Browse files
authored
Document hosting bundle flags
1 parent 42c0a72 commit 04446e8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

aspnetcore/host-and-deploy/aspnet-core-module.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,22 @@ To determine the version of the installed ASP.NET Core Module:
362362

363363
The Hosting Bundle installer logs for the module are found at *C:\\Users\\%UserName%\\AppData\\Local\\Temp*. The file is named *dd_DotNetCoreWinSvrHosting__\<timestamp>_000_AspNetCoreModule_x64.log*.
364364

365+
## Hosting Bundle installer flags
366+
367+
Usage:
368+
369+
```console
370+
dotnet-hosting-{VERSION}.exe OPT_NO_{OPTION}=1
371+
```
372+
373+
| Option | Values | Description |
374+
|----------------------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
375+
| `OPT_NO_ANCM` | 0/1 | Whether the ASP.NET Core Module is installed or not with the Hosting Bundle. Setting OPT_NO_ANCM to 1 causes the ASP.NET Core Module not to be installed. |
376+
| `OPT_NO_SHARED_CONFIG_CHECK` | 0/1 | Whether to check if the ASP.NET Core Module is modifying a shared configuration file (in the `redirection.config`). Setting OPT_NO_SHARED_CONFIG_CHECK to 1 causes the Hosting Bundle to not check if a shared configuration is being used. |
377+
| `OPT_NO_SHAREDFX` | 0/1 | Whether to install the ASP.NET Core Shared Framework. Setting OPT_NO_SHAREDFX will cause the Hosting Bundle not to install the ASP.NET Core Shared Framework. |
378+
| `OPT_NO_RUNTIME` | 0/1 | Whether to install the .NET Core Runtime. Setting OPT_NO_RUNTIME will cause the Hosting Bundle not to install the .NET Core Runtime. |
379+
| `OPT_NO_X86` | 0/1 | Whether to install the x86 .NET Core Runtime and the ASP.NET Core Shared Framework. Setting OPT_NO_X86 will cause the Hosting Bundle not to install the x86 version of the .NET Core Runtime and ASP.NET Core Shared Frameowrk. |
380+
365381
## Module, schema, and configuration file locations
366382

367383
### Module

0 commit comments

Comments
 (0)