-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't workingfix-verification-neededIssue is now fixed in latest release, needs OP to confirm it's fixed for them at their end.Issue is now fixed in latest release, needs OP to confirm it's fixed for them at their end.
Description
I tried the AddMvcDependencyResolver as demonstrated in the GETTING_STARTED.md but it does not appear to work as expected.
I added the Mvc Package (have been using the base fine in this web forms project for a couple of weeks now).
public static class ApplicationStart
{
private static ApplicationDependencyInjection resolver;
public static void PreStart()
{
resolver = new ApplicationDependencyInjectionBuilder()
.ConfigureServices(ConfigureServices)
.AddMvcDependencyResolver()
.Build();
Debug.WriteLine("CurrentResolver: " +
System.Web.Mvc.DependencyResolver.Current.GetType().FullName); // <-- this outputs the type for the default mvc resolver.
}
private static void ConfigureServices(IServiceCollection services) { /* unrelated */ }
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfix-verification-neededIssue is now fixed in latest release, needs OP to confirm it's fixed for them at their end.Issue is now fixed in latest release, needs OP to confirm it's fixed for them at their end.