How to reference Microsoft.Web.Administration?

后端 未结 11 1653
你的背包
你的背包 2020-12-08 09:25

The Microsoft.Web.Administration assembly is found in C:\\Windows\\System32\\inetsrv on my machine. I believe it is installed as part of IIS. The assembly is al

11条回答
  •  情书的邮戳
    2020-12-08 09:49

    1. If you project file, change the hint path to %windir%\System32\inetsrv\Microsoft.Web.Administration.dll.
    2. Check in. Then anyone who checks out should see the proper reference if IIS is installed. If IIS is not installed, there will be a reference error they need to resolve.

    To resolve, they either install IIS via Programs in Control Panel or via command line as @DzmitryLahoda pointed out.

    Again, any trick pointing you to the NuGet packages is improper,

    https://blog.lextudio.com/2015/05/whats-microsoft-web-administration-and-the-horrible-facts-you-should-know/

提交回复
热议问题