msdn Sample problem

hi ,

I just go through a "Library sample" in msdn library but it looks it is missing some text in the middle .URL of the sample is http://msdn2.microsoft.com/en-US/library/aa397537.aspx . In this sample after the XML text given for DSL file there is following text which doesn't making any sense to me .


Answer this question

msdn Sample problem

  • Deepa7476

    Tauheed,

    The DSL documentation is a little out of date in MSDN, we are working on a new version and will be released in the near future.

    For this particular part of walkthrough, what you need to do is (after creating that library.dsl) –

    1. Add a text file to your project, name it “DomainClasses.tt”

    2. Copy following code into the DomainClasses.tt file in text editor

    <#@ include file="Dsl\DomainClassCodeGenerator.tt" #>

    <#@ Dsl processor="DslDirectiveProcessor" requires="fileName='library.dsl'" #>

    3. Add another text file to your project and name it “DomainRelationships.tt”

    4. Copy following code into it in text editor

    <#@ include file="Dsl\DomainRelationshipCodeGenerator.tt" #>
    <#@ Dsl processor="DslDirectiveProcessor"  requires="fileName='library.dsl'" #>

    5. Open your Library.dsl in xml editor, and change the root node from Dsl to DslLibrary

    Then at this point, you should be able to transform (click the toolbar button on solution explorer), and find generated code.

    Thanks,

    -Yu



  • msdn Sample problem