Skip to content

Commit

Permalink
Changing icon for command [release]
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Feb 22, 2022
1 parent ecac234 commit 242ca64
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions AddActionsWorkflow/AddActionsWorkflow.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,13 @@
<Version>3.4.1</Version>
</PackageReference>
<PackageReference Include="Community.VisualStudio.VSCT" Version="16.0.29.6" PrivateAssets="all" />
<PackageReference Include="Community.VisualStudio.Toolkit.17" Version="17.0.330" ExcludeAssets="Runtime" />
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.0.5232" />
<PackageReference Include="Community.VisualStudio.Toolkit.17" Version="17.0.394" ExcludeAssets="Runtime">
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.1.4054">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
Expand Down
2 changes: 2 additions & 0 deletions AddActionsWorkflow/Options/General.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
using System.ComponentModel;
using System.Runtime.InteropServices;

namespace AddActionsWorkflow.Options;

internal partial class OptionsProvider
{
[ComVisible(true)]
public class GeneralOptions : BaseOptionPage<General> { }
}

Expand Down
3 changes: 2 additions & 1 deletion AddActionsWorkflow/VSCommandTable.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
<Buttons>
<Button guid="AddActionsWorkflow" id="AddWorkflowCommand" priority="0x0100" type="Button">
<Parent guid="AddActionsWorkflow" id="MyMenuGroup" />
<Icon guid="ImageCatalogGuid" id="CSWorkflow" />
<!-- using the ID for PublishWithGitHubActions because knownimageid is not working -->
<Icon guid="ImageCatalogGuid" id="3881" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Add GitHub Actions Workflow</ButtonText>
Expand Down

0 comments on commit 242ca64

Please sign in to comment.