0

BrowserLink doesn't seem to work with .NET Core 2.1.5 at all.

Per similar question about a somewhat earlier version of the .NET Core, I got the Microsoft.VisualStudio.Web.BrowserLink package from nuget and now, under Dependencies/Nuget, it displays this reference twice: once under Microsoft.AspNetCore.All and once on its own.

enter image description here

Oddly enough, the BrowserLink code is injected into the web page, but whenever I save a change to .cshtml file or a css file, no refresh happens.

If I click Refresh on the Browser Link Dashboard, it asks me if I want to stop debugging.

enter image description here enter image description here

Is BrowserLink simply broken for .NET Core or am I missing something simple?

AngryHacker
  • 59,598
  • 102
  • 325
  • 594

1 Answers1

1

Dunno if you still need this but running as debug is different than the browser link. Here is an snippit showing the difference between browse and debug You can either Debug or Browse.

domshyra
  • 933
  • 3
  • 11
  • 28
  • I got it to work using the method you described...but the feature we lost is that the web pages refresh when you press Ctrl-S. Now you have to click that Refresh BrowserLink button (or bind it to something). – AngryHacker Jul 01 '19 at 21:18