Wednesday, 12 December 2007

Visual Studio 2008 - Code snippets Missing


I just started to write a sequential workflow and noticed that the DependencyProperty code snippet for workflow was missing. Had a hunt around on the web with no luck.

I looked at the existing snippets and noticed they were located here:
e:\Program Files\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Visual C#\else.snippet

So I looked around and found a folder called:
E:\Program Files\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Other\Workflow\DependencyProperty - Property.snippet

I clicked Add in my Tools > Code Snippets Manager... and went to the path mentioned for the workflow properties above. I noticed that the propd shortcut was still not available in intellisense so I opened the DependencyProperty - Property.snippet XML file in visual studio and changed the following to:
instead of: