[IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Patrik Hägne
I have the problem described in the issue http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=19126 when including an assembly that depends upon the DLR and Iron Python for scripting. I can't get the suggested workaround to work, when I replace the

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Dody Gunawinata
I'll try to reproduce this. I need the following details: - What version of IronPython are you using? - Are you using the website model or the web project model for your asp.net application. - What language do you use for your code behind, C# or VB or some other code behind

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Dody Gunawinata
I don't have VB installed in my VS 2008, so this is what I did. I use this IronPython http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=IronPythonDownloadId=58404FileTime=12878937584020Build=15036#ReleaseFiles For each of the project, I reference all the following

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Patrik Hägne
Thank you for your help I'll have a look at it. Using is a keyword in VB though, the syntax is pretty much the same as in c# sans curly braces: Using foo = GetSomeDisposable() ' Do something here... End Using Or maybe you mean the using keyword

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Patrik Hägne
I'm not sure if this helps but I've included a VB.Net-site that reproduces the problem in the same solution. I'm not sure if you have an environment where you can run it. Also as far as I can tell you do not directly reference the Microsoft.Scripting.ExtensionAttribute.dll in the site project

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Dody Gunawinata
I ran your demo and it threw this error *Description: *An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. *Compiler Error Message: *BC30560: 'ExtensionAttribute' is

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Patrik Hägne
Yes, I did read the correspondence from August and that's why I thought it should work. However, I'm glad we've tracked down the actual problem so there is at least a chance that we can come up with a solution. /Patrik Från: Dody Gunawinata [mailto:empirebuil...@gmail.com] Skickat: den 8

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Curt Hagenlocher
As I recall, we were never able to come up with a workaround for a VB web site, but a VB web application could be made to work. It would be easier if IronPython could depend on .NET 3.5, but we still have customers who need it to work on 2.0 and 3.0. There's nothing to prevent you from

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Patrik Hägne
The project in question is not a web site but a web application so I'm still interested in how to make that work. I did a quick spike on compiling it myself yesterday but it seemed to be a bigger problem than just removing that and recompile, but it might be that I also reset the projects to

Re: [IronPython] Iron Python and Asp.net (framework 3.5)

2009-05-08 Thread Curt Hagenlocher
Ah, I remember this a little bit better now. What's probably happened is that the version of Microsoft.Scripting.ExtensionAttribute has changed since then, so the alternate version with the type forwarder doesn't get recognized as the right version by the other assemblies. If this is the case, it