[IronPython] IronPython 2 Beta 4 and .Net 3.5

Dody Gunawinata empirebuilder at gmail.com
Fri Aug 15 10:18:20 CEST 2008


Try the following code with a .Net 3.5 setting

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; namespace ClassLibrary1
{
    public class Class1
    {
        public void Do()
        {
            Func<string>  f = () =>  "" ;
        }
    }
}

*This is what I got*

Error 36 The type 'System.Func<TResult>' exists in both
'C:\Users\Adam\Desktop\IronPython-2.0B4\Bin\Debug\Microsoft.Scripting.Core.dll'
and 'C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Core.dll'
C:\Users\Adam\Desktop\IronPython-2.0B4\Src\ClassLibrary1\Class1.cs 12
13 ClassLibrary1



-- 
nomadlife.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080815/d64d93ed/attachment.html>


More information about the Ironpython-users mailing list