The target “MSDeployPublish” does not exist in the project

前端 未结 12 1620
夕颜
夕颜 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条回答
  •  -上瘾入骨i
    2020-12-15 20:12

    To add to the answer by @Uri Golani, a switch to the new PackageReference way instead of with the traditional nuget that uses the packages folder, meant it looked like I could delete the packages folder. Whelp, apparently, those references in the csproj to the packages folder (which folder I had deleted) were the problem. I'm not sure how to get the right reference to something else (whatever cache the PackageReferences refer to), so for now, just re-adding a packages folder, with the Microsoft.Bcl.Build.1.0.21 and the Microsoft.Web.WebJobs.Publish.1.1.0 nuget folders seemed to fix this.

提交回复
热议问题