Virtual paths are case insensitive.

--HG--
branch : 1.x
This commit is contained in:
Renaud Paquay
2011-05-26 11:06:20 -07:00
parent 6c732af595
commit 7a4e86e6a5

View File

@@ -184,7 +184,7 @@ namespace Orchard.Environment.Extensions.Loaders {
}
protected IEnumerable<string> GetDependencies(string projectPath) {
var dependencies = new HashSet<string> { projectPath };
var dependencies = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { projectPath };
AddDependencies(projectPath, dependencies);