Best practices for referencing 3rd party assemblies

后端 未结 3 1537
青春惊慌失措
青春惊慌失措 2021-02-16 00:26

I have been wondering what are best practices when it comes to referencing 3rd party assemblies. A while ago I asked a question \"Dependencies and references: what exactly shoul

3条回答
  •  粉色の甜心
    2021-02-16 00:54

    If i have to deal with libraries that aren't registered in the GAC, I use the following method:

    • Make a folder "Libs" with all third party libraries and their dependencies in it
    • Reference the ones I need
    • Create a post-build action that copies all the files in the "Libs" folder to the "bin/debug" (or release) folder

    If you don't know the dependencies, you can use Dependency Walker.

提交回复
热议问题