[IronPython] Building IronPython from sources

Lukas Cenovsky cenovsky at bakalari.cz
Tue Jul 27 18:49:03 CEST 2010


  I am a little bit confused about Silverlight, .NET and IronPython 
versions.

Here is a list what I think is valid, please correct me if I am wrong:

    * IronPython 2.6.1 supports Silverlight 3 + .NET 2 SP1
    * IronPython 2.6.1 does not support Silverlight 4 + .NET 2 SP1 or
      Silverlight 4 + .NET 4
    * IronPython 2.7 will support Silverlight 4 + .NET 4


What will IronPython 2.6.2 support?

--
-- Lukas


On 27.7.2010 17:31, Dave Fugate wrote:
>
> I'd actually suggest doing this with 2.7 Alpha 1 sources...
>
> *Building* 2./6.1/ requires a Silverlight /3./x installation as there 
> were changes to System.Core (e.g., System.Func) between Silverlight 
> 3.x and Silverlight 4.x.  As you've discovered, we implemented some of 
> this missing System.Core functionality ourselves in 2.6.1 which is 
> confusing the compiler when there's references to both (4.x) 
> System.Core and MS.Scripting.Utils.  If you can't get your hands on a 
> Silverlight 3.x installation to fix this, the next easiest route IMO 
> would be to use 2.7A1 instead.
>
> *From:* users-bounces at lists.ironpython.com 
> [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Lukas Cenovsky
> *Sent:* Tuesday, July 27, 2010 8:09 AM
> *To:* Discussion of IronPython
> *Subject:* Re: [IronPython] Building IronPython from sources
>
> Thanks. Copying my current Silverlight version 4.0.50524.0 to 
> 3.0.50106.0 helped and Microsoft.Scripting.dll compiles fine. Now I 
> get many following errors  for Microsoft.Dynamic.dll:
>
> Error    1    'Func' is an ambiguous reference between 
> 'System.Func<T0,T1,T2,T3,T4,TRet>' and 
> 'Microsoft.Scripting.Utils.Func<T0,T1,T2,T3,T4,TRet>'    
> C:\IronPython-2.6.1\Src\Runtime\Microsoft.Dynamic\Interpreter\Instructions\CallInstruction.Generated.cs    
> 278    70    Microsoft.Dynamic
>
> How can I tell Visual Studio to use reference from 
> Microsoft.Scripting.Utils? Thanks.
>
> --
> -- Lukas
>
>
> On 26.7.2010 18:21, Dave Fugate wrote:
>
> Hi Lukas, the error message below is because you don't have the 
> version of Silverlight installed which was used to build IronPython 
> 2.6.1.  For this particular release, I believe it was something like 
> "%ProgramFiles%\Microsoft Silverlight\3.0.40624.0".  You can find out 
> for sure by examining the "<Silverlight3Path>" element in 
> Src\IronPython\IronPython.csproj.  Any ways, there are two workarounds:
>
> Replace all instances of "3.0.40624.0" throughout all C# project files 
> with the version of Silverlight you have installed locally
>
> Copy and rename the version of Silverlight you have installed to 
> whatever is expected by the C# project files
>
> Hope that helps,
>
> Dave
>
> *From:* users-bounces at lists.ironpython.com 
> <mailto:users-bounces at lists.ironpython.com> 
> [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Lukas Cenovsky
> *Sent:* Friday, July 23, 2010 12:37 PM
> *To:* Discussion of IronPython
> *Subject:* [IronPython] Building IronPython from sources
>
> Hi all,
> I have one wish for the next release of IronPython 2.6.2 (hope it is 
> not too late...) - please make sure it is possible to build IronPython 
> binaries from sources. I have downloaded 
> IronPython-2.6.1-Src-Net20SP1.zip 
> <http://ironpython.codeplex.com/releases/view/36280#DownloadId=116512> 
> and I there is no way for me to build Silverlight binaries from it...
>
> I have opened the solution in VS 2010, solution file was converted to 
> the new version, I selected 'Silverlight Debug' as a solution 
> configuration and I received meny errors as below when building 
> Microsoft.Scripting.dll:
>
> Error    11    The type 'System.SerializableAttribute' exists in both 
> 'c:\IronPython-2.6.1\Bin\Silverlight 
> Debug\Microsoft.Scripting.Core.dll' and 
> 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll'    
> C:\IronPython-2.6.1\Src\Runtime\Microsoft.Scripting\ArgumentTypeException.cs    
> 20    6    Microsoft.Scripting
> Error    12    The type or namespace name 'Serializable' could not be 
> found (are you missing a using directive or an assembly reference?)    
> C:\IronPython-2.6.1\Src\Runtime\Microsoft.Scripting\ArgumentTypeException.cs    
> 20    6    Microsoft.Scripting
>
> My goal was to build debug-able Microsoft.Scripting.Silverlight.dll 
> because I'm receiving AddReference error which I'd like to inspect.
>
> --
> -- Lukas
>
>   
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com  <mailto:Users at lists.ironpython.com>
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100727/4761977e/attachment.html>


More information about the Ironpython-users mailing list