summaryrefslogtreecommitdiff
path: root/Analizator9000/Analizator9000/Analizator9000.csproj
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-10-28 09:55:19 +0000
committeremkael <emkael@tlen.pl>2015-10-28 09:55:19 +0000
commitb3483ed41a1a733766f6d105e4e8631718590b49 (patch)
treea070e9e58cef8e37160443b44912bfafa3cb35d2 /Analizator9000/Analizator9000/Analizator9000.csproj
parent79899b6e67d19d60fa884ae889857b2eef1ad803 (diff)
* English localization data
git-svn-id: https://svn.emkael.info/an9k@60 05ec0d5d-773b-4d93-9e23-c81a7ac79feb
Diffstat (limited to 'Analizator9000/Analizator9000/Analizator9000.csproj')
-rw-r--r--Analizator9000/Analizator9000/Analizator9000.csproj27
1 files changed, 26 insertions, 1 deletions
diff --git a/Analizator9000/Analizator9000/Analizator9000.csproj b/Analizator9000/Analizator9000/Analizator9000.csproj
index ee54d25..30f6329 100644
--- a/Analizator9000/Analizator9000/Analizator9000.csproj
+++ b/Analizator9000/Analizator9000/Analizator9000.csproj
@@ -54,10 +54,14 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\Release\Analizator9000.XML</DocumentationFile>
+ <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Icon1.ico</ApplicationIcon>
</PropertyGroup>
+ <PropertyGroup>
+ <RunPostBuildEvent>Always</RunPostBuildEvent>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -89,6 +93,12 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ScoreAccumulator.cs" />
<Compile Include="Utils.cs" />
+ <EmbeddedResource Include="Form1.en.resx">
+ <DependentUpon>Form1.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Form1.pl.resx">
+ <DependentUpon>Form1.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
@@ -102,7 +112,13 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
- <None Include="app.config" />
+ <None Include="an9k.config">
+ <SubType>Designer</SubType>
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ <None Include="app.config">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -138,7 +154,16 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
+ <ItemGroup>
+ <Folder Include="lang\" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <PropertyGroup>
+ <PostBuildEvent>robocopy $(TargetDir) $(TargetDir)\lang "$(TargetName).resources.dll" /CREATE /S /XD lang /IS /IT
+robocopy $(TargetDir) $(TargetDir)\lang "$(TargetName).resources.dll" /MOVE /S /XD lang /XL /IS /IT
+set rce=%25errorlevel%25
+if %25rce%25 GEQ 8 exit %25rce%25 else exit 0</PostBuildEvent>
+ </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">