I realize that this is slightly backwards, but I am trying to read create a Roslyn Compilation
object from a previously generated C# NuGet package. I cannot find any obvious way to achieve this.
My use case is that I want to compare the syntax trees of some package in a feed to the syntax trees in a new compilation. I know that the NuGet contains the DLL I need, and I have the current source code to create my new compilation, but the act of generating a compilation with syntax trees from an existing DLL is not something I have come across in the docs. Is it possible and if so how?