Kyle
Kyle

Reputation: 33739

Visual Studio browser link is grayed out

I'm using visual studio 2013, and web essentials 1.1.

I'm trying to use browser link, but the button for it is greyed out in Visual Studio.

http://i.imgur.com/yfJjO5G.png

Any idea how I can enable it?

Upvotes: 1

Views: 1780

Answers (2)

Jani Hyytiäinen
Jani Hyytiäinen

Reputation: 5407

Check if the solution root has a file named WebEssentials-Settings.json

From that file, you'll see something like this:

{
  "BrowserLink": {
    "CssIgnorePatterns": "bootstrap*; reset.css; normalize.css; jquery*; toastr*; foundation*; animate*; inuit*; elements*; ratchet*; hint*; flat-ui*; 960*; skeleton*",
    "EnableMenu": true,
    "EnablePixelPushing": true,
    "ShowMenu": false
  },
  /* further settings down below */
}

Notice you have 2 settings. EnableMenu and ShowMenu. I had the same issue as you are having and I got ShowMenu: false while EnableMenu: true. I changed both to true, reopened the solution and it worked.

Upvotes: 0

JP Hellemons
JP Hellemons

Reputation: 6057

Do you have this setting in your Web.config file

<appSettings>
    <add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

or debug to false?

<system.web>
    <compilation debug="false" targetFramework="4.5" />
</system.web>

source: http://www.asp.net/visual-studio/overview/2013/using-browser-link

Upvotes: 4

Related Questions