<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’d actually suggest doing this with 2.7 Alpha 1 sources...
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Building</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 2.<i>6.1</i> requires a Silverlight
<i>3.</i>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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> users-bounces@lists.ironpython.com [mailto:users-bounces@lists.ironpython.com]
<b>On Behalf Of </b>Lukas Cenovsky<br>
<b>Sent:</b> Tuesday, July 27, 2010 8:09 AM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> Re: [IronPython] Building IronPython from sources<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<br>
<br>
<tt><span style="font-size:10.0pt">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</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><br>
How can I tell Visual Studio to use reference from Microsoft.Scripting.Utils? Thanks.<br>
<br>
--<br>
-- Lukas<br>
<br>
<br>
On 26.7.2010 18:21, Dave Fugate wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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:</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Replace all instances of “3.0.40624.0” throughout all C# project files with the version of Silverlight you have installed locally</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Copy and rename the version of Silverlight you have installed to whatever is expected by the C# project files</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hope that helps,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Dave</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:-moz-use-text-color -moz-use-text-color">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a href="mailto:users-bounces@lists.ironpython.com">users-bounces@lists.ironpython.com</a> [<a href="mailto:users-bounces@lists.ironpython.com">mailto:users-bounces@lists.ironpython.com</a>]
<b>On Behalf Of </b>Lukas Cenovsky<br>
<b>Sent:</b> Friday, July 23, 2010 12:37 PM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> [IronPython] Building IronPython from sources</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hi all,<br>
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
<span class="apple-style-span"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#30332D"><a href="http://ironpython.codeplex.com/releases/view/36280#DownloadId=116512" id="fileDownload5">IronPython-2.6.1-Src-Net20SP1.zip</a></span></span>
and I there is no way for me to build Silverlight binaries from it... <br>
<br>
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:<br>
<br>
<tt><span style="font-size:10.0pt">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</span></tt><span style="font-size:10.0pt"><br>
</span><tt><span style="font-size:10.0pt">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</span></tt><span style="font-size:10.0pt"><br>
</span><br>
My goal was to build debug-able Microsoft.Scripting.Silverlight.dll because I'm receiving AddReference error which I'd like to inspect.<br>
<br>
--<br>
-- Lukas<o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><o:p></o:p></pre>
<pre><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><o:p></o:p></pre>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>