Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit fdbd119

Browse files
committed
Fix the generation of the octicons resources file
1 parent b69935d commit fdbd119

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/GitHub.UI/GitHub.UI.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
<Reference Include="WindowsBase" />
6565
</ItemGroup>
6666
<ItemGroup>
67+
<Compile Include="Controls\Octicons\OcticonPaths.Designer.cs">
68+
<AutoGen>True</AutoGen>
69+
<DesignTime>True</DesignTime>
70+
<DependentUpon>OcticonPaths.resx</DependentUpon>
71+
</Compile>
6772
<None Include="..\..\script\Key.snk" Condition="$(Buildtype) == 'Internal'">
6873
<Link>Key.snk</Link>
6974
</None>
@@ -85,7 +90,6 @@
8590
</Compile>
8691
<Compile Include="Controls\Octicons\OcticonImage.cs" />
8792
<Compile Include="Controls\Octicons\OcticonPath.cs" />
88-
<Compile Include="Controls\Octicons\OcticonPaths.Designer.cs" />
8993
<Compile Include="Controls\TrimmedTextBlock.cs" />
9094
<Compile Include="Helpers\AccessKeysManagerScoping.cs" />
9195
<Compile Include="Controls\Buttons\OcticonButton.cs" />
@@ -187,6 +191,8 @@
187191
<ItemGroup>
188192
<EmbeddedResource Include="Controls\Octicons\OcticonPaths.resx">
189193
<SubType>Designer</SubType>
194+
<Generator>ResXFileCodeGenerator</Generator>
195+
<LastGenOutput>OcticonPaths.Designer.cs</LastGenOutput>
190196
</EmbeddedResource>
191197
</ItemGroup>
192198
<ItemGroup>

0 commit comments

Comments
 (0)