This project has moved and is read-only. For the latest updates, please go here.

Code snippets not working after latest VS 2012 update

Dec 4, 2012 at 5:58 PM


None of my mvvm code snippets are working. This happened after the most recent VS 2012 update. I tried to uninstall and reinstall mvvm light but no luck. Also tried CleanOldFiles.exe and reinstalled. Anyone can help on how to get the snippets working again?

Below are the details of my VS 2012

Microsoft Visual Studio Professional 2012
Version 11.0.51106.01 Update 1
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Professional

LightSwitch for Visual Studio 2012   04938-004-0033001-02881
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools   04938-004-0033001-02881
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012   04938-004-0033001-02881
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04938-004-0033001-02881
Microsoft Visual Basic 2012

Visual C# 2012   04938-004-0033001-02881
Microsoft Visual C# 2012

Visual C++ 2012   04938-004-0033001-02881
Microsoft Visual C++ 2012

Visual F# 2012   04938-004-0033001-02881
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04938-004-0033001-02881
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools   04938-004-0033001-02881
Microsoft Visual Studio 2012 SharePoint Developer Tools

Microsoft Enterprise Library Configuration Console   1.0
Launcher for the Microsoft Enterprise Library Configuration Console.

MVVM Light Toolkit   1.0
Information about my package

NuGet Package Manager   2.1.31002.9028
NuGet Package Manager in Visual Studio. For more information about NuGet, visit

PreEmptive Analytics Visualizer   1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Refactor! for Visual Studio   11.2
Refactor! for Visual Studio

SQL Server Data Tools   11.1.20627.00
Microsoft SQL Server Data Tools

Web Developer Tools   1.0.30710.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Dec 12, 2012 at 8:10 AM

I am not getting the MVVM Light code snippets in Visual Studio 2012 either. I'm using Microsoft Visual Studio Ultimate 2012 Version 11.0.51106.01 Update 1 and I have reinstalled MVVM Light

Dec 12, 2012 at 8:22 AM

Are you using Resharper intellisense? If yes, this is unfortunately removing the ability to use VS snippets. I would contact the Resharper team and ask them to solve that, as it is really annoying.

If not, let me know and we can investigate.


Dec 12, 2012 at 9:24 AM

Good call - I am!

I've posted them a question:
"The code snippets in MVVM Light (e.g. the code that VS 2012 offers for automatic insertion after Ctrl-K Ctrl-X) are disabled by ReSharper. Why? This seems like a bug as I cannot find a "restore 3rd party code snippets" option in the ReSharper options."

I'll post outcome back here.

Dec 12, 2012 at 10:22 AM

Thanks, I appreciate.

In the mean time I am also looking into publishing the code snippets as resharper snippets.



Dec 12, 2012 at 4:28 PM

Here's a me Too....

I'm using vs2012 Ultimate. And resharper.

With resharper intellisense set to ReSharper, code snippets such as prop etc... work, however not the mvvminc etc... code snippets.

I enabled the Visual Studio option under Resharper->IntelliSense->General then both the prop and mvvminc code snippets worked. 

Seems a bit odd that the default snippets work with resharper intellisense enabled while at the same time the mvvm light snippets don't. 

Thankfully I don't have to restart visual studio for the resharper intelisense changes to take effect allowing me to disable resharper intelisense to add mvvm light properties easily with the code snippets. 

c ya.... - jeffa

Dec 13, 2012 at 9:08 AM

Resharper is using their own code snippet format. What you see (prop, etc) are resharper snippets, not the VS code snippets.

Publishing MVVM Light snippets as resharper snippets is possible (someone actually translated them already), but it is extra work to add them to the installer. I wish Resharper would just show the VS code snippets, at least as an option.


Dec 14, 2012 at 10:06 AM

Laurent, Alexander, a Support Engineer from JetBrains, got back to me asking for clarification on where mentioned snippets are disabled. If you want me to CC you in on my reply can you ping me your email address (mine's timregan at microsoft dot com).

Jan 4, 2013 at 2:16 PM

Hi Laurent,
I encountered the same issue. I used VS 2010 Professional and MVVM Light 4.0, it worked great.
Right now I am using VS 2012 Ultimate and MVVM Light 4.1 for VS 2012, the code snippet does not work. I am not using Resharper.
Any help would be appreciated.  Thanks in advance.

Feb 22, 2013 at 5:26 PM
Just installed MVVM Light for VS 2012, snippets do not work
Mar 7, 2013 at 11:12 AM
Hi all there,

I got the same problem: VS 2012 (no Resharper!!!). After Installation of MVVMlight the MVVMlight-snippets are not present. Can I install the snippets manually?
Where can I get them?

Thanks a lot
Mar 7, 2013 at 11:26 AM

yes, you can download the snippets either each manually by clicking on "Source Code" --> "Snippets" --> "CSharp" or by clicking on "Source Code" --> "Download".
Mar 7, 2013 at 12:10 PM
Thanks to cH40zLord,

now I got the snippets! I Copied them to the directory where MySnippets are located and and added them with Snippet-Manager.

time to start learning MvvmLight...
Aug 20, 2013 at 10:06 AM
Edited Aug 20, 2013 at 10:07 AM
In Resharper 8 use CTRL-J and then type mvvm and you get the code snippets.
Sep 20, 2013 at 3:39 AM
Edited Sep 20, 2013 at 3:39 AM
Can include the snippets manually....

In Visual Studio 2012, go to tools>code snippets manager (ctrl+k, ctrl+b)
Add the snippets folder.

You may find mvvm light snippets folder at "C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Snippets"
Jan 2, 2014 at 3:22 PM
If you use code snippets, you will find that they don’t work any more. This is because Resharper overrides the intellisense, and jet-brains clearly doesn't have the brains to figure that code snippets are an import aspect of editing for some people (and typically those people who would buy ReSharper are the kind of productivity-oriented people that would use code snippets). Go figure.

To override this Resharper “feature”, you either have to type Ctrl+J, then type your snippet, or disable Resharper’s intellisense by clicking RESHARPER menu, Options, Environment, Intellisense, General, and select Visual Studio.