Common Library GUI & CLI clients
Hi,
I'm starting projects that have several separate sub projects; Server, Windows Client, CLI Client, Flutter Client. I want the the Windows and the CLI clients to share the common logic. the way I saw it done is to create a common class library project within the same solution as the GUI and CLI projects. however I don't want to change the current structure of separate folder for each project. how can I solve this
13 Replies
What do you mean? Projects already are in separate folders
Or, well, should be
but within the same solution folder
Yeah, and why is that an issue?
Do you have a separate solution for each project?
I didn't create any solution yet and it's not really an issue. I have multiple projects as I said not all of them are in C# so each one of them is on it's separate folder. I just hate breaking the consistency by having to put the windows and cli clients in the same folder
u can create multiple solutions
if u want
that only hold the relevant projects
I see no issue with
I dont see any issues with that either
this is an unrelated thing but I am working on a library with over 200+ projects and the way I found best to work on it, is by having separated solutions that open related projects that I need, to work at one time.
the issue with this is that each project is a top level folder within my Github org so I can't have an sln file at the same level. I guess there is no easy way around this
Wait, so each project is its own repo?
yes
that changes things a bit from your original question thou
I'd probably look into using Github's nuget feed, then, and distribute the shared library as a nugget
I think this will do
thank you all, I appreciate the help