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

Commit deaad94

Browse files
committed
Explicitly include resx file in GitHub.App.
Had to also remove the `<RootNamespace>` as it was causing the resources to get generated in the wrong place.
1 parent 3eeb718 commit deaad94

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

src/GitHub.App/GitHub.App.csproj

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net461</TargetFramework>
4-
<RootNamespace>GitHub</RootNamespace>
54
</PropertyGroup>
65

76
<Import Project="$(SolutionDir)\src\common\signing.props" />
@@ -16,6 +15,21 @@
1615
<Reference Include="WindowsBase" />
1716
</ItemGroup>
1817

18+
<ItemGroup>
19+
<Resource Include="Images\*.png" />
20+
21+
<Compile Update="Resources.Designer.cs">
22+
<DependentUpon>Resources.resx</DependentUpon>
23+
<DesignTime>True</DesignTime>
24+
<AutoGen>True</AutoGen>
25+
</Compile>
26+
27+
<EmbeddedResource Update="Resources.resx">
28+
<Generator>PublicResXFileCodeGenerator</Generator>
29+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
30+
</EmbeddedResource>
31+
</ItemGroup>
32+
1933
<ItemGroup>
2034
<ProjectReference Include="..\..\submodules\akavache\Akavache.Sqlite3\Akavache.Sqlite3.csproj" />
2135
<ProjectReference Include="..\..\submodules\akavache\Akavache\Akavache_Net45.csproj" />

src/GitHub.App/Resources.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)