index > Visual Studio Team System - Domain-Specific Language Tools > How it the class mentioned in directiveprocessor loaded?

How it the class mentioned in directiveprocessor loaded?


In my debugging solution for a DSL package i specify the DirectiveProcessor for the templates to generate custom code.

I am trying to understand how the corresponding class is loaded?

This class is apparently generated in the original DSL project ,but the Debugging project doesn't seem to be referencing this dll anywhere , How is the reference to the dll generated in the original project resolved.

thanks

Neeraj




Neeraj
NeerajS

Hi Neeraj,

When you build the original project, the attribute "ProvideDirectiveProcessor" on your package class is used to put some entries in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TextTemplating\DirectiveProcessors

The text templating host for Visual Studio that we ship with the DSL Tools knows about thi sregistry location and uses it to lookup directive processors by name and thus find the assembly to load.




Gareth Jones - Developer - DSL Tools & Software Factories Platform [MSFT]
GarethJ - MSFT
reply 2

You can use google to search for other answers

 

More Articles

What can be created with DSL?
my feedback about dsl
Creating a modelElement at runtime
filtering reference dropdowns in the propertygrid
How to Use Path Syntax and Element Merge Directives
DSL Tools Licensing
Domain model designer toolbox items disappeared
Has the hosting question been resolved?
Reading and writing models in June release?
academic distribution of a DSL
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

How to migrate / implement CustomStorage…
Migrating .diagram files to V1 (Septembe…
bidirectional connectors
How adequate-rich or suffitient-complete…
Changing elements from properties
Have problem for the DSL walk-through st…
toolbox problem - reset toolbox doesn't …
How to make a Domain Relationship visibl…
Problem installing latest DSL toolkit ...
How to know if OnShapeInserted was initi…
Beginners Question on code generation
Setup & life cycle
Setting the default expanded state for a…
Compartment Shape for Model
Rules don't seem to be called with sdk 2…

Hot Articles

Background Picture
T4 Example of passing parameters to Text…
How to set compartment's default expande…
Announcing: SharpLudus, a software facto…
Problem Installing DSL Tools September 2…
Decorator for Compartments
Question on roadmap to DSL features
Designer code templates - where are they?
May CTP is available....
Designing ClassDesigner in DSL Tools?
I get a null reference exception when ad…
Problem loading different models in Dire…
General Questions
Package Load Failure with /NoVsip
November release Designers compile errors

Recommend Articles

Compartment Shape Equivalents
Using Pictures
Serialize reference type class member
Custom rules
Problem running Debug solution
constrain the number of a specific shape
Announcing DSL Tools May 2005 CTP for Vi…
How-to: create a custom tool that runs d…
Shape Icon and Shape Tool Minor Bug
GAC support in Templating Engine (Featur…
Providing UITypeEditor in DSL
How to set the tooltip for the shapes an…
Unregister DSL file extension
How to intercept click on icon decorator
Overriding custom attribute in a derived…