Welcome Guest! To enable all features please Login or Register.



#1 Posted : Monday, May 3, 2010 5:13:58 PM(UTC)
Rank: Guest

Groups: Guest
Joined: 3/17/2009(UTC)
Posts: 1,084

Dear support,

I bought the pro version but I still cannot use the modeling tools.
I have added a tacls file and a simple tt file to my project.
I dropped the class diagram to my tt files.
I get the following directive added:
<#@ TAClassDiagrams processor="TAClassDiagramsDirectiveProcessor" requires="fileName='ClientModel.tacls'" #>

Every time I hit the save button I get the following error:

Error 1 A processor named 'TAClassDiagramsDirectiveProcessor' could not be found for the directive named 'TAClassDiagrams'. The transformation will not be run. The following Exception was thrown:
System.IO.FileNotFoundException: Failed to resolve type for directive processor TAClassDiagramsDirectiveProcessor.
at Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveDirectiveProcessor(String processorName)
at Microsoft.VisualStudio.TextTemplating.Engine.ProcessCustomDirectives(ITextTemplatingEngineHost host, TemplateProcessingSession session, List`1 directivesToBeProcessed) C:\Projects\arobaNET\KPM\Finance\Source\Kpm.Finance.Solution\Kpm.Finance.Client.Model\Generated\ClientModel.tt 4 4
any idea or sugestion on how to have it working?

Edited by user Wednesday, May 5, 2010 3:55:27 AM(UTC)  | Reason: Not specified

#2 Posted : Wednesday, May 5, 2010 2:37:05 AM(UTC)
Rank: Administration

Groups: Administration
Joined: 3/17/2009(UTC)
Posts: 168

Was thanked: 12 time(s) in 12 post(s)
We changed the directive names and assembly names from VS2008
You got the error as there was an old sample template in the online template gallery.
You would get same error on own old templates

All Gallery templates are now fixed.

Please click "Search for online templates" to update your templates to get the fix.

Just to make this clear, the correct code looks like this. Please see the online gallery for changed directive and assembly names
<#@ TangibleClassDiagram processor="TangibleClassDiagramDirectiveProcessor" requires="fileName=<NAME>'"
<#@ assembly name="tangible.Modelling.ClassDiagrams.Dsl.10.dll" #>
<#@ import namespace="tangible.Modelling.ClassDiagrams" #>

If you need more info please do not hesitate to contact us via support @ tangible.de

PS: If you feel you do not get the latest templates just rename or delete the DragandDropActions.xml file in the following folder
C:\Users\<user>\AppData\Roaming\tangible T4 Editor 2010\DragandDropActions.xml - you will then get the new stuff for sure.

Edited by user Wednesday, May 5, 2010 4:00:38 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2020, Yet Another Forum.NET
This page was generated in 0.103 seconds.

Authorization on the site

For an authorized user opens up new possibilities