Fresh ASP.NET Core 2.0 MVC Web Application template Browser Link works but has a 404 error

300 Views Asked by At

The Visual Studio Browser Link feature works without errors in a fresh ASP.NET Web Application, but in a fresh ASP.NET Core Web Application it shows a 404 error in the web browser (although the feature does work).

Steps to reproduce:

Is this only happening on my machine? I'm using Visual Studio 2017 15.6.6 and the Microsoft.AspNetCore.All NuGet package is 2.0.7.

1

There are 1 best solutions below

1
Calanus On

This is because a fresh 2.1 .net core solution requires you to install the browserlink nuget package seperately. Its not contained within the new aspnetcore.app metapackage.