Could not load file or assembly 'Microsoft.Web.Deployment, Version=9.0.0.0

后端 未结 2 1288
别跟我提以往
别跟我提以往 2021-02-20 02:12

I have VS 2013 Ultimate. My remote server is IIS 7.5 and enabled for remote deployment. I have installed Web Deploy Tool 2.1 through Web Platform Installer 4.6 and it installed

2条回答
  •  粉色の甜心
    2021-02-20 02:45

    In 2020, I solved this issue like this:

    1. Go to References in VS
    2. Right Click, then Add Reference
    3. Browse to "C:\Program Files\IIS\Microsoft Web Deploy" (it should be installed already, if not, download and install from this link.)
    4. Select "Microsoft.Web.Deployment.dll" and add it to the project
    5. Don't forget to restart and clean & rebuild your project

提交回复
热议问题