I've installed the SF SDK 2.1.150 (VS2015), cloned the https://github.com/Azure-Samples/service-fabric-dotnet-getting-started and opened in Visual Studio 2015 Update 2 running as admin. I was not able to select the WordCount application as a startup project:
Trying to create new project from the "Service Fabric Application" template, after clicking OK in the "New Project" dialog, I'm getting error message:
Expected 1 export(s) with contract name "Microsoft.VisualStudio.Azure.Fabric.Shared.IShellService" but found 0 after applying applicable constraints.
I've tried to Repair the SDK components "Microsoft Azure Service Fabric 5.1.150.9590", "Microsoft Azure Service Fabric SDK 2.1.150.9590" and "Microsoft Azure Service Fabric Tools for Visual Studio 2015 1.1.40531.2" using the Control Panel "Programs and Features" applet. I've uninstalled and reinstalled the SDK, rebooted the machine to no avail.
Any ideas, please?
Clearing the Visual Studio component cache according to the following steps helped:
https://github.com/Codealike/Codealike-KnowledgeBase/blob/master/clear-visual-studio-component-cache.md :
On Visual Studio 2015
1. Close Visual Studio (ensure devenv.exe is not present in the Task Manager)
2. Delete the %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache directory
3. Restart Visual Studio.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With