private Release[] Search(VsIdeServiceClient client, Guid id) { var whereClause = string.Format("(Project.Metadata['SupportedVSEditions'] LIKE '%15.0.26430.16,Pro;%')", id); var orderClause = "Project.Metadata['Ranking'] desc"; var requestContext = new Dictionary <string, string>() { { "LCID", "1033" }, { "SearchSource", "ExtensionManagerQuery" }, { "OSVersion", "10.0.15063.0" } }; var result = client.SearchReleases2("ErikEJ.SQLServerCompactSQLiteToolbox", whereClause, orderClause, 0, 1, requestContext); return(result.Releases); }
private Release[] Search(VsIdeServiceClient client) { var whereClause = "(Project.MetaData['VsixId'] = '41521019-e4c7-480c-8ea8-fc4a2c6f50aa') AND (Project.Metadata['SupportedVSEditions'] LIKE '%15.0.26430.16,Pro;%')"; var orderClause = "Project.Metadata['Ranking'] desc"; var requestContext = new Dictionary <string, string>() { { "LCID", "1033" }, { "SearchSource", "ExtensionManagerQuery" }, { "OSVersion", "10.0.15063.0" } }; var result = client.SearchReleases2("ErikEJ.SQLServerCompactSQLiteToolbox", whereClause, orderClause, 0, 1, requestContext); return(result.Releases); }