Forum: IronRuby Namespace Conflict System.Linq

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Aaron C. (Guest)
on 2009-04-14 06:29

I host an IronRuby engine in my app and get a lot of compiler warnings
about duplicate definitions for classes in System.Linq. In the past it
wasn't much of an issue but now that I have started using some Linq
functionality I have found myself having to add and remove System.Linq
and Microsoft.Scripting.Core to get my app to compile. It seems that
when there is a conflict the assembly reference added last wins.

Is there a better way to solve this? Are the DLR and main .Net Linq
namespaces going to merge in the future?


Jimmy S. (Guest)
on 2009-04-15 02:40
(Received via mailing list)
Yes, they are going to merge. However, I'm pretty sure there's no good
way to get rid of the warnings without us having to rewrite the
namespaces of Microsoft.Scripting.Core.dll. If you really want to get
rid of those warnings, you can grab IronRuby from, which has current IronRuby bits working against
a rewritten version of Microsoft.Scripting.Core.dll.

This topic is locked and can not be replied to.