[IronPython] IronPython 2 Beta 4 and .Net 3.5

Dody Gunawinata empirebuilder at gmail.com
Fri Aug 15 01:18:20 PDT 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://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080815/d64d93ed/attachment.htm>


More information about the Users mailing list