Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AssemblyScanner enforcing core reference prevents ILMerging #5311
As part of a customer case I got asked whether core can be ILMerged. The requirement of ILMerging core comes from Dynamics CRM 365. Apparently, Dynamics CRM 365 allows a plugin to be only one assembly.
The problem is though that the core can't be ILMerged anymore starting from v6 and higher. When NServiceBus is ILMerged into an assembly the scanner logic skips the assembly because it looks to the scanner like it does not reference the core (
Tried to hack around that problem by doing the following
which then leads to the next problem