Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dll 公共库应该放在TFS项目结构的何处?_Dll_Tfs_Projects And Solutions - Fatal编程技术网

Dll 公共库应该放在TFS项目结构的何处?

Dll 公共库应该放在TFS项目结构的何处?,dll,tfs,projects-and-solutions,Dll,Tfs,Projects And Solutions,一段时间以前,我们的团队开始了一个网站项目的工作,该项目引用了一个DAL项目,我们将该项目放在与网站相同的解决方案中。从那时起,我们创建了一些web服务,以及使用同一库的两个客户端应用程序 DAL项目仍然驻留在网站解决方案中,因此其他解决方案必须遍历到网站解决方案文件夹结构中才能包含它 共享项目是如何存储的,以便从多解决方案的角度来看它们是有意义的?我的DAL应该在自己的解决方案中,与使用它的其他解决方案处于相同的目录基础上,还是应该只是一个位于解决方案文件夹之外的自由浮动项目 我真的很想实现一

一段时间以前,我们的团队开始了一个网站项目的工作,该项目引用了一个DAL项目,我们将该项目放在与网站相同的解决方案中。从那时起,我们创建了一些web服务,以及使用同一库的两个客户端应用程序

DAL项目仍然驻留在网站解决方案中,因此其他解决方案必须遍历到网站解决方案文件夹结构中才能包含它

共享项目是如何存储的,以便从多解决方案的角度来看它们是有意义的?我的DAL应该在自己的解决方案中,与使用它的其他解决方案处于相同的目录基础上,还是应该只是一个位于解决方案文件夹之外的自由浮动项目


我真的很想实现一种方法,当我们以后再这样做3到4次时,这种方法会起作用,因为我们都知道今天的hacked on功能明天会得到10种口味的请求。

以下是我通常喜欢的设置方式:

\Common
    \Library1
         .csproj and other files for Library1
    \Library2
         .csproj and other files for Library2
\Services
    \ServiceProject1
         .csproj and other files for ServiceProject1
         .sln which references ServiceProject1.csproj, Library1.csproj, and Library2.csproj
    \ServiceProject2
         .csproj and other files for ServiceProject2
         .sln which references ServiceProject3.csproj, Library1.csproj, and Library2.csproj
\Clients
    \WebProject1
         .csproj and other files for WebProject1
         .sln which references WebProject1.csproj, Library1.csproj, and Library2.csproj
    \WinFormsProject1
         .csproj and other files for WinFormsProject1
         .sln which references WinFormsProject1.csproj, Library1.csproj, and Library2.csproj
AllProjects.sln which references all .csproj files for when you need to do refactorings,  architecture diagrams, etc at a global level

啊,那太好了。它看起来很灵活。