Merging two assemblies at runtime - C #

Is it possible to combine the two assemblies at runtime so that exportedTypes returns all types from the original assemblies when they run again?

Why:

I am using a database migration environment to update my databases. It accepts a separate assembly, consisting of special classes, which defines the changes made to the database.

I have two databases, very similar. Many tables are identical, but each has several unique tables. I would like to have a common migration assembly and a specific assembly for each database. But to use it with my card, I need to assemble two assemblies into one. Is it possible?

+3
source share
1

ILMerge:

ILMerge - .NET .NET.

v2.0.NET.

+4

Source: https://habr.com/ru/post/1764602/


All Articles