Service Fabric Application template not available in Visual Studio - 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

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

Related

Visual Studio Exceeded execution timeout, attempting to auto cancel

I am not sure what is causing this but while editing files within Visual Studio, I am periodically locking up with the following dialog showing.
Pressing cancel does nothing, after waiting for sometime I have to end VS via Task Manager.
I can't figure out why this comes up nor how to prevent it.
This is my VS configuration...
Microsoft Visual Studio Community 2022 Version 17.3.0
VisualStudio.17.Release/17.3.0+32804.467 Microsoft .NET Framework
Version 4.8.04161
Installed Version: Community
Visual C++ 2022 00482-90000-00000-AA497 Microsoft Visual C++ 2022
ADL Tools Service Provider 1.0 This package contains services used
by Data Lake tools
ASA Service Provider 1.0
ASP.NET and Web Tools 17.3.375.53775 ASP.NET and Web Tools
Azure App Service Tools v3.0.0 17.3.375.53775 Azure App Service
Tools v3.0.0
Azure Data Lake Tools for Visual Studio 2.6.5000.0 Microsoft Azure
Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 17.3.375.53775 Azure Functions
and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.6.5000.0 Microsoft
Azure Stream Analytics Tools for Visual Studio
C# Tools 4.3.0-3.22401.3+41ae77386c335929113f61d6f51f2663d2780443 C#
components used in the IDE. Depending on your project type and
settings, a different version of the compiler may be used.
Common Azure Tools 1.10 Provides common services for use by Azure
Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.2.6 (master#34d6af2) Provides common
messaging-based MEF services for loosely coupled Visual Studio
extension components communication and integration.
GitHub Copilot 1.43.0.1 (v1.43.0.1#cb116db27) GitHub Copilot is an
AI pair programmer that helps you write code faster and with less
work.
GitHub Copilot Agent 1.43.6621 (v1.43.0)
Microsoft Azure Hive Query Language Service 2.6.5000.0 Language
service for Hive query
Microsoft Azure Stream Analytics Language Service 2.6.5000.0
Language service for Azure Stream Analytics
Microsoft Azure Tools for Visual Studio 2.9 Support for Azure Cloud
Services projects
Microsoft JVM Debugger 1.0 Provides support for connecting the
Visual Studio debugger to JDWP compatible Java Virtual Machines
Mono Debugging for Visual Studio 17.3.20 (3f4cb00) Support for
debugging Mono processes with Visual Studio.
Node.js Tools 1.5.40629.1 Commit
Hash:3f5cc0329815af3ffb948f08857446d206a9af36 Adds support for
developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 6.3.0 NuGet Package Manager in Visual Studio.
For more information about NuGet, visit https://docs.nuget.org/
Razor (ASP.NET Core)
17.0.0.2232702+e1d654e792aa2fe6646a6935bcca80ff0aff4387 Provides languages services for ASP.NET Core Razor.
SQL Server Data Tools 17.0.62207.04100 Microsoft SQL Server Data
Tools
ToolWindowHostedEditor 1.0 Hosting json editor into a tool window
TypeScript Tools 17.0.10701.2001 TypeScript Tools for Microsoft
Visual Studio
Visual Basic Tools
4.3.0-3.22401.3+41ae77386c335929113f61d6f51f2663d2780443 Visual Basic components used in the IDE. Depending on your project type and
settings, a different version of the compiler may be used.
Visual F# Tools
17.1.0-beta.22363.4+1b94f89d4d1f41f20f9be73c76f4b229d4e49078 Microsoft Visual F# Tools
Visual Studio Inline Suggestions 2.2.2055.12395 Ghost text API for
Visual Studio inline suggestions
Visual Studio IntelliCode 2.2 AI-assisted development for Visual
Studio.
VisualStudio.DeviceLog 1.0 Information about my package
VisualStudio.Mac 1.0 Mac Extension for Visual Studio
VSPackage Extension 1.0 VSPackage Visual Studio Extension Detailed
Info
Xamarin 17.3.0.295 (d17-3#321c85a) Visual Studio extension to enable
development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 17.3.0.208 (remotes/origin/d17-3#e4f67afef) Visual
Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin.Android SDK 13.0.0.0 (d17-3/030cd63) Xamarin.Android
Reference Assemblies and MSBuild support.
Mono: dffa5ab
Java.Interop: xamarin/java.interop/d17-3#7716ae53
SQLite: xamarin/sqlite/3.38.5#df4deab
Xamarin.Android Tools: xamarin/xamarin-android-tools/main#14076a6
Same here, 7 times yesterday morning.
Copilot extension is also installed in my VS2022.
I've disabled copilot globally and no more incidents for now.

Service fabric SDK Installation with VisualStudio 2015

I've been trying to install the Service Fabric SDK with Visual Studio 2015 by following this guide from Microsoft. Once I have it installed I can see in control panel:
However when I then go to create a new Service Fabric Application project the project is not listed there. Additionally, if I try to clone a project from GitHub and load it into VS it says it is incompatible:
Is there any known issues with the current version of Service Fabric SDK and Visual Studio 15?
Thanks!

Azure not enable in Visual Studio SSIS Toolbox

I installed the Azure Feature Pack for Integration Services (SSIS). During the installation I got this message:
"64-bit SSIS is not found. This will only install 32-bit feature pack that can only be used with 32-bit SSIS (e.g in SSDT)"
When I run the visual studio, the Azure is disabled in the SSIS toolbox.
How can I fix this issue and make the Azure enable in the toolbox?
I have installed Visual Studio ver 16.6.5
I have installed SQL Server 2017 and 2019
My pc is 64-bit
Regards
Waleed
Since you are running Visual Studio 2019 (16.6.5 as you say), you should check which version of the Azure Feature Pack for Integration Services you have installed.
The Azure Feature Pack for Integration Services version should match the targeted SQL Server version for your SSIS project (Configuration Properties -> TargetServerVersion).

"Configure application insights" not showing in VS2017 and how to view insights locally in VS2017?

We have recently upgraded the visual studio from 2015 to 2017 pro.
In visual studio 2015,we have implemented application insights and that was working fine.
After upgraded to 2017, the option "Configure application insights" not showing in solution explorer.
I have reinstalled Microsoft.ApplicationInsights and Microsoft.ApplicationInsights.Web packages. but no use, which is not showing.
Please suggest the steps to check application insights locally using visual studio 2017.
Refering to the documentation, you have to install the following workloads for Visual Studio 2017:
ASP.NET and web development
Azure development
Being more specific, do you need the pack Developer Analytics Tools from ASP.NET and web development

Enabling windows azure tools to get Windows Azure project

I am trying to create a webproject which can be deployed on azure. I have VS 2010 trial version (pro) installed on windows 7. When i click cloud (under VC#) i am prompted to install Windows azure tools. I do this. I get the tools installed message. I restart VS 2010. But i fail to find windows azure web project template, which should have been installed. It just shows me the same sequence of screens (install tools etc). I am executing VS 2010 under administrator role.
Steps described # http://msdn.microsoft.com/en-us/library/windowsazure/ff687127.aspx
Questions
Is Windows azure template projects not allowed in Trial edition of VS 2010 pro?
Can such a project be made using VS 2010 express?
Thank you
Sameer
I'm not sure about trial versions, as I've never tried installing with a trial edition. However: I've run other software packages with trial versions of Visual Studio, without issue.
The SDK will work with Visual Studio 2010 Pro and above, as well as Visual Web Developer 2010 Express (downloadable here).
For installing the tools properly, I'd suggest going here and installing via Web Platform Installer. It will make sure you have all needed dependencies.

Resources