Skip to content

Commit 7d28838

Browse files
authored
fix(vsix): link icon and license from root resources (#41)
- Link icon.png from root resources folder to Resources\icon.png - Link LICENSE from root to Resources\LICENSE for consistency - Update vsixmanifest to use linked paths - Remove duplicate LICENSE from project folder
1 parent bbe22bf commit 7d28838

File tree

3 files changed

+7
-31
lines changed

3 files changed

+7
-31
lines changed

src/CodingWithCalvin.GitRanger/CodingWithCalvin.GitRanger.csproj

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,13 @@
8787
</VSCTCompile>
8888
</ItemGroup>
8989
<ItemGroup>
90-
<!-- Icons will be added later - uncomment when available -->
91-
<!-- <Content Include="Resources\Icons\GitRangerIcon.png">
90+
<Content Include="..\..\resources\icon.png">
91+
<Link>Resources\icon.png</Link>
9292
<IncludeInVSIX>true</IncludeInVSIX>
9393
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
9494
</Content>
95-
<Content Include="Resources\Icons\GitRangerPreview.png">
96-
<IncludeInVSIX>true</IncludeInVSIX>
97-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
98-
</Content> -->
99-
<Content Include="LICENSE">
95+
<Content Include="..\..\LICENSE">
96+
<Link>Resources\LICENSE</Link>
10097
<IncludeInVSIX>true</IncludeInVSIX>
10198
</Content>
10299
</ItemGroup>

src/CodingWithCalvin.GitRanger/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/CodingWithCalvin.GitRanger/source.extension.vsixmanifest

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<DisplayName>Git Ranger</DisplayName>
66
<Description xml:space="preserve">A visually exciting Git management extension for Visual Studio. Features include inline blame annotations, blame gutter margins, file history, commit details, and an interactive git graph - all with theme-adaptive vibrant colors.</Description>
77
<MoreInfo>https://github.com/calvinallen/GitRanger</MoreInfo>
8-
<License>LICENSE</License>
8+
<License>Resources\LICENSE</License>
99
<GettingStartedGuide>https://github.com/calvinallen/GitRanger#readme</GettingStartedGuide>
1010
<ReleaseNotes>https://github.com/calvinallen/GitRanger/releases</ReleaseNotes>
11-
<Icon>..\..\resources\icon.png</Icon>
12-
<PreviewImage>..\..\resources\icon.png</PreviewImage>
11+
<Icon>Resources\icon.png</Icon>
12+
<PreviewImage>Resources\icon.png</PreviewImage>
1313
<Tags>git, blame, history, graph, version control, source control, gitlens</Tags>
1414
</Metadata>
1515
<Installation>

0 commit comments

Comments
 (0)