kayakpim
kayakpim

Reputation: 995

Service Fabric Application template not available in Visual Studio

I have been using Visual Studio 2017 for some time currently(15.7.4). In the installer I have Azure Development ticked and that includes service fabric tools. When I go to create new project the option Visual C# -> Cloud -> Service Fabric Application is not in the list. I have already installed Microsoft Azure Service Fabric 6.2.283.9494, Microsoft Azure Service Fabric SDK 3.1.283.9494 and Mircosoft Azure Service Fabric Tools for VS 2015.

I have created a service fabric cluster using ClusterConfig.Unsecure.DevCluster.json and can see that running at http://localhost:19080/Explorer/index.html#/

I'm not sure what else I need to do to get this template to appear, I assume something in the VS install but I can't see any other options that I need to add.

EDIT: Even after uninstalling and reinstalling VS 2017 Enterprise using the installer and the Service Fabric SDK, I still don't have the option for the template Cloud -> Service Fabric Application

enter image description here

Upvotes: 7

Views: 2624

Answers (1)

Diego Mendes
Diego Mendes

Reputation: 11341

When you install the SDK, it does not install the Visual Studio Tools.

The SF Tools for VS is a separate installation, the version you installed is specific for VS 2015, for Visual Studio 2017 you have to install it from the Visual Studio Installer > Azure Development > Select 'Service Fabric' and install it. This will install the required VS templates missing.

A similar question has been answered here: Visual studio 2017 is not recognizing project of type .sfproj

Upvotes: 3

Related Questions