When working on optimizations on NuGet assemblies, the new version often isn't yet in NuGet. In my case, I'm working on optimizations of FSharp.Core.dll, and because of syntax differences in the way certain methods are created (syntax that is allowed inside FSharp.Core but not in writing regular user code), I cannot easily create copies of the members that I want to compare.
My current way of doing this is to use Reflection.Emit and friends with AssemblyBuilder, but this is complex and leads to potential side effects that are hard to optimize away.
I can of course simply create two separate projects and compare the results. But I was wondering, considering this PR #922, whether there's a better/easier way, or built-in way of doing the same.