kumaryu / irpack

Generate a standalone executable from IronRuby scripts.
14 stars 4 forks source link

Why do you need to include DLR dlls into exe? #2

Open aXe1 opened 13 years ago

aXe1 commented 13 years ago

Why do you need to pack some dll's that seems to be preinstalled with DLR?

Microsoft.Dynamic.dll
Microsoft.Scripting.dll
Microsoft.Scripting.Metadata.dll

Without these dlls, result .exe will be much thiner.

kumaryu commented 13 years ago

These dlls are common to DLR, but not .NET Framework.

aXe1 commented 12 years ago

DLR is installed by default with latest versions of .NET Framework, isn't it?

kumaryu commented 12 years ago

.NET 4.0 includes System.Dynamic.dll only, it is equivalent to Microsoft.Dynamic.dll. Microsoft.Scripting*.dlls are still needed.

Irpack ignores Microsoft.Dynamic.dll, because it is not installed on .NET4. If you generate executables using .NET 3.5 version of IronRuby, Microsoft.Dynamic.dll would be included.