Publish Lightswitch application freeze visual studio - visual-studio-2013

I want to publish a Lightswitch HTML client application to a Azure web app. The problem is after clicking "Publish" visual studio 2013 freeze.

The problem is that I use multiple azure subscriptions in Visual Studio and the Lightswitch Publish dialog is not able to handle multiple azure subscriptions.
Solution:
Go to Visual Studio -> Server Explorer
Right-click to Azure -> Manage subscriptions
Select only the required azure subscription
Publish

I had the same problem with multiple subscriptions. When the problem could not be fixed by managing subscriptions I ended up closing Visual Studio and deleting the Windows Azure Subscription.XLM file found at C:\Users*xxxx*\Documents\Visual Studio 2013\Settings on my computer. The next time you publish you will need to re-enter your subscription credentials. Hope this helps.

Related

Cannot add an account to VS Azure Subscriptions

I just installed the Azure SDK for Visual Studio 2013 from this link http://go.microsoft.com/fwlink/?LinkID=324322. When I restart Visual Studio, and go to Server Explorer, I see the Azure node. I right click, and go to Manage and Filter Azure Subscriptions. I click 'Add an account...' and nothing happens.
I'm using Visual Studio Ultimate 2013, Update 5
PS. I thought maybe it was the account I had logged into Visual Studio with, so in the top right, I did Sign Out, and now I can't sign back in. I get this:
The component 'Microsoft.VisualStudio.Services.Client.Controls.BrowserWindow' does not have a resource identified by the URI '/Microsoft.VisualStudio.Services.Client;component/controls/browserwindow.xaml'.
I have the same issue but I believe I have found a workaround.
I went to the folder: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Windows Azure Tools\Common\KeychainDlls"
I renamed Microsoft.VisualStudio.Services.Client.dll to something else (e.g. __Microsoft.VisualStudio.Services.Client.dll)
I then restarted VS2013 and I was able to sign in.
Then finally I renamed it back.
I hope this helps

Azure check-in from Visual Studios 2015

So I'm attempting to check in from visual studios to deploy my code to an azure web app, however I cannot for the life of me find the check in option. I'm connected to the Visual Studios Online repo and can view the web app in the server explorer. Googling this has found me nothing so either this is a clearly labeled feature I'm blind to or support for the feature has been dropped from visual studios and everyone simply knows this.
You can use the build-in build step in Visual Studio Online: Azure Web App Deployement.
In your build definition click on Add Build Step
In Deploy Category you will found the step: Azure Web App Deployement
Click Add
In Visual Studio 2015, you must do a power Shell script to deploy it.
You can find more information at this address:
Web Deploy command line
Deploy with PowerShell

Visual studio 2013 freezes while publishing a cloud service

For cloud service deployment , when I hit publish, visual studio goes unresponsive. No error and if you try to click on visual studio it says visual studio is busy.
Fix that worked for me- Go to server explorer, Go to Azure node and right click and connect to a Microsoft Azure subscription. Reenter your credentials and connect and try to publish again.

Can't edit the process template in Process Template Manager

I'm using TFS 2013 and Visual Studio 2012 and I'm trying to edit the process template.
On the following page it says: "You must be a member of the Project Collection Administrators group".
Even though my account is in Project Collection Administrators group I cannot download, edit nor upload process template from Visual Studio, as you can see from image below:
Any clues?
I've figured it out. For TFS 2013 in order to be able to edit and upload process template, you have to have Visual Studio 2013 installed. VS2012 isn't going to help you up with this. Here is the source and citation:
To create a team project or manage process templates on an on-premises TFS, you must connect using the same version level of Visual Studio or Team Explorer. That is, to create a team project on TFS 2013, you must connect from Team Explorer 2013.

Error when trying to deploy SharePoint 2010 solution package - SharePoint 2010 - Visual Studio 2010

After several deployments, I receive the following error when trying to re-deploy a solution:
Error occurred in deployment step
‘Recycle IIS Application Pool’: The
communication object,
System.ServiceModel.InstanceContext,
cannot be used for communication
because it has been Aborted.
The only solution I have found (not ideal) is to restart Visual Studio.
Anyone know a better way?
I have seen this a couple of times as well and the only resolution I found was to restart Visual Studio as well.
How come restarting Visual Studio will fix anything :)
You need to run Visual Studio as Administrator (by right clicking on its icon)
If still persists, restart the server.
If still persists, add the administrator account under which you are running Visual Studio to Sharepoint Central Administration for that sharepoint web portal.

Resources