[stringtemplate-interest] C# ST and Visual Studio 2008 / .NET 3.5

Sune Kristensen shk at visanti.com
Wed Jul 30 05:40:07 PDT 2008


I have added both antlr.runtime.dll and StringTemplate.dll, so don't think that is the problem, unless I should do something more than what gets done by the "Add Reference" dialog.

/Sune

-----Original Message-----
From: Johannes Luber [mailto:jaluber at gmx.de]
Sent: 30. juli 2008 14:31
To: Sune Kristensen
Cc: stringtemplate-interest at antlr.org
Subject: Re: [stringtemplate-interest] C# ST and Visual Studio 2008 / .NET 3.5

Sune Kristensen schrieb:
> Hi
>
>
>
> I have been trying to use StringTemplate in an asp.net project using
> .NET 3.5 and Visual Studio 2008.
>
> I can add the dll's fine (Add Reference dialog), but I get the following
> error during build: "The type or namespace name 'Antlr' could not be
> found (are you missing a using directive or and assembly reference?)"
>
>
>
> The error comes from this line of code: "using Antlr.StringTemplate;"
>
>
>
> Is there anything special that should be done before using it, or is it
> just not working with .NET 3.5 / VS 2008?
>
>
>
> I have tried the following version:
>
>
>
> StringTemplate.Net.v3.0.1.net-2.0
>
> StringTemplate.Net.v3.1b1.net-2.0
>
> StringTemplate.Net.v3.1b1.net-1.1
>
> And the version that is in antlr-3.1b2.tar.gz
>
>
>
> /Sune

I believe you may not have all libraries referenced. StringTemplate is
so far dependent on ANTLR 2.7.7 and there is the antlr.runtime.dll
assembly for this runtime.

Johannes



More information about the stringtemplate-interest mailing list