Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Jeff Hardy
It looks like Microsoft.dynamic and IronPython also fail to build, but xbuild tries to continue anyway. The root cause is that msc and csc have slightly different warnings by default, and we have warnings as errors turned on. I try to make sure mono always builds, and I was pretty sure I had fixed

Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Eddy Pronk
$ xbuild Solutions/IronPython.sln /p:Configuration=Release The first errors: array.cs(24): error CS0234: The type or namespace name `Operations' does not exist in the namespace `IronPython.Runtime'. Are you missing an assembly reference? array.cs(25): error CS0234: The type or namespace name `Type

Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Slide
You probably want to set the configuration you want to build via /p:Configuration=Debug /p:Platform="Any CPU" or if you want a release version, try /p:Configuration=Release. The full solution builds a large number of configurations which may not work to build on mono. slide On Wed, Apr 18, 2012

Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Eddy Pronk
No luck with the vanilla IronPython solution file. There is a dependency on Silverlight? http://pastebin.com/11rZTC3F This documentation is also out of date: https://github.com/IronLanguages/main/wiki/Building#wiki-wiki_building-mono On Thu, Apr 19, 2012 at 1:47 PM, Slide wrote: > You shouldn't

Re: [Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Slide
You shouldn't need to use the IronPython.Mono.sln file anymore, you should be able to use the vanilla IronPython solution file. Does that not work for you? Thanks, slide On Wed, Apr 18, 2012 at 4:16 PM, Eddy Pronk wrote: > I'm trying to build IronPython on mono 2.10 (Debian) > > I followed thes

[Ironpython-users] Solutions/IronPython.Mono.sln

2012-04-18 Thread Eddy Pronk
I'm trying to build IronPython on mono 2.10 (Debian) I followed these instructions: http://ironpython.codeplex.com/wikipage?title=IronPython%20on%20Mono There used to be a solution for building on mono. $ git log --diff-filter=D -- Solutions/IronPython.Mono.sln commit d8d9765d43b9cc265ed07c91155

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Mattias Ahlenius
I get the following when I make a disam in Reflector, the exception (System.MethodAccessException) that I'm getting is not subclassing neither SecurityException or ArgumentException which is catched and handled. *private static string

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Slide
This really sounds like the assemblies you are referencing are not really the SL assemblies, can you open the assembly in ILSpy and decompile GetPrefix and see what you have? slide On Wed, Apr 18, 2012 at 1:44 PM, Mattias Ahlenius wrote: > Same exception even if I use the 2.7.2.1 bins: (I suppor

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Mattias Ahlenius
Same exception even if I use the 2.7.2.1 bins: (I support you mean 2.7.. and not 2.5..) Message: Failed to load language 'IronPython 2.7.2.1': The type initializer for 'IronPython.Modules.SysModule' threw an exception. InnerException: "Attempt by security transparent method 'IronPython.Modules.S

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Slide
Please make sure you have 2.5.2.1 and not just 2.5.2. On Wed, Apr 18, 2012 at 12:16 PM, Mattias Ahlenius wrote: > Thanks for your quick reply Keith, > > Tried you code and I still get the same Exception: > > "Attempt by security transparent method > 'IronPython.Modules.SysModule.GetPrefix()' to a

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Mattias Ahlenius
Thanks for your quick reply Keith, Tried you code and I still get the same Exception: "Attempt by security transparent method 'IronPython.Modules.SysModule.GetPrefix()' to access security critical method 'System.Reflection.Assembly.get_Location()' failed." /Mattias 2012/4/18 Keith Rome > D

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Keith Rome
Does this not work for you? using IronPython.Hosting; // ... _python = Python.CreateEngine(); I believe that should handle the simple/typical scenarios, unless you need to alter the environment (such as plugging in a custom Host/PAL). If you need to customize the environment, then this should w

[Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-18 Thread Mattias Ahlenius
Hi, I'm new to scripting and would like to add support for IronPython to our Silverlight application, I have tried to find an answer on the net but could not find anyone else facing the same problem. The app is an out of browser application. I've added the latest release (2.7.2) from nuget, check

[Ironpython-users] IronPython, Daily Digest 4/17/2012

2012-04-18 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] ScriptScope.ContainsVariable throws MissingMemberException internally -- ISSUES 1. [New comment] ScriptScope.ContainsVariable