VS 2015 - 如何显示从项目中排除的文件 [英] VS 2015 - How to show files excluded from project

查看:574
本文介绍了VS 2015 - 如何显示从项目中排除的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从VC ++项目中排除了一些文件。  在VS 2015中,"显示所有文件"按钮不会像在VS 2013中那样显示排除的文件。 

I have excluded a few files from a VC++ project.  In VS 2015, the Show All Files button does NOT show the excluded files as it did in VS 2013. 

是否有人知道如何使VS 2015显示排除的文件?

Does anybody know how to make VS 2015 show excluded files?

谢谢,

珍妮

推荐答案

嗨Jenny,

Hi Jenny,

>>我从VC ++项目中排除了一些文件。  在VS 2015中,"显示所有文件"按钮不会像在VS 2013中那样显示排除的文件。 

>>I have excluded a few files from a VC++ project.  In VS 2015, the Show All Files button does NOT show the excluded files as it did in VS 2013. 

您是如何排除项目文件的?

How did you excluded your project files?

喜欢这种情况:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/2ed987ea- 901e-4d8c-b47a-78fd2936002d / exclude-a-file-from-the-project?forum = Vsexpressvb

您是否使用快捷方式"标记为排除"(Shift) +删除)"?

Do you use the shortcut "Mark As Exclude( Shift + Delete )"?

例如,我在我的VS2015中测试它,如果我排除了文件,我可以在解决方案资源管理器窗口中看到它们,我可以将其标记为Unexclude  ;使用(Ctrl + Insert)。

For example, I test it in my VS2015, if I exclude the files, I could see them in the solution explorer window, and I could mark it as Unexclude using ( Ctrl + Insert ).

或者你的意思是你使用这个选项:

Or you mean that you use this option:

然后我们看不到这个文件,但如果我们点击"共享所有文件",如上面的屏幕截图中的1,您可以像下面的屏幕截图那样得到它,然后您可以将它包含在您的项目中。

And then we couldn't see this file, but if we click "Share all files" like 1 in above screen shot, you would get it like the following screen shot, and then you could include it in your project.

我用的是最新的VS2015 企业版,如果它没有在你的身边工作,也许你可以修复你的VS,再次检查它。或者你可以告诉我真正的VS版本和环境,我会在我身边测试它,如果你也可以分享详细的
步骤来重现这个问题。

I use the latest VS2015 Enterprise version, if it doesn't work in your side, maybe you could repair your VS, check it again. Or you could tell me the real VS version and Environment, I will test it in my side if you also could share me the detailed steps to repro this issue.

最好的问候,

杰克


这篇关于VS 2015 - 如何显示从项目中排除的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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