为什么我得到错误"目标GatherAllFilesToPublish不存在"? [英] Why do I get the error "The target GatherAllFilesToPublish does not exist"?

查看:1644
本文介绍了为什么我得到错误"目标GatherAllFilesToPublish不存在"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了Visual Studio 2010的Service Pack 1的每一次我尝试发布一个现有的网站,新的Azure开发工具(使用文件系统部署),我收到以下错误:

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 deployment) I get the following error:

目标GatherAllFilesToPublish并不在项目中存在。

谁能告诉我,我缺少的是什么?

Can anyone tell me what I am missing?

感谢

推荐答案

家伙,我真的很抱歉,你正在运行到这个问题。

Guys I'm terribly sorry you are running into this issue.

我想我知道问题是什么。当您安装的Azure SDK位会安装一些网络VS发布的更新。其中一个更新在C文件:\\程序文件(x86)\\的MSBuild \\微软\\ VisualStudio的\\ 10.0 \\ web应用\\ Microsoft.WebApplication.targets。基于我们如何设置是如果该文件有更新的时间戳(无论何种原因),那么当您安装新组件文件没有得到更新定义。

I think that I know what the issue is. When you install the Azure SDK bits it installs some VS Web Publish updates. One of these updates the file at C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets. Based on how our setup is defined if that file has an updated timestamp (for whatever reason) then when you install the new component the file does not get updated.

要解决这一点,你应该能够按照以下步骤操作:

To resolve this you should be able to follow the steps below:


  • 重命名为Microsoft.WebApplication.targets Microsoft.WebApplication.targets.bak

  • 安装/使用的EXE <修复一个href=\"http://go.microsoft.com/fwlink/?LinkId=253458\">http://go.microsoft.com/fwlink/?LinkId=253458

你能尝试一下,让我知道,如果它不?

Can you try it out and let me know if it works or not?

这篇关于为什么我得到错误&QUOT;目标GatherAllFilesToPublish不存在&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆