mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Ignore themes with /bin folder in RawThemeExtensionLoader, as PreCompiledExtensionLoader does the job
--HG-- branch : dev
This commit is contained in:
@@ -31,6 +31,14 @@ namespace Orchard.Environment.Extensions.Loaders {
|
||||
return null;
|
||||
}
|
||||
|
||||
var assemblyPath = _virtualPathProvider.Combine(descriptor.Location, descriptor.Name, "bin",
|
||||
descriptor.Name + ".dll");
|
||||
|
||||
// ignore themes with /bin in this loader
|
||||
if ( !_virtualPathProvider.FileExists(assemblyPath) )
|
||||
return null;
|
||||
|
||||
|
||||
return new ExtensionProbeEntry {
|
||||
Descriptor = descriptor,
|
||||
LastWriteTimeUtc = DateTime.MinValue,
|
||||
|
Reference in New Issue
Block a user