[IronPython] defined in multiple assemblies (framework 3.5)

Dody Gunawinata empirebuilder at gmail.com
Tue Aug 19 18:39:58 CEST 2008


Yikes..

"Error    19    Metadata file 'Microsoft.Scripting.Core.dll' could not be
found". This is weird.


 <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
                  type="Microsoft.CSharp.CSharpCodeProvider, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
compilerOptions="/reference:DLR=Microsoft.Scripting.Core.dll">
          <providerOption name="CompilerVersion" value="v3.5"/>
          <providerOption name="WarnAsError" value="false"/>
        </compiler>

On Tue, Aug 19, 2008 at 7:00 PM, Dino Viehland <dinov at microsoft.com> wrote:

> Ok, another thought...  can you GAC the DLR assemblies and then add an
> updated compilers tag to web.config which includes the alias?  Something
> like:
>
> <system.codedom>
>   <compilers>
>       <compiler language="c#;cs;csharp" extension=".cs"
> type="Microsoft.CSharp.CSharpCodeProvider, System,
> Version=%ASSEMBLY_VERSION%, Culture=neutral,
> PublicKeyToken=%ECMA_PUBLICKEY%" warningLevel="1"
> compilerOptions="/reference:DLR=Microsoft.Scripting.Core.dll"/>
>   </compilers>
> </system.codedom>
>
>
>
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] On Behalf Of Fernando Correia
> Sent: Tuesday, August 19, 2008 4:19 AM
> To: dody at nomadlife.org; Discussion of IronPython
> Subject: Re: [IronPython] defined in multiple assemblies (framework 3.5)
>
> That's a huge issue for my project. I'm trying to leverage the DLR and
> IronPython on a ASP.NET application that targets 3.5. I hope there is
> a work-around.
>
> 2008/8/19 Dody Gunawinata <empirebuilder at gmail.com>:
> > - This pretty much locks up IronPython 2 from any .Net 3.5 based website.
> > The ASP.Net MVC framework is based on .Net 3.5 too and they use a bunch
> of
> > System.Core facilities in their code base. The nicest thing about .Net
> 3.5
> > is to be able to use LINQ on code behind and right now when I compile my
> > application, I got a bunch of warnings about duplicated LINQ definition
> > methods existing in 2 assemblies. Now I cannot use Action<> or Func<> in
> > code behind.
> >
> > - I think this will prevent the next IP for ASP.Net to be able to use
> .Net
> > 3.5 libraries.
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



-- 
nomadlife.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080819/a5509ffc/attachment.html>


More information about the Ironpython-users mailing list