Hi Andy,
I think you have done something wrong. Using Visual Studio 2010 Pro
SP1, I:
- Added a reference to grammatica-1.5.dll.
- Added all the source files under
grammatica-1.5\test\src\csharp\PerCederberg.Grammatica.Test\
- Added in TestAll.cs (directory above).
- Commented out lines 44-47 of TestAll.cs because they refer to
other tests I did not bother to include.
- It builds and runs OK.
I also use Grammatica 1.5 in Visual C# 2008 and in Visual Studio
2008.
Regards,
Oliver Bock
On 30/04/2011 7:15 PM, cheng yang wrote:
Hi, I use grammatica(.NET) for the first time. I want
to parse SQL scripts in C#. And I run the CSharp test in the
download package, but it can't be compiled successfully. The error
message is:
Namespace "PerCederberg.Grammatica" does not exist in the type or namespace name "Test" .
I have added grammatica-1.5.dll to project.So how can I do
now? Can you show me a demo that parsing SQL with C#? Thank you
very much.
andycheng
30/4/2011
_______________________________________________
Grammatica-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/grammatica-users
|