Yeah, I had to lookup a VB.Net cheat sheet to figure out "imports" :)
On Fri, May 8, 2009 at 2:25 PM, Patrik Hägne <patrik.hagne at sembo.se> wrote:
> 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 for referencing namespaces, in that
> case the VB-keyword is "Imports":
>>>> Imports System.Collections
>> Imports System.Collections.Generic
>>>> /Patrik
>>>> *Från:* users-bounces at lists.ironpython.com [mailto:
>users-bounces at lists.ironpython.com] *För *Dody Gunawinata
> *Skickat:* den 8 maj 2009 13:15
>> *Till:* Discussion of IronPython
> *Ämne:* Re: [IronPython] Iron Python and Asp.net (framework 3.5)
>>>> 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=IronPython&DownloadId=58404&FileTime=128789375840200000&Build=15036#ReleaseFiles>>>> For each of the project, I reference all the following assemblies:
>> IronPython.dll
>> IronPython.Modules.dll
>> Microsoft.Scripting.Core.dll
>> Microsoft.Scripting.dll
>> Microsoft.Scripting.ExtensionAttribute.dll
>>>> I use the hosting API in a C# WAP using C# only in 3.5 and it worked
> without a hitch. This is the code
>https://rcpt.yousendit.com/685289274/f6b7c3f2a38002c2656f54ada3364d26>>>> I downloaded SharpDevelop 3.0 and use it to write a console application in
> VB targeting .Net 3.5. I was surprised that "using" is not a keyword in VB
> :) It worked in console application. Here's the code
>https://download.yousendit.com/U0d6RE9uQzMzeUtGa1E9PQ.>>>>>> I can't exactly replicate your problem since I don't have VB on VS 2008.
> But I hope I help you further along with these two small codes. It seems
> that IronPython 2.01 works just fine with VB in .Net 3.5 but I'm not sure
> if the VB ASP.net code provider does something else that make IP 2.01
> breaks.
>>>> Dody G.
>>>>>> On Fri, May 8, 2009 at 12:01 PM, Patrik Hägne <patrik.hagne at sembo.se>
> wrote:
>> 1. I've tried the current release (2.0.1), the 2.0 release from Dec
> 10 and even the 1.1.2 version from Aug 8 all with the same result.
>> 2. We're using the Web Application project model, not the website
> model.
>> 3. The language for code behinds is VB.net.
>>>> Thanks for looking into this, it's greatly appreciated.
>>>> /Patrik
>>>> *Från:* users-bounces at lists.ironpython.com [mailto:
>users-bounces at lists.ironpython.com] *För *Dody Gunawinata
> *Skickat:* den 8 maj 2009 10:53
> *Till:* Discussion of IronPython
> *Ämne:* Re: [IronPython] Iron Python and Asp.net (framework 3.5)
>>>> 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 language?
>>>> Dody G.
>> On Fri, May 8, 2009 at 9:49 AM, Patrik Hägne <patrik.hagne at sembo.se>
> wrote:
>> I have the problem described in the issue
>http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=19126when 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
> Microsoft.Scripting.ExtensionAttribute.dll with the one posted to the
> issue-page I get no compilation errors but on the other hand when running
> the page where the scripting engine is used I get a runtime error saying
> that the Microsoft.Scripting.ExtensionAttribute version 0.9.0.0 can not be
> found.
>>>> Is there something I'm missing? Might it be that I have to install
> something into the GAC?
>>>> Kind Regards
>> Patrik Hägne
> Systems Development
>> *Fel! Inget filnamn angivet.*
> ------------------------------
>> Drottninggatan 72A
> Box 1324, 251 13 HELSINGBORG
> E-mail: patrik.hagne at sembo.se>> Phone:
> Fax:
> Internet:
>> +46(0)42 37 85 52
> +46(0)42 37 85 25
> www.sembo.se
>>>>>>> _______________________________________________
> Users mailing list
>Users at lists.ironpython.com>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com>>>>> --
> nomadlife.org
>>> _______________________________________________
> Users mailing list
>Users at lists.ironpython.com>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com>>>>> --
> nomadlife.org
>
--
nomadlife.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090508/66f2f623/attachment.html>