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

后端 未结 2 1296
别跟我提以往
别跟我提以往 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:29

    Web Deloy 3.5 Solve my problem you can download from Web Deploy 3.5, from http://www.iis.net/downloads/microsoft/web-deploy
    Close and reload your project in VS 2013.
    try to validate at connection tab Publish your site.

    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题