I created a console app using a pre dotnet core project template. Added MVC core deps and run it.
There is a NRE inside DefaultRouteMap ctor - DependencyContext.Default is null.
There is a hack for initializing the DependencyContext.Default (if you supply a App.deps.json (copied from .net core application))
I created a console app using a pre dotnet core project template. Added MVC core deps and run it. There is a NRE inside DefaultRouteMap ctor - DependencyContext.Default is null.
There is a hack for initializing the DependencyContext.Default (if you supply a App.deps.json (copied from .net core application))