If you are facing the endeared "Could not load file or assembly or one of its dependencies" error, and you know your project merges its assemblies using ILMerge or alikes, make sure the dlls that is raising the exception was not accidentally left out the merge.
This is what happened in my case.
All I had to do was to add it to the merging, marking it with the <Ilmerge>True</Ilmerge> in the .csproj, like the others.
Keeping track of interesting places I put my feet on in the software development world.
Search This Blog
Showing posts with label DLL Merge Into Executable. Show all posts
Showing posts with label DLL Merge Into Executable. Show all posts
Sunday, June 17, 2018
Monday, November 9, 2015
Nuget packages that seamlessly merge all referenced assemblies into your executable
Today I just learned about 2 of them, used the 1st and it's awesome:
- Costura.Fody
- ILMerge
- ILRepack
Subscribe to:
Posts (Atom)