I have a question, mostly out of curiosity, but also for a pet project:
Given a simplistic C# solution, where I would end up with an A.dll and a B.dll after building:
Solution
- Project A
- Class A1
- Class A2
- Project B
- Class B1
- Class B2
What I'm curious about, is: Is there any way for DotNet/Visual Studio/MS Build/whatever to generate DLLs differently?
A step in the right direction, would be to generate multiple DLL's from a single project, say A.A1.dll with just the A1 class and A.A2.dll with just the A2 class in it?
An even more interesting case would be to generate Lib1.dll with A1 and B1 and Lib2.dll with A2 and B2.
I do realize that the complexity of what I'm asking in a real life scenario is considerably higher than the simplistic description given.
I'm just curious if this is theoretically possible (without thousands of hours of work). And, if so, what approaches might I attempt?