You can define a global alias for System.Core.dll: right-click on the reference 
in project, select properties, write "SysCore" to "Aliases" field, add "extern 
alias SysCore;" on top of your C# source file and use "SysCore::" prefix for 
System.Core namespaces. See also 
http://devhawk.net/2008/10/21/The+Fifth+Assembly.aspx.

Tomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Meinrad Recheis
Sent: Sunday, February 08, 2009 4:42 PM
To: [email protected]
Subject: Re: [Ironruby-core] cannot initialize Form with IronRuby

On Mon, Feb 9, 2009 at 1:14 AM, Tomas Matousek 
<[email protected]<mailto:[email protected]>> wrote:

I fixed this on Friday :)



The problem was that Show() declared on Control was hidden by 
Show(IWin32Window) on Form. It took me a while to make it work :). See 
http://rubyforge.org/pipermail/ironruby-core/2009-February/003752.html

I see. I notice, that there is still heavy development going on. Sadly, in the 
latest head there are System.Action<T, ... >and System.Func<T, ....>  
definitions in Microsoft.Scripting.Core.dll that clash with the same 
definitions in System.Core.dll which I need because of Hashset<T>. How can that 
problem be resolved?
Error    23        The type 'System.Func<TResult>' exists in both 'd:\Program 
Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll' and 
'..\Microsoft.Scripting.Core.dll'


_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to