I'm using Costura.Fody to embed referenced DLLs as resources in my EXE. It works fine except it's not embedding Interop.IWshRuntimeLibrary.dll.
How can I figure out why?
I'm using ILSpy to examine the EXE, which is how I know all of my references except IWshRuntimeLibrary are being embedded as resources. Plus the fact that users are getting exceptions about IWshRuntimeLibrary.
"Copy Local" is True for the reference to IWshRuntimeLibrary.
According to CorFlags, ILONLY = 1 for Interop.IWshRuntimeLibrary.dll, which I think means the DLL is pure managed code (not native or mixed mode).
I'm using Fody version 1.26.1 and Costura.Fody version 1.3.2.0 (the latest NuGet packages).
UPDATE
I tried using the IncludeAssemblies option to explicitly force Interop.IWshRuntimeLibrary to be embedded but it had no effect. I also tried specifying a bogus non-existent assembly and got no errors or mention of it in the build output.