Skip to content

Commit

Permalink
Merge pull request #9631 from harleend/dev/hadhaliw/QueryPoviderAppli…
Browse files Browse the repository at this point in the history
…esTo

Adding AppliesTo attribute to query providers
  • Loading branch information
drewnoakes authored Jan 16, 2025
2 parents b36964b + 3ea13d2 commit 5ec0c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.VS.Query;
[QueryActionProvider(ProjectModelActionNames.SetLaunchProfilePropertyValue, typeof(SetLaunchProfilePropertyValue))]
[QueryDataProviderZone(ProjectModelZones.Cps)]
[Export(typeof(IQueryActionProvider))]
[AppliesTo(ProjectCapability.DotNet)]
internal sealed class LaunchProfileActionProvider : IQueryActionProvider
{
public IQueryActionExecutor CreateQueryActionDataTransformer(ExecutableStep executableStep)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.VS.Query;
[QueryActionProvider(ProjectModelActionNames.DuplicateLaunchProfile, typeof(DuplicateLaunchProfile))]
[QueryDataProviderZone(ProjectModelZones.Cps)]
[Export(typeof(IQueryActionProvider))]
[AppliesTo(ProjectCapability.DotNet)]
internal sealed class ProjectActionProvider : IQueryActionProvider
{
public IQueryActionExecutor CreateQueryActionDataTransformer(ExecutableStep executableStep)
Expand Down

0 comments on commit 5ec0c0e

Please sign in to comment.