Do you have a stack trace or any other information about where the exception occurs? In Visual Studio, you can get a stack trace even if you don't have the source code by going to Debug>Exceptions..., checking the box next to UriFormatException, and then looking at the Call Stack window after the exception is thrown.
Sam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Voelkel, Andy Sent: Sunday, October 30, 2011 5:05 PM To: 'ANTLR interest' Subject: [antlr-interest] working examples for StringTemplate4 and C#? (I'm stuck again) Hi, I'm getting stuck trying to start using template group files. I try this to open my .stg file: TemplateGroup Tg = new TemplateGroupFile("RTX.stg", '<', '>'); .. and I get a UriFormatException, "The format of the URI could not be determined". Are there any working examples of using ST4 with C# that anyone could point me to? I'll gladly update the ST4 Wiki (which seems to be out of date) as I get simple examples working. Or would I be better off just sticking with ST3? - Andy ________________________________ CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain information that is confidential and/or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please DO NOT disclose the contents to another person, store or copy the information in any medium, or use any of the information contained in or attached to this transmission for any purpose. If you have received this transmission in error, please immediately notify the sender by reply email or at [email protected], and destroy the original transmission and its attachments without reading or saving in any manner. For further information about Plantronics - the Company, its products, brands, partners, please visit our website www.plantronics.com. 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
