Thursday, September 27, 2018
Thursday, September 29, 2016
How to register .Net 4.5.1 with IIS8 on windows 10
You can use the
dism
tool to enable features built into Windows. To install .NET 4.5 (or 4.6, they're the same since it's the same CLR4 underneath) into IIS, I think this will work:dism /online /enable-feature /featurename:IIS-ASPNET45 /all
The
/all
flag will include any dependencies so you don't have to figure them all out.
You can also see all of the available features by running:
dism /online /get-features
As an aside,
aspnet_regiis
was used when you needed to install a version of the CLR into IIS. Since all versions of .NET since 4.0 use the same CLR versions, this is now built into the Windows features. So you use DISM to enable the feature instead.Monday, July 18, 2016
Subscribe to:
Posts (Atom)