On Thu, Apr 19, 2012 at 3:43 PM, Slide wrote:
> Since modules aren't loaded from the file system the same way on SL, I
> think it shouldn't cause too much of an issue. You can rebuild IP with the
> change and see if it causes any other issues.
Yeah, GetPrefix() isn't really critical. It just se
om
>
> www.wintellect.com
>
> ** **
>
> *From:* Mattias Ahlenius [mailto:matt...@goodsolutions.se]
> *Sent:* Thursday, April 19, 2012 2:16 PM
> *To:* Slide
> *Cc:* Keith Rome; ironpython-users@python.org
> *Subject:* Re: [Ironpython-users] Problem with embedding IronPyth
gt;
From: Mattias Ahlenius [mailto:matt...@goodsolutions.se]
Sent: Thursday, April 19, 2012 2:16 PM
To: Slide
Cc: Keith Rome; ironpython-users@python.org
Subject: Re: [Ironpython-users] Problem with embedding IronPython into
Silverlight Application
I've put together a small testproject, w
gt; 2012/4/18 Keith Rome
>>>>>> >>
>>>>>> >> Does this not work for you?
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> using IronPython.Hosting;
>>&g
It's not throwing a SecurityException, its throws a
MemberAccessException (which does NOT inherit from SecurityException
either).
slide
On Thu, Apr 19, 2012 at 10:05 AM, Jeff Hardy wrote:
>
> On Thu, Apr 19, 2012 at 7:45 AM, Slide wrote:
>>
>> No, that is correct, SL5 does include the FEATURE_A
On Thu, Apr 19, 2012 at 7:45 AM, Slide wrote:
> No, that is correct, SL5 does include the FEATURE_ASSEMBLY_LOCATION
> property in the build, so you should be getting that code when you
> disassemble. Can you check if there is anything in the InnerException when
> you catch it?
SL5 has Assembly.
>>
>>>>> >> _python = Python.CreateEngine();
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> I believe that should handle the simple/typical scenarios, unless
>>>>> you need
>>>>
>> >> I believe that should handle the simple/typical scenarios, unless
>>>> you need
>>>> >> to alter the environment (such as plugging in a custom Host/PAL).
>>>> >>
>>>> >>
>>>> >>
>>>&g
ons = new Dictionary();
>>> >>
>>> >> ScriptRuntimeSetup setup = Python.CreateRuntimeSetup(options);
>>> >>
>>> >> _runtime = new ScriptRuntime(setup);
>>> >>
>>> >> _python = Python.GetEngine(_runtime);
>&g
;>
>> >> _python = Python.GetEngine(_runtime);
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> This code should work exactly the same on desktop CLR and Silverlight.
>> >>
>> >>
>> >>
>> &
ilverlight.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Keith Rome
> >>
> >> Senior Consultant and Architect
> >>
> >> MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS
> >>
> >>
gt;> MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS
>>
>> Wintellect | 770.617.4016 | kr...@wintellect.com
>>
>> www.wintellect.com
>>
>>
>>
>> From: ironpython-users-bounces+rome=wintellect@python.org
>> [mailto:ironpython-users-bounc
ilto:
> ironpython-users-bounces+rome=wintellect@python.org] *On Behalf Of
> *Mattias
> Ahlenius
> *Sent:* Wednesday, April 18, 2012 2:41 PM
> *To:* ironpython-users@python.org
> *Subject:* [Ironpython-users] Problem with embedding IronPython into
> Silverlight Application
>
.@python.org] On Behalf Of
Mattias Ahlenius
Sent: Wednesday, April 18, 2012 2:41 PM
To: ironpython-users@python.org
Subject: [Ironpython-users] Problem with embedding IronPython into Silverlight
Application
Hi,
I'm new to scripting and would like to add support for IronPython to our
Silver
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
15 matches
Mail list logo