I don’t know the exact date, but it was roughly 10 days ago, so around December 21. A shared assembly had these advantages:
- You just import it
- It doesn’t have to be compiled again
- I don’t need a version control system
- If I use class variables, I don’t have to rely on them as much
- I could send it as a single file
- It could be installed into the
GAC, so it would no longer needJITcompilation. - etc.
The advantages of separate files, on the other hand, include:
- Larger size (the files are in every project)
- Smaller size (I import only what I need)
- No more complex interface
- I can see exactly which classes I have used
- I can remove the unused methods or add new ones
- etc.