I have trouble merging IronPython.dll, IronPython.Modules.dll, Microsoft.Dynamic.dll, Microsoft.Scripting.dll and Microsoft.Scripting.Metadata.dll into my application.
The first error i got while trying to execute a python script was:
MissingMemberException: "'NullImporter' object has no attribute 'find_module'"
This was resolved by omitting the /internalize Parameter of ILMerge. It seems that IronPython needs certain types to be public in order to function.
But it didn't help much, now i got:
ImportException: "No module named clr"
The exception in both cases is thrown for the first line of my script, which of course is just an "import clr".