A way to load DLL from central repository

后端 未结 6 1397
青春惊慌失措
青春惊慌失措 2020-12-31 11:57

We have lot of products and there are some common DLLs across each product\'s application. Right now we copy each common DLL into each product\'s bin directory and treat the

6条回答
  •  独厮守ぢ
    2020-12-31 12:23

    I'm not sure if this is what you're looking for but where I work now we use a common UNC path for all of our DLL's.

    We have something akin to ...

    \\server01\productionLibrary for production read DLLs, each in it's own directory.

    and

    \\server01\developmentLibrary which mirrors the production library and this is what the developers use as they develop.

    When we merge code after testing has been completed we deploy to the production library. All projects reference the production library when they are built into MSI files for deployment. Our automated system builds the projects into MSIs and it verifies that all DLLs are pointing to the production library, so there is no chance that it will use a development copy accidentally.

    Hope this helps.

提交回复
热议问题