Re: [Ironpython-users] Problem with the "in" operator for

2015-07-09 Thread Markus Schaber
Hi, Ivan, Von: Ivan Pozdeev [mailto:[email protected]] > > As far as I can see, the "in" operator should return true if any > > object in the enumerable is "equal" to the object given as reference: > > Indeed, https://docs.python.org/2/reference/expressions.html#membership-test- > details states

Re: [Ironpython-users] struggling with Intellisense and GAC

2015-07-09 Thread George Nychis
Hi Andy, Thanks so much for your response. The issue turned out to be something fundamental... my DLL was built as "x64" and not as "Any CPU" (even though I was explicitly using 64-bit ironpython). As soon as I switch to "Any CPU" the intellisense started working in the base cases! I've now bee

Re: [Ironpython-users] struggling with Intellisense and GAC

2015-07-09 Thread Andrew Graham
Is it Intellisense in Python Tools for Visual Studio you are referring to? If so my experience is that to obtain Intellisense you don’t need your DLLs in the GAC. To see my custom DLL in my project I do four things. 1) Add the DLL or EXE Assemblies to References in your IronPython project (I’m

[Ironpython-users] struggling with Intellisense and GAC

2015-07-09 Thread George Nychis
I am struggling to get Intellisense working with some DLLs that I have built. I do not want the C# code to be included directly in the project, I only want the functionality to be accessible through a pre-built DLL. First, I am able to run my IronPython code successfully linking to the DLLs by ad

Re: [Ironpython-users] struggling with Intellisense and GAC

2015-07-09 Thread George Nychis
I was able to solve accessing the DLL directly in the GAC by more explicitly specifying it: clr.AddReference("Utils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6c2b3719154e5544") But that did not fix intellisense. On Wed, Jul 8, 2015 at 11:33 AM George Nychis wrote: > I am struggling

[Ironpython-users] DependencyProperty problem

2015-07-09 Thread Bob K. via Ironpython-users
Visual Studio Community 2013 IronPython Windows 8.1 I have a button created using xaml. In python I'm trying to set the background using SetValue. SetValue requires the DependencyProperty and then the value I want to set. I've been searching the net and trying different values, but I can't find wh