My project has a set of .NET assemblies. I want to sort them by their dependencies.
So, if I have (for example):
IEnumerable<Assembly> unsorted = LoadAssembliesFromFolder();
I want to be able to call:
var IEnumerable<Assembly> sorted = unsorted.SortByDependency();
In reality, the resulting set, we hope, will ultimately be similar to the dialog of the order of building a project in Visual Studio.
Any thoughts? I really do not want to dwell on an iterative approach, which may take some time.
Greetings
Kazar source share