簡體   English   中英

Service Fabric中不提供Service Fabric應用程序模板

[英]Service Fabric Application template not available in Visual Studio

我一直在使用Visual Studio 2017一段時間(15.7.4)。 在安裝程序中,我選擇了Azure Development,其中包括服務結構工具。 當我去創建新項目時,選項Visual C# - > Cloud - > Service Fabric Application不在列表中。 我已經為VS 2015安裝了Microsoft Azure Service Fabric 6.2.283.9494,Microsoft Azure Service Fabric SDK 3.1.283.9494和Mircosoft Azure Service Fabric Tools。

我使用ClusterConfig.Unsecure.DevCluster.json創建了一個服務結構集群,可以看到運行在http:// localhost:19080 / Explorer / index.html#/

我不知道還需要做什么才能讓這個模板出現,我假設在VS安裝中有些東西,但我看不到任何其他需要添加的選項。

編輯:即使在使用安裝程序和Service Fabric SDK卸載並重新安裝VS 2017 Enterprise之后,我仍然無法選擇模板Cloud - > Service Fabric Application

在此輸入圖像描述

安裝SDK時,它不會安裝Visual Studio工具。

SF Tools for VS是一個單獨的安裝,您安裝的版本特定於VS 2015,對於Visual Studio 2017,您必須從Visual Studio安裝程序 > Azure開發>選擇'Service Fabric'安裝它並安裝它。 這將安裝缺少所需的VS模板。

這里回答了類似的問題: Visual Studio 2017無法識別.sfproj類型的項目

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM