Hi Roger,
Can you include a copy of your .csproj file so I can compare it with mine?
Thank you,
--
Sam Harwell
Owner, Lead Developer
--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Glad it’s fixed. Hopefully the rest falls in line as well. :)
If you aren’t already using the latest Visual Studio extension for ANTLR 4, you can get it here. This extension will automatically configure a grammar file properly when you add it to your project. In particular, ANTLR 4 requires the tool to specify the “Custom Tool Namespace” for generated code in the Visual Studio Properties pane for the file. This extension configures that setting automatically, and extends the properties pane as shown below for easy customization of some additional grammar build options.
http://visualstudiogallery.msdn.microsoft.com/25b991db-befd-441b-b23b-bb5f8d07ee9f
--
1>------ Rebuild All started: Project: Antlr4.Runtime.v4.5, Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: Antlr4.Runtime.v4.0, Configuration: Debug Any CPU ------
3>------ Rebuild All started: Project: Antlr4.Runtime.v3.5, Configuration: Debug Any CPU ------
4>------ Rebuild All started: Project: Antlr4.Runtime.v3.0, Configuration: Debug Any CPU ------
1> Antlr4.Runtime.v4.5 -> G:\antlr4cs\runtime\CSharp\Antlr4.Runtime\bin\v4.5\Debug\Antlr4.Runtime.v4.5.dll
2> Antlr4.Runtime.v4.0 -> G:\antlr4cs\runtime\CSharp\Antlr4.Runtime\bin\v4.0\Debug\Antlr4.Runtime.v4.0.dll
3> Antlr4.Runtime.v3.5 -> G:\antlr4cs\runtime\CSharp\Antlr4.Runtime\bin\v3.5\Debug\Antlr4.Runtime.v3.5.dll
5>------ Rebuild All started: Project: Antlr4.Runtime.v2.0, Configuration: Debug Any CPU ------
6>------ Rebuild All started: Project: Antlr4.Runtime.Portable, Configuration: Debug Any CPU ------
4> Antlr4.Runtime.v3.0 -> G:\antlr4cs\runtime\CSharp\Antlr4.Runtime\bin\v3.0\Debug\Antlr4.Runtime.v3.0.dll
7>------ Rebuild All started: Project: Antlr4.Runtime.Test.v4.5, Configuration: Debug Any CPU ------
8>------ Rebuild All started: Project: Antlr4BuildTasks.v4.0, Configuration: Debug Any CPU ------
8> Antlr4BuildTasks.v4.0 -> G:\antlr4cs\runtime\CSharp\Antlr4BuildTasks\bin\v4.0\Debug\Antlr4BuildTasks.v4.0.dll
6> Antlr4.Runtime.Portable -> G:\antlr4cs\runtime\CSharp\Antlr4.Runtime\bin\Portable\Debug\Antlr4.Runtime.Portable.dll
9>------ Rebuild All started: Project: Antlr4.Runtime.Test.v4.0, Configuration: Debug Any CPU ------
5> Antlr4.Runtime.v2.0 -> G:\antlr4cs\runtime\CSharp\Antlr4.Runtime\bin\v2.0\Debug\Antlr4.Runtime.v2.0.dll
10>------ Rebuild All started: Project: Antlr4.Runtime.Test.v3.5, Configuration: Debug Any CPU ------
11>------ Rebuild All started: Project: Antlr4.Runtime.Test.v3.0, Configuration: Debug Any CPU ------
9>G:\antlr4cs\runtime\CSharp\build\Antlr4.targets(129,5): error AC1000: Unknown build error: Object reference not set to an instance of an object.
7>G:\antlr4cs\runtime\CSharp\build\Antlr4.targets(129,5): error AC1000: Unknown build error: Object reference not set to an instance of an object.
12>------ Rebuild All started: Project: Antlr4.Runtime.Test.v2.0, Configuration: Debug Any CPU ------
11>G:\antlr4cs\runtime\CSharp\build\Antlr4.targets(129,5): error AC1000: Unknown build error: Object reference not set to an instance of an object.
13>------ Rebuild All started: Project: Antlr4.Runtime.Test.Portable, Configuration: Debug Any CPU ------
10>G:\antlr4cs\runtime\CSharp\build\Antlr4.targets(129,5): error AC1000: Unknown build error: Object reference not set to an instance of an object.
14>------ Rebuild All started: Project: Antlr4BuildTasks.v3.5, Configuration: Debug Any CPU ------
12>G:\antlr4cs\runtime\CSharp\build\Antlr4.targets(129,5): error AC1000: Unknown build error: Object reference not set to an instance of an object.
13>G:\antlr4cs\runtime\CSharp\build\Antlr4.targets(129,5): error AC1000: Unknown build error: Object reference not set to an instance of an object.
14> Antlr4BuildTasks.v3.5 -> G:\antlr4cs\runtime\CSharp\Antlr4BuildTasks\bin\v3.5\Debug\Antlr4BuildTasks.v3.5.dll
========== Rebuild All: 8 succeeded, 6 failed, 0 skipped ==========
****************************
Can anyone shed some light on this for me?
thank you!!!
I've installed the 32bit java and the build completed without errors. :) I received a number of "empty switch block" warnings on the generated lexers and a few multiple definition warnings on the predefined type 'System.Runtime.CompilerServices.ExtensionAttribute'; 14 warnings in total, but no errors.
earlier today while looking for answers I came upon a thread suggesting that ReSharper was causing problems in this context so I removed ReSharper; is the "ReSharper issue" valid? i.e. should I leave ReSharper out or can I put it back in? I was using the latest release (7.x?).
thank you for all of your work; I simply LOVE AntlrWorks - while I [still] remember the days of lexx and yacc I sure don't pine for them. ANTLR is incredible and AntlrWorks makes using it a joy.... :)
-mark