I talked to one of the VS SDK guys and they haven't tested / used this scenario
so it's likely you'll run into some issues with it. What does work is
consuming a user control that's been written in C# but unfortunately not in
IronPython.
If you're feeling adventurous you could try creating a f
Ahh, so the fix for this particular issue if you want to patch your own copy of
IronPython. In Microsoft.Scripting.Actions.SetMemberBinderHelper there's a
method called MakePropertyRule. There's lines that look like:
if (setter != null) {
if (IsStaticProperty(info,
I may be misunderstanding your response, or I misstated my question. What
I'd like to do is create a new User Control using the IronPython plugin for
VS 2005. When I create a new project or add a new Item to my project, I
cannot see User Control as an option, only a Form. Is there a way around
t
Hi Dino,
Here it is. Thanks for taking a look at it.
"C:\Program Files\IronPython2A4\ipy.exe" -X:ExceptionDetail
-X:ShowClrExceptions "IronPythonDev.py"
ICSharpCode.TextEditor.Document.DefaultDocument.set_HighlightingStrategy(ICSharpCode.TextEditor.Document.IHighlightingStrategy)
at _stub_#
Well, I don't need any more info actually... here's the bug:
// Private class
class PrivateClass : IPublicInterface {
public IPublicInterface Hello {
get { return null; }
set { }
}
}
// Public Interface
public interface IPublicInterface
It definitely looks like a bug - maybe related to the fact that these are
interface methods & properties. Could I get you to do one more thing and
re-run w/ -X:ExceptionDetail and -X:ShowClrExceptions?
I've opened a bug
(http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=12708) t
Yes I can - thanks for the quick reply!
>"C:\Program Files\IronPython2A4\ipy.exe" -X:ExceptionDetail
"IronPythonDev.py"
ICSharpCode.TextEditor.Document.DefaultDocument.set_HighlightingStrategy(ICSharpCode.TextEditor.Document.IHighlightingStrategy)
at _stub_##40(Object[] , DynamicSite`3 , CodeC
IIRC, there should be a drop-in control for "User Control", or the
appropriate reference needs to be "checked" in the toolbox options.
> I have downloaded the VS2005 Addin for IronPython (found on the msdn
> Blogs). This is a fantastic way to have access to Intellisense for the
> .NET
> libraries
I have downloaded the VS2005 Addin for IronPython (found on the msdn
Blogs). This is a fantastic way to have access to Intellisense for the .NET
libraries. I'd like to use this to create a few GUI controls, though cannot
find this option when selecting Add New Item in the Solution Explorer. It
a
Is line 28:
HighlightingManager.Manager.AddSyntaxModeFileProvider(FileSyntaxModeProvider(sys.path[0]));
?
Can you provide the text of the exception (even better w/ the
-X:ExceptionDetail command line option) ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
The following ugly hack works fine with IronPython 1.1 and with 2.0 alpha
3 but raises an exception on line 28 with IronPython 2.0 alpha 4.
To run this you need a copy of the ICSharpCode.TextEditor.dll from
SharpDevelop (http://www.icsharpcode.net/OpenSource/SD).
Is this a bug or a new 'feature'?
11 matches
Mail list logo