[stringtemplate-interest] C# ST and Visual Studio 2008 / .NET 3.5
Johannes Luber
jaluber at gmx.de
Wed Jul 30 05:31:23 PDT 2008
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