Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 Browser Link not working for empty ASP.NET project?

I want to know what the minimum requirements are for Browser Link to work.

I have a fresh install of the Windows 8.1 Preview, with the Visual Studio 2013 Preview and Web Essentials.

I have been able to get Browser Link working with a new ASP.NET SPA project, but when I created a new ASP.NET Empty project, added an index.html page and run with Internet Explorer 11 set as the default it did not work.

The Browser Link tooltip kept saying No Browser is connected. I've also tried with other browsers, including Chrome, with no success.

I read in other places that the web.config file must have the debug set to 'true' which it was.

Any suggestions? Maybe I'm misunderstanding some dependencies or use cases of the new feature.

like image 421
Matt Mazzola Avatar asked Jul 04 '13 10:07

Matt Mazzola


1 Answers

Have you added <modules runAllManagedModulesForAllRequests = "true" /> in web.config? Browser Link doesn't work for HTML pages by default setting.

Please check "Known Browser Link issues for Preview" section in this blog.

By the way, it didn’t work just adding it in web.config. I made an empty aspx page. I started debug for the aspx page first, and then type the url of the html page, so Browser Link works.

Hope this helps.

like image 190
Kazuhiko Avatar answered Sep 30 '22 18:09

Kazuhiko