Skip to content

Commit

Permalink
Add Localizability Support (#109)
Browse files Browse the repository at this point in the history
Strings now use resource files instead of hardcoded strings.
  • Loading branch information
gfs authored Apr 12, 2019
1 parent 06851e2 commit 20d6df6
Show file tree
Hide file tree
Showing 64 changed files with 2,719 additions and 26,263 deletions.
23 changes: 19 additions & 4 deletions Cli/AttackSurfaceAnalyzerCli.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
Expand All @@ -13,6 +13,9 @@
<Authors>Microsoft Corporation</Authors>
<Company>Microsoft Corporation</Company>
<Product>Attack Surface Analyzer</Product>
<RootNamespace>AttackSurfaceAnalyzer</RootNamespace>
<ApplicationIcon />
<Win32Resource />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.4.3" />
Expand Down Expand Up @@ -40,16 +43,28 @@
</Content>
<Content Include="..\filters.json">
<Link>filters.json</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Remove="Properties\launchSettings.json" />
<None Remove="asa.sqlite" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Update="nlog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
100 changes: 50 additions & 50 deletions Cli/Program.cs

Large diffs are not rendered by default.

Loading

0 comments on commit 20d6df6

Please sign in to comment.