-
-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring the roslyn dependency into another package #225
Comments
All options are posted here: #149 (comment) What it gives us is managed, type safe api that allows us to compile C# apps not only on Windows but also also Unix and MacOC with Mono. So great gain, but not for free. We could make it a package, but then it would complicate the usage for the end-users. As for now I can's see a good solution. But I understand your point @ig-sinicyn |
@adamsitnik, we can do the following:
So, @ig-sinicyn will be able to use |
@adamsitnik, as proposal: What if the core logic of the BenchmarkRunner will be placed in .Core project in separate class and the BenchmarkRunner will just call its methods passing default toolchain as a call arg? I've did something like this as we have nUnit/xUnit/MsTest support, console runner and also self-testing runner. |
@ig-sinicyn Good idea! I have implemented it right away, now you have The definition: Sample usage can be following: |
The BDN 0.9.8 includes a dependency on roslyn compiler package. This results in 42 additional nuget packages, 300+ mb of binaries in the packages folder and 17 (or so) additional assembly references.
As for me it's too big overhead for the single library:)
And our perf tests project uses custom toolchain and therefore do not depend on roslyn at all.
Can the dependency be refactored into separate opt-in package?
The text was updated successfully, but these errors were encountered: