Me n My Programming

If Only I Have TIme

ExampleModel (or DSL Model Name) does not exist in TextTemplate

I got this error while trying to integrate auto text template conversion in my DSL:

Error 1 Compiling transformation: ‘Microsoft.VisualStudio.TextTemplatingD65E8B553131FFCF6822A432A78A7F02.GeneratedTextTransformation’ does not contain a definition for ‘UseCase’

It turn out vs registered it under different name, UseCaseModel not UseCase.

You can look the registered name on the DSL DirectiveProcessor.cs file.

Code Snippet


/// The name for the provides parameter whose value decides the name of the property

/// generated by this DirectiveProcessor. The property returns the root element of

/// the model in the given file.


private const string providesModelParameter = “UseCaseModel”;


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


This entry was posted on February 8, 2009 by in Uncategorized.
%d bloggers like this: