private static Asset ReadAsset(XmlReader reader)
{
string urlName = reader.GetAttribute("name");
bool force = Boolean.Parse(reader.GetAttribute("force") ?? "false");
string group = reader.GetAttribute("group");
string assembly = reader.GetAttribute("assembly");
string type = reader.GetAttribute("type");
string resourceName = reader.GetAttribute("resourceName");
string path = reader.GetAttribute("path");
string scriptUrl = ResolveAssetUrl(resourceName, assembly, type, path);
return new Asset(urlName, scriptUrl, group, force);
}