The target “MSDeployPublish” does not exist in the project

前端 未结 12 1617
夕颜
夕颜 2020-12-15 19:48

I know there have been other references to this issue. But I didn\'t upgrade from one version of VS to another. I am currently using VS 2013. The project builds fine, and ha

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 20:08

    Having just re-installed VS 2017 (15.5.6) I ran into this with one of three WCF projects. I picked through the csprojs for all three and could find no difference between them, cutting and pasting the various imports, paths etc from the working ones didn't make any difference.

    Adding the nuget package MSBuild.Microsoft.VisualStudio.Web.targets (v14.0.0.3 was the latest, i.e. VS2015) has fixed the problem...for the moment. I can't believe this has gone away for good though.

提交回复
热议问题