|
@@ -0,0 +1,109 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
+ <PropertyGroup>
|
|
|
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
+ <ProjectGuid>{4F283A71-48AF-48C0-9808-B9931E6B0426}</ProjectGuid>
|
|
|
+ <OutputType>Library</OutputType>
|
|
|
+ <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
+ <RootNamespace>KdanStrings_WPF</RootNamespace>
|
|
|
+ <AssemblyName>KdanStrings_WPF</AssemblyName>
|
|
|
+ <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
|
+ <FileAlignment>512</FileAlignment>
|
|
|
+ <Deterministic>true</Deterministic>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
+ <DebugSymbols>true</DebugSymbols>
|
|
|
+ <DebugType>full</DebugType>
|
|
|
+ <Optimize>false</Optimize>
|
|
|
+ <OutputPath>bin\Debug\</OutputPath>
|
|
|
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
+ <WarningLevel>4</WarningLevel>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
+ <DebugType>pdbonly</DebugType>
|
|
|
+ <Optimize>true</Optimize>
|
|
|
+ <OutputPath>bin\Release\</OutputPath>
|
|
|
+ <DefineConstants>TRACE</DefineConstants>
|
|
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
+ <WarningLevel>4</WarningLevel>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup>
|
|
|
+ <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
|
+ </PropertyGroup>
|
|
|
+ <PropertyGroup Label="MultilingualAppToolkit">
|
|
|
+ <MultilingualAppToolkitVersion>4.0</MultilingualAppToolkitVersion>
|
|
|
+ <MultilingualFallbackLanguage>en-US</MultilingualFallbackLanguage>
|
|
|
+ <TranslationReport Condition="'$(Configuration)' == 'Release'">true</TranslationReport>
|
|
|
+ <SuppressPseudoWarning Condition="'$(Configuration)' == 'Debug'">true</SuppressPseudoWarning>
|
|
|
+ </PropertyGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="System" />
|
|
|
+ <Reference Include="System.Core" />
|
|
|
+ <Reference Include="System.Xml.Linq" />
|
|
|
+ <Reference Include="System.Data.DataSetExtensions" />
|
|
|
+ <Reference Include="Microsoft.CSharp" />
|
|
|
+ <Reference Include="System.Data" />
|
|
|
+ <Reference Include="System.Net.Http" />
|
|
|
+ <Reference Include="System.Xml" />
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
+ <Compile Include="Strings\Resources.Designer.cs">
|
|
|
+ <AutoGen>True</AutoGen>
|
|
|
+ <DesignTime>True</DesignTime>
|
|
|
+ <DependentUpon>Resources.resx</DependentUpon>
|
|
|
+ </Compile>
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <EmbeddedResource Include="Strings\Resources.de-DE.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.en-US.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.es-ES.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.fr-FR.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.it-IT.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.ja.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.ko-KR.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.pt.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.resx">
|
|
|
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
+ <Generator>PublicResXFileCodeGenerator</Generator>
|
|
|
+ </EmbeddedResource>
|
|
|
+ <EmbeddedResource Include="Strings\Resources.ru-RU.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.zh-CN.resx" />
|
|
|
+ <EmbeddedResource Include="Strings\Resources.zh-TW.resx" />
|
|
|
+ </ItemGroup>
|
|
|
+ <ItemGroup />
|
|
|
+ <ItemGroup>
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.de-DE.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.es-ES.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.fr-FR.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.it-IT.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.ja.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.ko-KR.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.pt.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.ru-RU.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.zh-CN.xlf" />
|
|
|
+ <XliffResource Include="MultilingualResources\KdanStrings_WPF.zh-TW.xlf" />
|
|
|
+ </ItemGroup>
|
|
|
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets" Label="MultilingualAppToolkit" Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\v$(MultilingualAppToolkitVersion)\Microsoft.Multilingual.ResxResources.targets')" />
|
|
|
+ <Target Name="MATPrerequisite" BeforeTargets="PrepareForBuild" Condition="!Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets')" Label="MultilingualAppToolkit">
|
|
|
+ <Warning Text="$(MSBuildProjectFile) is Multilingual build enabled, but the Multilingual App Toolkit is unavailable during the build. If building with Visual Studio, please check to ensure that toolkit is properly installed." />
|
|
|
+ </Target>
|
|
|
+ <PropertyGroup>
|
|
|
+ <PreBuildEvent>copy "$(projectdir)..\KdanStrings\Strings\en-US\Resources.resw" "$(projectdir)Strings\Resources.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\de-DE\Resources.resw" "$(projectdir)Strings\Resources.de-DE.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\en-US\Resources.resw" "$(projectdir)Strings\Resources.en-US.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\es-ES\Resources.resw" "$(projectdir)Strings\Resources.es-ES.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\fr-FR\Resources.resw" "$(projectdir)Strings\Resources.fr-FR.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\it-IT\Resources.resw" "$(projectdir)Strings\Resources.it-IT.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\ja\Resources.resw" "$(projectdir)Strings\Resources.ja.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\ko-KR\Resources.resw" "$(projectdir)Strings\Resources.ko-KR.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\pt\Resources.resw" "$(projectdir)Strings\Resources.pt.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\ru-RU\Resources.resw" "$(projectdir)Strings\Resources.ru-RU.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\zh-CN\Resources.resw" "$(projectdir)Strings\Resources.zh-CN.resx" /Y
|
|
|
+copy "$(projectdir)..\KdanStrings\Strings\zh-TW\Resources.resw" "$(projectdir)Strings\Resources.zh-TW.resx" /Y</PreBuildEvent>
|
|
|
+ </PropertyGroup>
|
|
|
+</Project>
|