[英]add existing code directories to Visual C# 2010 express
New to Visual C#. Visual C#的新手。 I can add existing .cs files but is there a way to add entire code directories to C#.
我可以添加现有的.cs文件,但是有一种方法可以将整个代码目录添加到C#。 Otherwise I would have to create folders again within visual C# and add files into it.
否则,我将不得不再次在可视C#中创建文件夹并将文件添加到其中。 There has to be an easier way to replicate my existing directory structure in visual C#.
必须有一种更简单的方法来在Visual C#中复制我现有的目录结构。
Click Show All Files in Solution Explorer to see the entire filesystem within your project directory. 单击解决方案资源管理器中的“显示所有文件”以查看项目目录中的整个文件系统。
You can then right-click an entire folder (or select multiple folders) and click Include in Project. 然后,您可以右键单击整个文件夹(或选择多个文件夹),然后单击“包含在项目中”。
通过将文件夹拖放到项目或子文件夹中,您应该能够简单地将文件夹从资源管理器窗口拖放到解决方案中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.