Ask a questionAsk a question
 

AnswerVSTO 2010 - DSL and T4

  • Tuesday, November 03, 2009 12:26 PMippous Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello;

    I m trying to generate code with template based on a DSL.

    My current class is inherited from  "Microsoft.VisualStudio.TextTemplating.VSHost.ModelingTextTransformation" and i try to use my object model in my class.
    I also declare the processor <#@ ServeurLanguage Processor="ServeurLanguageDirectiveProcessor" Requires="filename='..\Test.mysql3'" Provides="ExampleModel=ExempleModel" #> and i have the following error:
    "A processor named 'ServeurLanguageDirectiveProcessor' could not be found for the directive named 'ServeurLanguage'.

    I'm not sure about the file that is required; and about the way to declare the processor.
    Has somebody fond help or explanations ?

    Thanks


Answers

All Replies