@@ -30,61 +30,32 @@ Find further information on project systems [in our Visual Studio Project System
3030
3131This overview covers top scenarios for working with the project query API:
3232
33-
34- - [ Query the project API (VisualStudio.Extensibility)] ( #query-the-project-api-visualstudioextensibility )
35- - [ Work with the project query API] ( #work-with-the-project-query-api )
36- - [ Access the project query space] ( #access-the-project-query-space )
37- - [ Using VisualStudio.Extensibility] ( #using-visualstudioextensibility )
38- - [ Using a service broker] ( #using-a-service-broker )
39- - [ Query the project system for a project] ( #query-the-project-system-for-a-project )
40- - [ Specify the project parameters to be included in the query result] ( #specify-the-project-parameters-to-be-included-in-the-query-result )
41- - [ ` With ` clauses for each parameter] ( #with-clauses-for-each-parameter )
42- - [ Single ` With ` clause to specify multiple parameters] ( #single-with-clause-to-specify-multiple-parameters )
43- - [ Example using a ` WithRequired ` clause] ( #example-using-a-withrequired-clause )
44- - [ Filter the query result] ( #filter-the-query-result )
45- - [ ` Where ` statements] ( #where-statements )
46- - [ Query methods with built-in filtering] ( #query-methods-with-built-in-filtering )
47- - [ ` RuleResultsByRuleName ` statement] ( #ruleresultsbyrulename-statement )
48- - [ ` ProjectsByCapabilities ` statement] ( #projectsbycapabilities-statement )
49- - [ Use nested queries to specify desired properties] ( #use-nested-queries-to-specify-desired-properties )
50- - [ Example] ( #example )
51- - [ Retrieve a child collection using the Get method] ( #retrieve-a-child-collection-using-the-get-method )
52- - [ Query additional information from a previously returned item] ( #query-additional-information-from-a-previously-returned-item )
53- - [ Modify a project] ( #modify-a-project )
54- - [ Example of adding a file to a project in a query result] ( #example-of-adding-a-file-to-a-project-in-a-query-result )
55- - [ Example renaming a project] ( #example-renaming-a-project )
56- - [ Query for project properties] ( #query-for-project-properties )
57- - [ Query for solutions] ( #query-for-solutions )
58- - [ Query for solution folders] ( #query-for-solution-folders )
59- - [ Enumerating source files with additional information in a project] ( #enumerating-source-files-with-additional-information-in-a-project )
60- - [ Query for projects that own a specific source file] ( #query-for-projects-that-own-a-specific-source-file )
61- - [ Example of finding projects that own a given file] ( #example-of-finding-projects-that-own-a-given-file )
62- - [ Example of finding solution folders that contain a given file] ( #example-of-finding-solution-folders-that-contain-a-given-file )
63- - [ Query for project configurations and their properties] ( #query-for-project-configurations-and-their-properties )
64- - [ Query for project-to-project references] ( #query-for-project-to-project-references )
65- - [ Example of finding all projects referenced by the current project] ( #example-of-finding-all-projects-referenced-by-the-current-project )
66- - [ Example of finding all projects referencing the current project] ( #example-of-finding-all-projects-referencing-the-current-project )
67- - [ Query for package references] ( #query-for-package-references )
68- - [ Example of finding all packages referenced by the current project] ( #example-of-finding-all-packages-referenced-by-the-current-project )
69- - [ Example of finding all projects referencing a specific NuGet package] ( #example-of-finding-all-projects-referencing-a-specific-nuget-package )
70- - [ Query for project output groups] ( #query-for-project-output-groups )
71- - [ Query for startup projects] ( #query-for-startup-projects )
72- - [ Action to set the startup project] ( #action-to-set-the-startup-project )
73- - [ Query for solution configurations] ( #query-for-solution-configurations )
74- - [ Example of adding a solution configuration] ( #example-of-adding-a-solution-configuration )
75- - [ Example of deleting a solution configuration] ( #example-of-deleting-a-solution-configuration )
76- - [ Action query to load/unload a project] ( #action-query-to-loadunload-a-project )
77- - [ Action query to build solutions/projects] ( #action-query-to-build-solutionsprojects )
78- - [ Building the solution level] ( #building-the-solution-level )
79- - [ Building on the project level] ( #building-on-the-project-level )
80- - [ Action query to save solutions/projects] ( #action-query-to-save-solutionsprojects )
81- - [ Saving on the solution level] ( #saving-on-the-solution-level )
82- - [ Saving on the project level] ( #saving-on-the-project-level )
83- - [ Query to subscribe to query changes] ( #query-to-subscribe-to-query-changes )
84- - [ Query to track query changes] ( #query-to-track-query-changes )
85- - [ Events to monitor solution open and close] ( #events-to-monitor-solution-open-and-close )
86- - [ Action query to skip] ( #action-query-to-skip )
87- - [ Next steps] ( #next-steps )
33+ - [ Access the project query space] ( #access-the-project-query-space )
34+ - [ Query the project system for a project] ( #query-the-project-system-for-a-project )
35+ - [ Specify the project parameters to be included in the query result] ( #specify-the-project-parameters-to-be-included-in-the-query-result )
36+ - [ Filter the query result] ( #filter-the-query-result )
37+ - [ Use nested queries to specify desired properties] ( #use-nested-queries-to-specify-desired-properties )
38+ - [ Retrieve a child collection using the Get method] ( #retrieve-a-child-collection-using-the-get-method )
39+ - [ Query additional information from a previously returned item] ( #query-additional-information-from-a-previously-returned-item )
40+ - [ Modify a project] ( #modify-a-project )
41+ - [ Query for project properties] ( #query-for-project-properties )
42+ - [ Query for solutions] ( #query-for-solutions )
43+ - [ Query for solution folders] ( #query-for-solution-folders )
44+ - [ Enumerating source files with additional information in a project] ( #enumerating-source-files-with-additional-information-in-a-project )
45+ - [ Query for projects that own a specific source file] ( #query-for-projects-that-own-a-specific-source-file )
46+ - [ Query for project configurations and their properties] ( #query-for-project-configurations-and-their-properties )
47+ - [ Query for project-to-project references] ( #query-for-project-to-project-references )
48+ - [ Query for package references] ( #query-for-package-references )
49+ - [ Query for project output groups] ( #query-for-project-output-groups )
50+ - [ Query for Startup Projects] ( #query-for-startup-projects )
51+ - [ Query for Solution Configurations] ( #query-for-solution-configurations )
52+ - [ Action Query to Load/Unload a Project] ( #action-query-to-loadunload-a-project )
53+ - [ Action Query to Build Solutions/Projects] ( #action-query-to-build-solutionsprojects )
54+ - [ Action Query to Save a Solution/Project] ( #action-query-to-save-solutionsprojects )
55+ - [ Query to Subscribe to Query Changes] ( #query-to-subscribe-to-query-changes )
56+ - [ Query to Track Query Changes] ( #query-to-track-query-changes )
57+ - [ Events to monitor solution open and close] ( #events-to-monitor-solution-open-and-close )
58+ - [ Action Query to Skip] ( #action-query-to-skip )
8859
8960## Access the project query space
9061
0 commit comments