I have two scenarios:
There is a Framework project for the company, and for all projects we are going to use this framework.
There is a custom Framework project which is specific for a client and only some people in the company will ever need to use this DLL.
Both frameworks are stored in separated solutions on TFS.
How should one use the references for other projects? Should I put the both assemblies on GAC or something? Should I copy the output assembly manually? What is recommended, why and how I use it?
Reference assemblies are usually distributed with the Software Development Kit (SDK) of a particular platform or library. Using a reference assembly enables developers to build programs that target a specific library version without having the full implementation assembly for that version.
Custom framework
Copy the output assembly manually for the custom project unless you can include it's source directly in the solution.
Shared Framework
I would use nuget instead of GAC any time since you get rid of any versioning problems or having to create a separate installation package for framework (since you GAC)
It's easy to create a private nuget server. Simply create a new MVC3 project and install a the nuget server package: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With