Attach Snapshot Debugger option not available in VS 2017 - visual-studio

Trying to enable snapshot debugging on an Azure app service. The option to enable the snapshot debugger is not showing up in Visual Studio 2017. Did install the Snapshot Debugger Extension. Upgraded the Insights SDK on the deployed app service to the latest version (2.4.1).
The Visual Studio version I use is VS 2017 Enterprise 15.5.2.
Is this because snapshot debugging is only available for sites? Early blog posts about this feature seem to suggest this, but I'm not sure this is still the case.
The app service I try to snapshot debug is a Web API (.NET framework version 4.6.1).
Any suggestions about steps I'm missing here?

Unfortunately ASP.NET API apps are not currently covered.
The Snapshot Debugger was made available in Visual Studio 2017 Enterprise version 15.5 and greater. VS2017 supported ASP.NET (4.6.1+) and ASP.NET Core (2.0+) running in Azure App Services, however, it currently covers Web UI scenarios.
FYI: VS2019 supports several more Azure scenarios (VM,VMSS,AKS).

Related

Cloud Service project no longer loading

I have a Microsoft Visual Studio solution that I have been using for many years for producing a new release of our software application. One of the projects has recently stopped loading.
It looks like the problem may be similar to:
Visual Studio 2013/2015 Can't Load Azure Project
However in that case it was a new installation of Visual Studio.
Looking in add/remove programs it appears that 'Microsoft Azure Tools for Microsoft Visual Studio 2013' has an installed date of 19th May this year and version number 2.5.21104.1601.
What is the simplest way for me to fix this problem? Should I uninstall the Azure Tools and see if I can download and install V2.4? or do I need to install a new version of Azure SDK, as the other question suggests?
Another option I have, might be to upgrade to Visual Studio 2017. I have been reluctant to do this, as am not sure what things might break.
EDIT: I notice in Extensions and Updates there is Microsoft Azure SDK 2.9 available. Should I install this?
Any suggestions appreciated.
Thanks
Phil.
As you said you could try installing Microsoft Azure SDK 2.9.
Here is the Microsoft Release summary for Azure SDK 2.9.
Before installing Azure SDK 2.9 you should read this document whether your project having all the support in this SDK. If not then you should upgrade to, VS 2017.
From a developer word, I'd say upgrade to VS 2017 where you get/support all the latest features in your hand.

"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

Cannot find 'Microsoft Azure Web Apps' in the list of publish targets in visual studio 2015

I am trying to deploy my web application to Microsoft Azure Web Apps stack. For the same, what I do is, I right click on the project from visual studio 2015, click on publish, and find the 'Publish' window with the list of publish targets in the 'Profile' tab. But, I do not find 'Microsoft Azure Web Apps' option in the list of publish targets. What might be missing ? Please suggest.I have installed Microsoft Azure SDK version 2.9.6. There are newer versions available. Can this be a reason why the web apps option is not appearing ?
I experienced a similar issue and fixed the issue by installing the latest updates for my Visual Studio and also updates for Windows OS.
Do install the latest Azure SDK (Version 3.0) available and check to see if it helps.
Download link: https://azure.microsoft.com/en-in/downloads/

App launched in play store giving security alert

We created a mobile app using "Tools for appache cordova for visual studio 2013 - CTP 3.1. The app is launched successfully in playstore. But in recent days when we login in our play store id, we receive a warning.
" Security alert
Your app is using a version of Apache Cordova containing one or more security vulnerabilities. Please see this Google Help Center article for details, including the deadline for fixing the app.
Affects APK version 20300."
how do we solve this version we checked the cordova version in our system it shows 5.3 but the error still persists.
Tools for Apache Cordova for Visual Studio 2013 CTP 3.1 is about a year old at this point. I'd recommend moving to Visual Studio 2015, which includes the latest version of these tools, as well as newer versions of Apache Cordova.
Using Visual Studio 2015, you can update your project to the latest version of Cordova (currently 6.1.0), which supports an updated version of Cordova-Android that might fix your security issue. More details here: http://cordova.apache.org/announcements/2016/03/02/cordova-android-5.1.1.html

Cannot build Windows Azure Cloud project in VS 2010 after installing VS 2012 side by side

According to Microsoft the side-by-side installation of Visual Studio 2010 and 2012 is supported (http://msdn.microsoft.com/en-us/library/ms246609.aspx).
I already had VS 2010 installed on my system (Windows 7 box) along with the Windows Azure Tools 1.5. I used this configuration to create a cloud project that is hosted on Azure. A few days ago I decided to also put VS 2012 on my system but to do it in a side-by-side manner rather than upgrading (or uninstalling) the VS 2010. The reason why I did not want to uninstall VS 2010 was that I already had some add-ons configured for it for script and css minification and aggregation. I heard that VS 2012 has this functionality built-in but I did not want to touch the dozens of scripts that I had already created using the older method. So I wanted to keep my VS 2010 environment in a pristine, working state in case there was an emergency and I had to publish a patch for my already hosted application. I would use VS 2012 for all the new projects going forward.
However, after I put VS 2012 on my box it also brought down 1.8 version of Azure SDK. As a result, I can no longer successfully build my VS 2010 solution. I have one worker role and one web role in that solution. If I build each one of them individually the builds succeed. But if I then try to build the entire solution or package it, it fails with no message in the log whatsoever. It just shows "Build Failed" in the VS status bar.
Since I was not getting any error in the status bar, I decided to create a "Hello World" application from scratch with only one web role using Windows Azure Cloud project template in VS 2010 hoping to get a better error message. Indeed, when I try to build the entire solution I get an error:
Error 102 WAT080 : Failed to locate the Windows Azure SDK. Please make sure the Windows Azure SDK v1.5 is installed. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.5\Microsoft.WindowsAzure.targets
Clearly the installation of VS 2012 and Azure SDK 1.8 corrupted the older version. Ideally I would like to keep VS 2010 + Azure SDK 1.5 truly side-by-side with VS 2012 + Azure SDK 1.8. Is there a way to do this? If not, then how can I fix the error above? In other words, how can I fix VS 2010 to work with Azure SDK 1.8?
All you help is greatly appreciated.
Regards,
Archil
I solved this by going to Microsoft site and installing Windows Azure SDK for .NET - October 2012 (1.8).
http://www.microsoft.com/en-us/download/details.aspx?id=35448
Initially I was a bit afraid and people were saying that it would not work and they encouraged to do a manual one-by-one install. However, I decided to use the Web Platform Installed link from the above page:
http://go.microsoft.com/fwlink/?LinkId=254269
All in all, things went smoothly.

Resources