SwordfishCollections
SwordfishCollections copied to clipboard
Directory and Project structure is a bit adhoc on this project
The directory and project structure needs to be tidied up a bit on this project. There's a mix of some utility stuff in the Swordfish.NET project that is stored in the General directory.
Version 2 of Swordfish.NET.Collections is in the Collections directory. Version 3 of Swordfish.NET.Collections is in the CollectionsV3 directory. There's some examples and tests in the ExamplesAndTests directory.
Would be good to keep V3 of the Collections a Portable Class Library. So anything WPF specific should go into another library. Same with the utility stuff.
Will also need a Documentation directory.
Any major rearrangement should be timed to reduce disruption to branches that are in active development, e.g. the PCL branch being worked on by @fjch1997
I'll probably wait for you to finish everything then start working on my changes By the way... I'm still using the v1 version you uploaded years ago
This is what I think folders should be arranged
- Combine all projects into one solution file
- Move project files into their own directories as opposed to being place under the same folder as the solution file. This will make it easier to consume and produce NuGet packages as the package.config file is not shared. I marked System.Collections.Immutable as developmentDependency in packages.config for this purpose (It was not supposed to. I only did this to set up CI in my private nuget feed). That commit is now merged into master but the reason was never explained
- Don't share file between projects. Instead, reference the project.
In the slither of time I had to look at this I moved the main projects into 3 directories:
Swordfish.NET Swordfish.NET.Collections Swordfish.NET.CollectionsV3
They each have their own nuspec, project, and AssemblyInfo.cs files.
I've removed unnecessary package dependencies. Only Swordfish.NET.CollectionsV3 depends on Microsoft Immutable Collections package.