您如何设置.NET开发树? [英] How do you set up your .NET development tree?

查看:71
本文介绍了您如何设置.NET开发树?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何设置.NET开发树?我使用的结构是这样的:

How do you set up your .NET development tree? I use a structure like this:

-projectname
--config (where I put the configuration files)
--doc    (where I put all the document concerning the project: e-mails, documentation)
--tools  (all the tools I use: Nunit, Moq)
--lib    (all the libraries used by the solution: ninject or autofac)
--src
---app   (sourcefiles)
---test  (unittests)
solutionfile.sln
build.csproj

符号-表示目录。

我认为在这些内容上拥有一个良好的结构非常重要。您应该能够从源代码管理系统中获取源代码,然后在不打开Visual Studio或安装任何第三方库的情况下构建解决方案。

I think it's very important to have a good structure on this stuff. You should be able to get the source code from the source control system and then build the solution without opening Visual Studio or installing any third party libraries.

对此有任何想法吗?

推荐答案

我们使用非常相似的方法JP Boodhoo的标题为项目目录结构的博客文章中介绍的布局

We use a very similar layout as covered in JP Boodhoo's blog post titled Directory Structure For Projects.

这篇关于您如何设置.NET开发树?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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