[stringtemplate-interest] Could not load file orassimpleAntlr3.Runtime version 3.1.3.6002

Brian J. Sayatovic bsayatovic at creditinfonet.com
Mon Aug 17 08:26:56 PDT 2009


Well, I proved that it works just fine when I use a clean, standalone
project.  That means the problem is in my real project.  I also realized
that what I thought was 3.1.0.0 was actually 3.1.3.6002.

 

So now I've put the version StringTemplate wants in place, 3.1.3.6002.
However, now NHibernate 2.1.0 is upset because it wants Antlr3.Runtime
version 3.1.0.39271.

 

Is this DLL hell?

 

Regards,

Brian.

 

From: Brian J. Sayatovic [mailto:bsayatovic at creditinfonet.com] 
Sent: Monday, August 17, 2009 10:09 AM
To: 'Sam Harwell'; 'stringtemplate-interest at antlr.org'
Subject: RE: [stringtemplate-interest] Could not load file
orassimpleAntlr3.Runtime version 3.1.3.6002

 

Well, I'm also using NHibernate 2.1.0, which includes Antler3.Runtime.Dll
version 3.1.0.39271.  Since StringTemplate claimed it required version
3.1.3.6002, I replaced my DLL with the version that came from the
StringTemplate 3.2 archive.  However, that also failed and when I inspected
its Antlr3.Runtime.Dll, its version was 3.1.0.0 - seemingly also too old.

 

I'll try a clean stand-alone project and see what I can get working.
Meanwhile, what versions of the StringTemplate and Antlr3.Runtime assemblies
are you using?

 

Regards,

Brian.

 

From: Sam Harwell [mailto:sharwell at pixelminegames.com] 
Sent: Friday, August 14, 2009 5:47 PM
To: Sam Harwell; 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,

 

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/20090817/b60e8a71/attachment-0001.html 


More information about the stringtemplate-interest mailing list