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

前端 未结 19 1544
走了就别回头了
走了就别回头了 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:47

    I realize this in an old question, but I ran into it recently and here is how I solved it.

    Background: I had an old project that I upgraded to VS studio 13. It looks like the project file wasn't upgraded properly.

    There are references to VS v10.0, in the csproj file, but I am running VS 13 which is really "v12.0".

    So I told the csproj file to use the "v12.0" folder, not a "v10.0" folder.

    This is what I had:

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

    This is what I changed it into:

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

    Now my publishing to the filesystem works!

提交回复
热议问题