Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to store 3rd party libraries?

I have asp.net mvc 2 application.

Now I'm reimplementing it for working with Ninject. All is fine except one thing: where should I store Ninject.dll??

I've created lib directory inside my appdir and made reference to lib/Ninject.dll.

But may be there are some general conventions on how to act in such cases?

like image 946
zerkms Avatar asked Jan 22 '23 04:01

zerkms


1 Answers

UPDATE: FYI - Here's a link to how the MVC team structure their own repository.

As part of my MVC directory setup, I place libraries outside the project in their own folder structure and add references to those libraries.

So my checked out directory structure would look something like:

Apps
   Project 1
    - Project files 

   Project 2
   - Project files 

Libraries
- LibraryName
-- LibraryVersion

This provides a standard place for all libraries to be placed, particular useful when multiple projects are using the same libraries and having one south of truth.

Makes trouble shooting build server reference issues much easier too.

HTH

like image 64
Ralph Willgoss Avatar answered Jan 31 '23 22:01

Ralph Willgoss