private string GetQualifiedResourcePath(string resourceName) { var resources = MigrationAssembly.GetManifestResourceNames(); var fullManifestPath = resources.Where(x => x.ToLowerInvariant().EndsWith(SqlScript.ToLowerInvariant())); return(fullManifestPath.FirstOrDefault()); }