问题描述
aspnet_regiis实用程序的帮助文本为-ir选项说明以下内容:
The help text of aspnet_regiis utility says the following for "-ir" option:
Install this version of ASP.NET, register only. Do not change any web applications to use this version.
以下为-iru选项:
Install this version of ASP.NET. If there are any existing applications that uses ASP.NET, it will not change IIS configuration to use this version.
一定是我的英文,但我不明白它们的区别是什么 - 两者都不会改变任何使用此版本的应用程序。我担心自己尝试这一点并不准确,因为我几乎不知道在哪里研究......
It must be my English, but I do not understand what the difference is - both won't change any apps to use this version. And I'm afraid that trying this out myself won't be precise, since I hardly know where to look into...
有谁知道这个区别?
推荐答案
我如何理解 aspnet_regiis.exe的参数
切换-iru应该如何通常用来代替-ir。 .NET Framework的安装和IIS中的Framework注册需要一些步骤,如脚本映射:IIS中不同.NET特殊扩展的关联(参见例如)。安装可以在没有步骤(switch -ir)的情况下运行,但只有在已经向IIS注册了以前版本的ASP.NET 时才更有意义跳过步骤。这确实是 aspnet_regiis.exe -iru
。如果没有向IIS注册以前版本的ASP.NET,那么 aspnet_regiis.exe -iru
确实在IIS中进行所有注册并像 aspnet_regiis.exe一样工作-i
。如果已经在IS中注册了以前版本的ASP.NET,则 aspnet_regiis.exe -iru
的工作方式如 aspnet_regiis.exe -ir
。
How I understand the parameters of aspnet_regiis.exe
the switch -iru should be typically used instead of -ir. The installation of .NET Framework and registration of the Framework in IIS needs some steps like script mapping: association of different .NET special extensions in IIS (see this place for example). The installation can run without the step (switch -ir), but it has more sense to skip the steps only if a previous version of ASP.NET is already registered with IIS. Exactly this do aspnet_regiis.exe -iru
. If no previous version of ASP.NET is registered with IIS, then aspnet_regiis.exe -iru
do make all registrations in IIS and work like aspnet_regiis.exe -i
. If do a previous version of ASP.NET is already registered in IS the aspnet_regiis.exe -iru
work like aspnet_regiis.exe -ir
.
这篇关于“aspnet_regiis -ir”和“aspnet_regiis -ir”之间的区别是什么?和“aspnet_regiis -iru”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!