No Windows Azure Web Sites publish option in VS 2012 website publish - visual-studio

I'm trying to help a colleague setup their development environment to deploy to an azure website. Both of us have Visual Studio 2012 update 5, Azure SDK 2.6 and Web Deploy 3.6 installed but my colleague does not see the option I see (see screenshot 1), they only see what you can see in screenshot 2. Does anyone have any idea what the issue might be?

Related

Attach Snapshot Debugger option not available in VS 2017

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).

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/

Configuring Web Deploy on Windows Server 2012

I'm trying to publish my web application on Visual Studio 2013 to a remote server operating on Windows Server 2012 R2. I have been following the steps here to install Web Deploy.
I installed the Recommended Server Configuration for Web Hosting Providers and added the role "Management Services" for IIS 8 but I still couldn't find the Deploy option when right-clicking my website.
What could I possibly be missing?
It turned out that i had installed web deploy 3.6 on top of 3.5, removing 3.6 fixed the problem and now Deploy shows in the menu.

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.

How to create Web Deploy 2.0 projects in Visual Studio 2010?

We are using Visual Studio 2010 to publish to IIS using Web Deploy. I have now upgraded to Web Deploy 2.0 on the client, and the server (by uninstalling the old version and installing the new version).
From Visual Studio, it still seams to be creating web deploy 1.0 packages. This is where I am confused. How does Visual Studio integrate with Web Deploy? How do I get Visual Studio to create Web Deploy 2.0 packages?
Thanks for your post.
I just found a doc might help, it illustrates the installation and enabling of web deploy:
http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx
Moreover, I think web deploy is more relevant to ASP.Net, and if you can post another thread at:
http://forums.asp.net/26.aspx?Configuration+and+Deployment
I believe you can get more useful information.
Hope this can help.
I got it working. The batch file that was being generated by web deploy was checking for v1.1 in the registry. Editing it to check for v2 works on a server that only has v2 installed.
After installing the Visual Studio service pack, I see now that the batch file is different, and no longer does a registry check so works with web deploy clients 1 and 2.

Resources