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
{{ message }}
Repository navigation
There doesn't seem to be a way to install ASP.NET Core Windows Hosting Bundle #735
It requires admin rights — it installs the ASP.NET Core Module (ANCM) into IIS, which is a system-level operation.
It's a Windows .exe installer, not an archive — the script works by downloading .zip/.tar.gz archives and extracting them directly. There's no archive equivalent for the Hosting Bundle.
It's Windows/IIS-specific — the script is cross-platform (there's a bash counterpart dotnet-install.sh), and the Hosting Bundle is fundamentally a Windows/IIS concept.
The -Runtime options (dotnet, aspnetcore, windowsdesktop) all correspond to extractable archives on the feed. The Hosting Bundle only exists as a .exe installer, so it can't be supported the same way.
Hope that clarifies things! Similar context was discussed in #335 as well.
In particular, what is the Microsoft approved way to install the hosting bundle for CI processes
Our situation is we need to run the hosting bundle in a docker container - we are now just downloading the exe and running it but that doesn’t seem like best practice, but maybe it is?
Activity
ellahathaway commentedon Jul 29, 2026
Thanks for raising this! The Windows Hosting Bundle is intentionally not supported by
dotnet-install.ps1. The script is designed specifically for CI scenarios where .NET needs to be installed without admin rights and without user interaction. The Hosting Bundle breaks these constraints:.exeinstaller, not an archive — the script works by downloading.zip/.tar.gzarchives and extracting them directly. There's no archive equivalent for the Hosting Bundle.dotnet-install.sh), and the Hosting Bundle is fundamentally a Windows/IIS concept.The
-Runtimeoptions (dotnet,aspnetcore,windowsdesktop) all correspond to extractable archives on the feed. The Hosting Bundle only exists as a.exeinstaller, so it can't be supported the same way.Hope that clarifies things! Similar context was discussed in #335 as well.
catmanjan commentedon Jul 29, 2026
Can this be added to the doco somewhere?
In particular, what is the Microsoft approved way to install the hosting bundle for CI processes
Our situation is we need to run the hosting bundle in a docker container - we are now just downloading the exe and running it but that doesn’t seem like best practice, but maybe it is?
baronfel commentedon Jul 29, 2026
@joeloff do you know for any guidance for the hosting bundle here?