public override VirtualDirectory GetDirectory(string virtualDir) { var rem = new RemappedDir(virtualDir, GetFullPath(virtualDir)); if (rem.Exists) { Trace.TraceInformation("[SubfolderVpp]: remapping DIR {0} to {1}", virtualDir, rem.FullPath.FullName); return(rem); } return(base.GetDirectory(virtualDir)); }
public override VirtualDirectory GetDirectory(string virtualDir) { if (IsVirtualPath(virtualDir, true, false)) { var rem = new RemappedDir(virtualDir, GetRemappedFullPath(virtualDir)); if (rem.Exists) { Trace.TraceInformation("[SubfolderVpp]: remapping DIR {0} to {1}", virtualDir, rem.FullPath.FullName); return rem; } } return base.GetDirectory(virtualDir); }