Why do I get the error “The target GatherAllFilesToPublish does not exist”?

前端 未结 19 1533
走了就别回头了
走了就别回头了 2020-12-07 18:21

I have recently installed the new Azure development tools for Visual Studio 2010 service pack 1. Every time that I try to publish an existing website (using file system depl

19条回答
  •  星月不相逢
    2020-12-07 18:59

    I've been struggling with the same problem with Visual Studio 2013 (and 2015).

    The crucial fix for me was to add the VSToolsPath property setting, which was missing in my project file, for whatever reason.

    I added this into the directive:

    $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
    

    As a side note: My project file is also referencing the v10.0 version of the Microsoft.WebApplication.targets file, but that seems to be okay.

提交回复
热议问题