项目布局(在磁盘上)在Visual Studio [英] Project Layout (on disk) in Visual Studio

查看:193
本文介绍了项目布局(在磁盘上)在Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是管理一个Visual Studio项目在磁盘上的物理布局的最好方法是什么?我得到的地步,我有几个文件夹,但我真的不能继续分类现在我的方式。例如,我有几个自定义控件,但有时这些控件都与应用程序设置,所以做他们进入控件文件夹或应用程序设置文件夹?我有一个驻留在主源文件夹中,这样它变得有点吓人寻找合适的源文件很多羽翼丰满的形式。

What's the best way to manage the physical layout of a Visual Studio project on disk? I'm getting to the point where I have several folders but I can't really continue categorizing the way I am now. For example, I have several custom controls, but sometimes those controls have to do with application settings, so do they go into the Controls folder or Application Settings folder? I have many full-fledged forms that reside in the main source folder so that it's getting a bit daunting looking for the right source file.

有什么秘笈任何人都可以提供关于他们如何安排自己的中型项目到文件夹层次结构,使他们不要去疯狂试图找到一些项目?

Are there any tips anyone can offer on how they organize their medium-sized projects into folder hierarchies so they don't go insane trying to locate something in the project?

推荐答案

我通常是基于我的名字空间组织我的文件夹。例如,归类命名空间Company.Project.DataAccess将被存储在公司/项目/ DataAccess目录。

I typically organize my folders based on my namespaces. For example, classed in the namespace "Company.Project.DataAccess" would be stored in company/project/dataAccess directory.

我承认,这仍是轻微的疼痛,管理打开的文件。然而, ReSharper的的去输入功能已经消除了所有我的搜索的解决方案资源管理器。

I admit that this is still slightly painful to manage opening files. However, Resharper's "Go to type" feature has eliminated all of my searching in Solution Explorer.

这篇关于项目布局(在磁盘上)在Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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