如何在Windows 10上注册ASP.NET? [英] How to register ASP.NET on Windows 10?

查看:519
本文介绍了如何在Windows 10上注册ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行此命令时出现以下错误: aspnet_regiis.exe -i


C:\ Windows \ microsoft.NET \ Framework64 \v4.0.30319> aspnet_regiis.exe -i
Microsoft(R)ASP.NET RegIIS版本4.0.30319.0管理
实用程序在本地计算机上安装和卸载ASP.NET。
版权所有(C)Microsoft Corporation。版权所有。启动
安装ASP.NET(4.0.30319.0)。此
版本的操作系统不支持此选项。管理员应使用打开/关闭Windows
功能对话框,服务器管理器管理工具或
dism.exe命令行工具,使用IIS8安装/卸载带有IIS8的ASP.NET 4.5
。有关详细信息,请参阅

解决方案

根据此 .NET Framework版本和依赖关系页面,您至少需要.NET 4.6才能兼容使用Windows 10.



您的错误消息暗示应安装ASP.NET 4.5。



无论哪种方式,Windows 10似乎不支持4.0 .NET Framework。


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:

解决方案

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

Your error message implied that ASP.NET 4.5 should be installed instead.

Either way, the 4.0 .NET Framework does not seem to be supported on Windows 10.

这篇关于如何在Windows 10上注册ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆