The following code not working on StructureMap 3:
x.For<Environment>()
.LifecycleIs(StructureMap.Pipeline.Lifecycles.GetLifecycle(InstanceScope.HttpContext))
.Use(c => Environment.GetEnvironment("APP"));
x.SelectConstructor(() => new HelpController());
InstanceScope.HttpContext not working StructureMap 3
SelectConstructor() not working on StructureMap 3