Remove compilation options from services.

- This was a temporary work around to allow MVC to build.
- Reacts to aspnet/Mvc#3383
This commit is contained in:
N. Taylor Mullen 2015-10-22 11:01:51 -07:00
parent 4702752384
commit 8e946798a1
1 changed files with 2 additions and 9 deletions

View File

@ -101,13 +101,6 @@ namespace Microsoft.AspNet.Hosting
services.TryAdd(ServiceDescriptor.Instance(PlatformServices.Default.LibraryManager)); services.TryAdd(ServiceDescriptor.Instance(PlatformServices.Default.LibraryManager));
} }
// TODO: Remove this
if (CompilationServices.Default != null)
{
services.TryAdd(ServiceDescriptor.Instance(CompilationServices.Default.LibraryExporter));
services.TryAdd(ServiceDescriptor.Instance(CompilationServices.Default.CompilerOptionsProvider));
}
return services; return services;
} }