mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Using simple name instead of full name.
--HG-- branch : dev
This commit is contained in:
@@ -119,7 +119,7 @@ namespace Orchard.Packaging.Services {
|
||||
var assemblyName = new AssemblyName(entry.Include.Value);
|
||||
|
||||
// If it is not a core assembly
|
||||
if (_frameworkAssemblies.GetFrameworkAssemblies().FirstOrDefault(assembly => assembly.FullName.Equals(assemblyName.FullName)) == null) {
|
||||
if (_frameworkAssemblies.GetFrameworkAssemblies().FirstOrDefault(assembly => assembly.Name.Equals(assemblyName.Name)) == null) {
|
||||
string virtualPath = _virtualPathProvider.GetReferenceVirtualPath(context.SourcePath, assemblyName.Name, entry.HintPath != null ? entry.HintPath.Value : null);
|
||||
|
||||
if (!string.IsNullOrEmpty(virtualPath)) {
|
||||
|
Reference in New Issue
Block a user