Hi
I am following the walkthrough for creating a custom directive processor available in the following link on msdn
http://msdn2.microsoft.com/en-us/library/bb126542.aspx
However I am facing two issues here
1) I created a test project to test the custom directive as mentioned in the section: To create a text template to test the directive processor". eWhen I am copying the contents from the articel to TestDP.txt in y project and Save it I am getting the following Error
"Error1The type 'CustomDP.CustomDirectiveProcessor' of the directive processor named 'CustomDirectiveProcessor' does not derive from Microsoft.VisualStudio.TextTemplating.DirectiveProcessor. The transformation will not be run.C:\TempForDelete\Rnd\TemplateTest\TemplateTest\TestDP.txt64TemplateTest"
2) I am not sure what exactly the point no 1 in "To test the directive processor" Section "In the second instance of Visual Studio, in Solution Explorer, right-click TestDP.txt, and then click Run Custom Tool" means? The second instance of Visual Studio is not there in any of the steps mentioned or if we open another instance of Visual Studio wewillnothave the TestDP.txt in that? Is this a typo mistake? Its very confusing.
Has anyone tried this walk through? I guess there is some problem somewhere.
Can someone from Microsoft look at this and respond please?
Thanks,