Publish the server project from Visual Studio to Azure - visual-studio

I'm trying to publish the sample project for mobile backend as explain here: https://azure.microsoft.com/en-gb/documentation/articles/app-service-mobile-dotnet-backend-how-to-use-server-sdk/#install-sdk
unfortunately I can't follow the correct procedure because I haven't "Microsoft Azure App Service" button.
Here it is what I have:
Can you help me?

It seems that you do not have the last version of the Azure Tools for Visual Studio. You can download the latest version from here: https://www.visualstudio.com/en-us/features/azure-tools-vs.aspx
The last version is 2.9 published on March, 30th.
After installing this version you should have the Azure App Service option available, as displayed on the first capture on the page linked above.

Related

Azure WebJob not working in VS 2015

I'm using VS 2015 Community with Update 2 and recently I have got a strange problem where Azure WebJob dialog won't appear.
I have an existing ASP.NET Web Application Project and want to add a new WebJob project to it, but I can't get any dialog or logs when I right-click the project and click "Add" -> "New Azure WebJob Project" or "Existing Project as Azure Webjob". Just the second screenshot in this article I want to see.
I have already installed Azure SDK 2.9.1 and Nuget Packages related to WebJob such as "Microsoft.Web.WebJobs. Also I tried to run VS as an Administrator according to this article, do the same command on my laptop, repair the SDK and deploy a standalone WebJob by creating a new project from scratch.
Yet the situation isn't changed so far. Is there still something necessary which I have not come up with?
I ran into the same issue today ( only difference is , i user VS 2015 enterprise update 2). So installed the Azure Tools for VS 2015 again and it got resolved , i can see publish as azure web job option now. Below is the link from where i downloaded the azure tools
https://www.microsoft.com/web/handlers/webpi.ashx/getinstaller/VWDOrVs2015AzurePack.appids

"Microsoft Azure App Service" target not appearing in visual studio 2015 while clicking on Publish

I am trying to run the Xamarin.Android app from Microsoft Azure Guides.
According to the guide I am supposed to right-click on the Service project and Rebuild, after that on clicking Publish I get the Publish Target window but there is no target of Azure App Service. I only get Target of Azure Web Apps
Updating the Azure SDK was the solution for me. The following page has all the downloads, select your visual studio version to the left
https://azure.microsoft.com/en-us/downloads/
VS2015 Direct link: https://go.microsoft.com/fwlink/?LinkId=518003&clcid=0x409
I'm assuming the project to which you refer is the "QuickStart" server-side project that is downloaded and named yoursite-Runtime.zip. When unpacked, you get a folder yoursite_AppService and yoursite.sln in the file.
When you right-click and select Publish, you should see the following picture as the pop-up:
If this is not the case, then there is something at issue with your install of Visual Studio 2015 - perhaps an additional plugin or an older version of Azure SDK? Try updating the Azure SDK as a starting point.

Cannot load shared 'project' in Windows Universal app after upgrading to Azure SDK 2.6

I've just installed the April 2015 release of the Azure SDK. It is version 2.6 and previously I was on 2.5. Now one of my projects will not load. It is the shared project in a Windows Universal application.
When I right-click the project and choose 'reload' I get the pop-up error
The method or operation is not implemented
The output window gives more detail:
Things.Shared.shproj : error : The composition produced a single
composition error. The root cause is provided below. Review the
CompositionException.Errors property for more detailed information.
1) No exports were found that match the constraint:
ContractName Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService
RequiredTypeIdentity Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService
Resulting in: Cannot set import
'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService
(ContractName="Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService")'
on part
'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService'.
Element:
Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.ProjectReferencesService
(ContractName="Microsoft.VisualStudio.ProjectSystem.References.IBuildDependencyProjectReferencesService")
--> Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService
Resulting in: Cannot get export
'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp
(ContractName="Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad")'
from part
'Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService'.
Element:
Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService.WireUp
(ContractName="Microsoft.VisualStudio.ProjectSystem.ConfiguredProject.AutoLoad")
--> Microsoft.VisualStudio.Azure.Deployment.ProjectReferenceMaintenanceService
The other parts to the Windows Universal app (the Windows 8.1 project and the Windows Phone 8.1 project) have two Azure NuGet packages installed: Windows Azure Mobile Services 1.3.2 and Windows Azure Storage 4.3.0. (N.B. Those two projects load without issue.)
This is not a show stopper for me since uninstalling the Azure SDK 2.6 removes the load failure. To uninstall I go via the Control Panel to 'uninstall or change a program' and then uninstall Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.6
I would like to know how to fix this without uninstalling the Azure SDK 4.6.
Over on the Azure Mobile Services forum Chuck Weininger has posted the following answer:
The [fixed] build of Azure SDK 2.6 is now available, but it may not have
propagated to all download servers yet.
You can run the Web Platform Installer and if you don’t have the new
build installed, it should allow you to install 2.6 again. But it
might not if you are accessing a download server that doesn’t have the
new bits yet. If WebPI doesn't allow you to install 2.6 again, then
wait a few hours and try again.
The build number for the version with the fixes is build
2.6.30508.1601. You can identify the build of the SDK from Control Panel -> Programs and Features -> Microsoft Azure Tools for Microsoft
Visual Studio 2013 – v 2.6. The Version column will display the build
number
I have followed Chuck's instructions and have the new build and the shared project now loads without issue.
We have been able to reproduce the issue, but don't have a workaround at this time. If you want to use the Universal App projects with VS 2013, you will have to uninstall Azure SDK for VS 2.6. The issue does not happen on VS 2015 RC if you would like to give that a try. We hope to have news soon about how we can get a fix for this issue on VS 2013.
Chuck Weininger, Dev Lead, Microsoft
https://social.msdn.microsoft.com/Forums/en-US/e8123821-dcb1-477f-a746-f6f016a724ea/cannot-load-shared-project-in-windows-universal-app-after-upgrading-to-azure-sdk-26?forum=azuremobile&prof=required#de621720-3afc-458c-ba85-f691be9e74c1

Visual Studio 2013/2015 Can't Load Azure Project

I just got a new machine, and upon installing VS2013 (and I also tried VS2015 preview), one of our projects would not open.
The application which this project type is based on was not found.
Please try this link for further information:
http://go.microsoft.com/fwlink/?LinkId=441332&projecttype=CC5FD16D-436D-48AD-A40C-5A424C6E3E79
The output windows, gives this link, which is useless, and searching online for the GUID {CC5FD16D-436D-48AD-A40C-5A424C6E3E79} didn't bring anything up.
Any ideas what this could be? I have used Web Platform Installer to install the Latest Azure SDK.
It turns out that our project is based on Azure SDK 2.4, and I had incorrectly installed Azure SDK 2.5
Hopefully the GUID {CC5FD16D-436D-48AD-A40C-5A424C6E3E79} will show up in searches, if others have this same problem.

Cloud service project template not getting listed

I have installed Windows Azure SDK on my machine on top of VS 2010 SP1. "Windows Azure project" template is listed (file->new project) but "Cloud Service Project" template is not getting listed. Do I have to install anything else? Thanks.
I believe "Windows Azure project" is correct, and "Cloud Service Project" is just old terminology. I don't have a project template called that either.
Did you also install the Windows Azure Tools for Visual Studio? I usually choose the tooling option as it also includes the SDK. Pro tip: use the Web Platform Installer and it will also setup any other dependencies you need.
Click the 'Get Started' link from here to use WebPI installer:
http://www.microsoft.com/windowsazure/getstarted/default.aspx
If you're on VS 2012, switch the .NET Framework version at the top to 4.0. I was totally flummoxed by this silly issue and even filed a connect bug!
The UI needs updating to discard the Framework version filter and have the supported frameworks listed in a column. Choosing the Framework to target should be moved down to the bottom where other pre-create config options are set.

Resources