Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to register ASP.NET on Windows 10?

I got the following error when I run this command: aspnet_regiis.exe -i

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Start installing ASP.NET (4.0.30319.0). This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771. Finished installing ASP.NET (4.0.30319.0).

This is my Windows Features configurations: enter image description here

like image 920
Joseph Katzman Avatar asked Nov 09 '22 01:11

Joseph Katzman


1 Answers

According to this .NET Framework Versions and Dependencies page, you need at least .NET 4.6 to be compatible with Windows 10.

like image 84
JohnH Avatar answered Nov 15 '22 05:11

JohnH