/// <summary> /// Gets the <see cref="VirtualFile"/> that's associated with the path. /// </summary> /// <param name="virtualPath">VirtualPath to check</param> /// <returns></returns> public override VirtualFile GetFile(string virtualPath) { if (IsEmbeddedView(virtualPath)) { EmbeddedView embeddedView = embeddedViews.FindEmbeddedView(virtualPath); return(new AssemblyResourceFile(embeddedView, virtualPath)); } return(base.GetFile(virtualPath)); }