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-boun...@lists.ironpython.com [mailto:users-boun...@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@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to