Skip to content

Commit

Permalink
Improve autoload rules?
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Oct 25, 2023
1 parent 163531b commit 8814d85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/GUI/EFCorePowerTools/EFCorePowerToolsPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ namespace EFCorePowerTools
[ProvideUIContextRule(
UIContextGuid,
name: "Auto load based on rules",
expression: "(SingleProject | MultipleProjects) & CSharpConfig",
termNames: new[] { "SingleProject", "MultipleProjects", "CSharpConfig" },
termValues: new[] { VSConstants.UICONTEXT.SolutionHasSingleProject_string, VSConstants.UICONTEXT.SolutionHasMultipleProjects_string, "ActiveProjectCapability:CSharp & CPS & !MSBuild.Sdk.SqlProj.BuildTSqlScript" })]
expression: "CSharpConfig & (SingleProject | MultipleProjects) ",
termNames: new[] { "CSharpConfig", "SingleProject", "MultipleProjects" },
termValues: new[] { "ActiveProjectCapability:CSharp & CPS & !MSBuild.Sdk.SqlProj.BuildTSqlScript", VSConstants.UICONTEXT.SolutionHasSingleProject_string, VSConstants.UICONTEXT.SolutionHasMultipleProjects_string })]
[ProvideMenuResource("Menus.ctmenu", 1)]
public sealed class EFCorePowerToolsPackage : AsyncPackage
{
Expand Down
1 change: 0 additions & 1 deletion src/GUI/WizardItemTemplate/WizardItemTemplate.vstemplate
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<Icon>WizardItemTemplate.ico</Icon>
<TemplateID>46304267-cec1-41fc-b025-6f81d12695ac</TemplateID>
<AppliesTo>CSharp + CPS</AppliesTo>
<ProjectType>CSharp</ProjectType>
<SortOrder>90</SortOrder>
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
<LanguageTag>csharp</LanguageTag>
Expand Down

0 comments on commit 8814d85

Please sign in to comment.