copy the text from ViewFixupRules.dslddi to ViewFixupRules.dslddt -> Tranformation fails

Hi,

since i want to do an adaption of the ViewFixupRules.dslddi template which should be used only within my solution, I copied the text of the ViewFixupRules.dslddi to the ViewFixupRules.dslddt (copy&paste).

Actually, I'd like to change the ElementAttributeChanged Method within this template.

When I try to tranform the file i get the following error:

Error 1 Custom tool error: Compiling transformation: The type or namespace name 'EnterpriseTools' does not exist in the namespace 'Microsoft.VisualStudio' (are you missing an assembly reference ) C:\temp\Test\TestDSL\Designer\Diagram\ViewFixupRules.dslddt 5 35 Designer

 Any IDEAS

 

Thanks,

Benjamin

 


 

 



Answer this question

copy the text from ViewFixupRules.dslddi to ViewFixupRules.dslddt -> Tranformation fails

  • Dinesh Chandnani

    Hi Benjamin,

    When you copy pasted the contents of ViewFixupRules.dslddi, you probably removed the following line from the template:

    <#@ definition processor="DDDirectiveProcessor" requires="fileName='..\Designer.dsldd'" #>

    If you put this line back in the template, it should work.

    Thanks,
    George Mathew
    DSL Tools Team


  • Quilnux

    george,

    thanks a lot!
    indeed, i forgot to re-copy this line again...

    benjamin

  • copy the text from ViewFixupRules.dslddi to ViewFixupRules.dslddt -> Tranformation fails