【问题标题】:Teambuilding and deploying a dll (e.g. wpftoolkit.extended.dll)团队建设和部署 dll(例如 wpftoolkit.extended.dll)
【发布时间】:2012-03-30 09:25:19
【问题描述】:

我工作的应用程序需要使用 wpftoolkit.extended.dll(即没有源,没有 msi/安装程序,我们只有 dll)。到目前为止,我们已经将 dll 放在开发人员的笔记本电脑和 teambuild 服务器上的 c:\libs 文件夹中,并且在两者上都可以正常构建;现在为了部署,我们想将它添加到安装程序 (.vdproj) 中,我们认为我们会在某个地方的 tfs 存储库中需要它。但是,在测试时,该应用现在只能在开发人员的笔记本电脑上构建,而不是在团队构建服务器上(看起来像一个相对路径的东西)。

所以...与其解决实际问题,我想知道最好/最干净/普遍接受的方法是什么?我应该将 dll 保存在存储库中的什么位置,我应该将 dll 放在我们要部署到的主机上的什么位置?

【问题讨论】:

    标签: tfs tfsbuild vdproj


    【解决方案1】:

    您应该在源代码管理中使用如下文件夹结构

    /Main                                 Contains the .sln file                                  
    
        /Source
            /MyApp1                       Contains MyApp1.sln file
               /Source                    Contain folder for all
                   /ClassLibrary1         Contains ClassLibrary1.csproj
                      /MyApp1Web          Contains Default.aspx
    
        /Build                            Contains build output (binaries)
    
        /Docs                             Contains product docs etc
    
        /Tests
    
       **/3rdpartyDlls**                      Contains all vesions of third-party dlls
    

    有关源代码管理文件夹和最佳实践的更多信息,建议阅读本书patterns & practices Team Development with TFS Guide (Final Release)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-07-02
      • 2011-10-10
      • 1970-01-01
      • 2013-02-14
      • 1970-01-01
      • 2017-09-18
      • 2013-11-02
      • 1970-01-01
      相关资源
      最近更新 更多