yes, I copy en.stg to zh.stg(my language is simplified Chinese), and build ok now
but I find things change a lot from 3.3 to 3.4. Such as **Parser.***_return changes to AstParserRuleReturnScope<CommonTree,CommonToken> this might more coincidental with C# language. Thanks Dariusz for your information. On Saturday, October 22, 2011, Dariusz Brzeziński wrote: > I think I found what's wrong: > > The MSBuild task takes locale into account and tries to select an > appropriate messages file. Since my locale are Polish, the task was looking > for the file pl.stg in Antlr\Tool\Templates\messages\languages. There was an > error when it didn't find it. > > Quick solution: copy and rename en.stg to <your locale>.stg. In my case > pl.stg. > > Hope this helps. > > Cheers, > Darek > > W dniu 10/22/2011 1:52 PM, 李志鹏 pisze: > > same as me > > VS2010 ultimate with sp1 > > target invocation exception, but antlr3CSharp 3.3 no problem. > > I use 3.3 now. > > > On Saturday, October 22, 2011, Darek wrote: > >> Darek <dariusz.brzezinski@...> <javascript:_e({}, 'cvml', >> 'dariusz.brzezinski@...');> writes: >> >> EDIT: On my home machine with Visual Studio 2010 Ultimate I'm having no >> problems. >> >> At work on a machine with Visual SStudio Ultimate 2010 SP 1 I'm getting >> the >> target invocation exception. I've mingling with the *.targets file but >> with no >> results. >> >> Hope somebody can help me or suggest where to look for bugs. >> >> >> >> >> >> >> >> List: http://www.antlr.org/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org/mailman/options/antlr-interest/your-email-address >> > > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.