[英]Don't See Properties Folder in VS Project
I have two projects. 我有两个项目。 One where I can see the properties folder within the project and the other I can't.
我可以看到项目中的属性文件夹,另一个我不能。 I have right-clicked on the solution and selected properties, but I see no way to add the folder.
我右键单击了解决方案和选定的属性,但我看不到添加文件夹的方法。
I have tried (within Windows), going to the folder of my project and adding the folder that way, but I still need a way to associate the project properties with that folder I have added. 我已经尝试过(在Windows中),转到我项目的文件夹并以这种方式添加文件夹,但我仍然需要一种方法将项目属性与我添加的文件夹相关联。
I've seen this thread. 我见过这个帖子。 It says the folder is created by default when you create a project and if I delete them, I'll have to recreate it.
它表示在创建项目时默认创建文件夹,如果我删除它们,我将不得不重新创建它。 I've never seen the folder on any of my projects, except one and I didn't delete it from the others, so not sure.
我从来没有在我的任何项目上看过这个文件夹,除了一个,我没有从其他项目中删除它,所以不确定。
I attached a picture of what I am referring to in my project that actually has it if that would help. 我附上了我在项目中所指的内容的图片,如果这样做有帮助的话。 Thanks.
谢谢。
You need not just add folder in windows explorer, but also include it in Project (with 'Show all files' option, find this folder under project and 'Include in project' from rigth click menu). 您不仅需要在Windows资源管理器中添加文件夹,还需要将其包含在Project中(使用“显示所有文件”选项,在项目下找到此文件夹,从rigth点击菜单中找到“包含在项目中”)。
OR, just create it from within VS (right click on Project -> Add -> New folder, and name it 'Properties') 或者,只需在VS中创建它(右键单击Project - > Add - > New folder,并将其命名为'Properties')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.