Skip to content

Nuget all the things - no more ILMerge #370

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

Merged
merged 1 commit into from
Jun 9, 2019

Conversation

erikbra
Copy link
Member

@erikbra erikbra commented Feb 7, 2019

There have been multiple issues with ILMerge-ing the assemblies, both the roundhouse lib and rh.exe. This PR splits up roundhouse.lib in multiple nuget packages, so that the consumers can depend on only the one they need, and not pull inn dependencies to totally different database providers.

It also uses Fody/Costura instead of ILMerge, as ILMerge seems to not keep up with the developments in other nuget packages, they stop working when ILMerge-d because of usage of reflection internally. Fody/Costura embeds the dependencies as Assembly resources (compressed) instead of merging them, and injects code to use the embedded assemblied on assembly loading.

Some rewrites to simplify deploy and dependency management

  • Added scripts for running PostgreSQL integration tests
  • Replaced ILMerge with Costura.Fody
  • Fixed some path problems

Packaging restructuring

  • Changed all RoundhousE database DLLs to be nuget packages of their own.
  • Simplified build scripts

@erikbra erikbra force-pushed the nuget-all-the-things branch from 14c1d95 to fa5ae40 Compare February 12, 2019 15:38
@erikbra erikbra force-pushed the nuget-all-the-things branch from 4f02f50 to 7c3ef35 Compare June 7, 2019 20:27
* Added scripts for running PostgreSQL integration tests
* Replaced ILMerge with Costura.Fody
* Fixed some path problems

Packaging restructuring
* Changed all RoundhousE database DLLs to be nuget packages of their own.
* Simplified build scripts
@erikbra erikbra force-pushed the nuget-all-the-things branch from 0bdae95 to 472efd5 Compare June 9, 2019 20:04
@erikbra erikbra merged commit 83e393d into chucknorris:master Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant