Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing snippet in Visual Studio

I have the same installation of Visual Studio on two machines, but on one, I can't find the snippet "propdp" for DependencyProperty. I only have prop/propg, can't really understand why. Is there an addon I have to install?

like image 905
syncis Avatar asked Mar 18 '11 08:03

syncis


1 Answers

Came across this same issue myself today after a fresh install of VS2008 on Win7 64

All I had to do to fix it was to

  1. Go to Tools > Code Snippets Manager
  2. Select Visual C# from the drop down menu
  3. Click Add
  4. Select the NetFx30 directory containing the code snippets, in my case it was...

    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC#\Snippets\1033\NetFX30

You should immediately be able to use the code snippet.

like image 71
gsobocinski Avatar answered Oct 16 '22 09:10

gsobocinski