Use Fody/Costura to bundle dependencies, closes #45 #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've set this up to work the same way it does with Groundhog. The combination of Fody and Costura bundles all the references that are set to copy local into the dll itself. Inspecting the dll seems to show them as there:
The assembly does seem awfully small (80kb), even account for the compression of the dependencies. That said I've used the release-build
gha
on my current setup and it seems fine — it doesn't complain about any missing assemblies. Maybe there is some sort of code thinning that whittles down the assemblies to only what is needed?Could you give this a spin and see if it works fine on your end?