basic-reference-assemblies
basic-reference-assemblies copied to clipboard
WithReferenceAssemblies Extension Improvement
Hello!
First of, thank you for creating this awesome package. It solved some major headaches for me.
May I suggest an improvement to WithReferenceAssembleis extension method?
Currently, it is implemented as compilation.WithReferences(...)
which replaces everything one might have provided during compilation creation. Would it be better to replace it with compilation.AddReferences()
which does preserve the existing references?
If the idea sounds good, I can submit a PR to the effect.
I think there is value in both variations of the methods. Essentially one that replaces the entire set of references and one that adds the references. So rather than "replace" I'd be interested in a PR that augments the existing capability.
I think that AddReferences
is a good name for the API you are suggesting.
That's much better! PR on the way in a day or two.
That's much better! PR on the way in a day or two.
Has there been any movement on this? I am struggling with similar issues in that I need to be able to add additional references.