How to reference Microsoft.Web.Administration?

后端 未结 11 1643
你的背包
你的背包 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:50

    You may modify your project file manually. Adding/Changing the reference like below will find the assembly in GAC regardless of its location:

    
        False
    
    

    Of course, if the feature "IIS management console" is installed only. You may simply leave a hint in code:

    #warning Windows feature "IIS management console" must be installed locally
    

提交回复
热议问题