BrowserLink does not work for ASP.NET Core on Visual Studio 2017 RTM

若如初见. 提交于 2019-12-03 08:29:53
egmfrs

I landed on this thread first when searching for a fix for browser link in .NET Core with VS2017.

All I was missing was

app.UseBrowserLink();

in the Startup.cs Configure method.

See Browser Link with ASP.NET Core v1.0 in Visual Studio 2015 Update 3

(This is probably better suited as a comment but I don't have enough rep.)

I fixed this issue by removing the default browserlink package

Microsoft.VisualStudio.Web.BrowserLink

and installing

Microsoft.VisualStudio.Web.BrowserLink.Loader

This package was mentioned in this guide from Microsoft docs. Not sure what the difference is but it seems to of solved my issues.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!