Problem with Service Fabric project templates in VS

Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric





After installation of Service Fabric, you might get following error:

Expected 1 export(s) with contract name "Microsoft.VisualStudio.Azure.Fabric.Shared.ServiceCreation.IProjectCreationTemplateDataProvider" but found 0 after applying applicable constraints.

This happens in fact only if you have been playing with many “releases” of Service Fabric. But if that happen you will have to delete cache extensions of Visual Studio.

Here is what you should do to work around this issue:

1. Close all the VS instances.
2. Delete %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache
3. Delete %localappdata%\Microsoft\VisualStudio\14.0\Extensions
4. Restart VS.

Hope this helps.

Posted Apr 28 2016, 07:01 PM by Damir Dobric


Can Bilgin wrote re: Problem with Service Fabric project templates in VS
on 06-22-2016 8:46


I really think you should update the post because deleting the Extensions folder actually removes existing extensions that are possibly installed in this folder (I just lost at least 2 extensions - Slow Cheetah App.Config and Web Essentials) - and additional errors popping up... is a .Net Community Blog powered by daenet GmbH.