Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio publish button disabled?

I created a Node.js project in visual studio and I now wanted to publish it to azure, so I followed the following guide: https://github.com/Microsoft/nodejstools/wiki/Publish-to-Azure-Website-using-Web-Deploy#converting-to-an-azure-project-type

But the publish button when I right click on the project or the build menu at the top, the button is disabled. Any ideas?

Publish button disabled

like image 654
Victor Avatar asked Jan 04 '16 17:01

Victor


People also ask

Why is the publish button greyed out?

If the Publish button is greyed out it means you have not made any changes to your form. So the published version is the one you see in the builder.

Why is publish greyed out Visual Studio?

It looks like you were trying to publish your website while still in debug mode. when you're in Debug mode some menu options could be disabled. Verify that you aren't running Visual Studio Debug mode , I mean stop DEBUG, and verify again the publish option-.

How do I stop publishing in Visual Studio?

As a work-around, you can cancel the active publish by clicking on Build-> Cancel build.


1 Answers

It looks like you were trying to publish your website while still in debug mode. when you're in Debug mode some menu options could be disabled.

Verify that you aren't running Visual Studio Debug mode , I mean stop DEBUG, and verify again the publish option-.

enter image description here

like image 161
JuanK Avatar answered Sep 24 '22 07:09

JuanK