MSBuild target package not found

后端 未结 7 1268
星月不相逢
星月不相逢 2020-11-27 15:26

I want to package my VS2010 web application project ready for deployment with msdeploy. On development machine I can do this using:

MSBuild.exe \"C:\\path\\t         


        
7条回答
  •  执笔经年
    2020-11-27 16:10

    I know it's an old question, but I recently ran into the same issue and none of the answers helped. I was missing following file on my build server:

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio
        \v11.0\Web\Microsoft.Web.Publishing.targets
    

    It is imported by:

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio
        \v11.0\WebApplications\Microsoft.WebApplication.targets
    

    Hope this helps someone like me :)

提交回复
热议问题