aspnet_regiis - 不在服务器的路径中,但在 Windows 10 上?

aspnet_regiis - not in the path on Server, but is on Windows 10?

在加密 web.config 部分时,我发现在 Windows 2012-R2 上,aspnet_regiis 不在路径中,但在我的 Windows 10 工作站上, 是。

这样怎么会不一致呢?

(在服务器上,跨许多系统进入正确的 .NET 目录很麻烦)

阿克,我想我看到了。

如果我先

cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319

然后 aspnet_regiis 是完整的实用程序。

但路径中的那个来自(我相信)本地 iis I 运行 for dev.