Visual Studio 2012 在项目中包含文件和文件夹 [英] Visual Studio 2012 include files and folders in project

查看:43
本文介绍了Visual Studio 2012 在项目中包含文件和文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对文件夹进行了大量更改.我

I made a bunch of changes to a folder. I

  • 从 TFS 2012 中检出整个文件夹(删除只读标志)
  • 然后将我的更改(许多不同文件夹中的许多文件)复制到工作副本,覆盖现有文件
  • 尝试将所有新文件都包含到项目中

但是我在最后一步失败了.对于包含在项目中",我需要选择目标文件或文件夹,但这不是选项,太多文件夹中的文件太多.有什么方法可以有效地做到这一点,而无需遍历每个文件夹并手动查找新文件?

But I failed on the last step. For "Include in project" I need to select the target files oder folders, but this is no option, too many files in too many folders. Is there some way to do it efficiently, without going through every folder and looking for new files manually?

推荐答案

这就是我现在所做的:我

This is what I did now: I

  • 删除了我项目中的所有文件和文件夹
  • 将新文件和文件夹复制到目标位置
  • 在解决方案资源管理器中启用显示所有文件"
  • 包括复制的文件和文件夹

现在我的解决方案中有正确的文件和文件夹,但是我丢失了它们的版本历史记录(好吧,它们主要是未经编辑的图像).

Now I have the correct files and folders in my solution, BUT I lost my version history on them (ok, they were mostly images with no edits on them).

这篇关于Visual Studio 2012 在项目中包含文件和文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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