[stringtemplate-interest] Could not load file orassimpleAntlr3.Runtime version 3.1.3.6002
Sam Harwell
sharwell at pixelminegames.com
Fri Aug 14 14:47:07 PDT 2009
Hi Brian,
Actually, it appears the files are the same. Can you make sure you don't
have any stray project references to another ANTLR runtime dll, and
don't have other versions of the Antlr3.Runtime.dll laying around? I
just used the exact files from that ST archive to compile a grammar
without problems.
Thanks,
Sam
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of Sam
Harwell
Sent: Friday, August 14, 2009 4:44 PM
To: Brian J. Sayatovic; stringtemplate-interest at antlr.org
Subject: Re: [stringtemplate-interest] Could not load file
orassimpleAntlr3.Runtime version 3.1.3.6002
Hi Brian,
I see there's an error in that set of files. Use the same 6 files but
from this archive instead (matching names of the ones in the ST
download). You don't need the rest of the ANTLR-related files from it.
http://www.antlr.org/download/ANTLR-3.1-2009-06-28.7z
I'll have to fix the ST download this coming week.
Sam
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of Brian J.
Sayatovic
Sent: Friday, August 14, 2009 4:36 PM
To: stringtemplate-interest at antlr.org
Subject: [stringtemplate-interest] Could not load file or
assimpleAntlr3.Runtime version 3.1.3.6002
I'm trying to use StringTemplate v3.2 (downloaded from
http://www.stringtemplate.org/download/StringTemplate-3.2-2009-06-28.7z)
in my WCF app. I added references to my project for both
Antlr3.StringTemplate and Antlr3.Runtime as distributed in that zip.
Both DLLs say they are version 3.1.0.0. However, at runtime, I get
this:
{"Could not load file or assembly 'Antlr3.Runtime, Version=3.1.3.6002,
Culture=neutral, PublicKeyToken=eb42632606e9261f' or one of its
dependencies. The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT:
0x80131040)":"Antlr3.Runtime, Version=3.1.3.6002, Culture=neutral,
PublicKeyToken=eb42632606e9261f"}
I've tried replacing the Antlr3.Runtime DLL with the latest I could find
(downloaded from http://www.antlr.org/download/CSharp) and it reports to
be version 3.1.3.42154. With this version, I still get the exact same
error.
Does anyone have any suggestions on what I can do to resolve this?
Regards,
Brian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090814/d095b69a/attachment.html
More information about the stringtemplate-interest
mailing list