Skip to content

Commit 6e7b489

Browse files
committed
Moving strings to resources part 1
1 parent e9cf39a commit 6e7b489

File tree

7 files changed

+464
-19
lines changed

7 files changed

+464
-19
lines changed

src/GitHubActionsVS.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
<Compile Include="Properties\AssemblyInfo.cs" />
6161
<Compile Include="Commands\ActionsToolWindowCommand.cs" />
6262
<Compile Include="GitHubActionsVSPackage.cs" />
63+
<Compile Include="Resources\UIStrings.Designer.cs">
64+
<AutoGen>True</AutoGen>
65+
<DesignTime>True</DesignTime>
66+
<DependentUpon>UIStrings.resx</DependentUpon>
67+
</Compile>
6368
<Compile Include="source.vsixinfo.cs" />
6469
<Compile Include="ToolWindows\GHActionsToolWindow.xaml.cs">
6570
<DependentUpon>GHActionsToolWindow.xaml</DependentUpon>
@@ -163,6 +168,12 @@
163168
<Version>1.3.3</Version>
164169
</PackageReference>
165170
</ItemGroup>
171+
<ItemGroup>
172+
<EmbeddedResource Include="Resources\UIStrings.resx">
173+
<Generator>PublicResXFileCodeGenerator</Generator>
174+
<LastGenOutput>UIStrings.Designer.cs</LastGenOutput>
175+
</EmbeddedResource>
176+
</ItemGroup>
166177
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
167178
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
168179
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

src/Resources/UIStrings.Designer.cs

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

0 commit comments

Comments
 (0)