diff --git a/src/Microsoft.AspNet.Mvc/MvcServices.cs b/src/Microsoft.AspNet.Mvc/MvcServices.cs index 7476ab6c20..789ebf9bd1 100644 --- a/src/Microsoft.AspNet.Mvc/MvcServices.cs +++ b/src/Microsoft.AspNet.Mvc/MvcServices.cs @@ -37,15 +37,12 @@ namespace Microsoft.AspNet.Mvc #if NET45 // TODO: Container chaining to flow services from the host to this container - if (hostServiceProvider == null) - { - Add(); - } - else - { - // TODO: Make this work like normal when we get container chaining - AddInstance(new RoslynCompilationService(hostServiceProvider)); - } + + Add(); + + // TODO: Make this work like normal when we get container chaining + // TODO: Update this when we have the new host services + // AddInstance(new RoslynCompilationService(hostServiceProvider)); #endif Add(); Add();