KdanStrings_WPF.csproj 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{4F283A71-48AF-48C0-9808-B9931E6B0426}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>KdanStrings_WPF</RootNamespace>
  11. <AssemblyName>KdanStrings_WPF</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <DebugSymbols>true</DebugSymbols>
  18. <DebugType>full</DebugType>
  19. <Optimize>false</Optimize>
  20. <OutputPath>bin\Debug\</OutputPath>
  21. <DefineConstants>DEBUG;TRACE</DefineConstants>
  22. <ErrorReport>prompt</ErrorReport>
  23. <WarningLevel>4</WarningLevel>
  24. </PropertyGroup>
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26. <DebugType>pdbonly</DebugType>
  27. <Optimize>true</Optimize>
  28. <OutputPath>bin\Release\</OutputPath>
  29. <DefineConstants>TRACE</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. </PropertyGroup>
  33. <PropertyGroup>
  34. <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
  35. </PropertyGroup>
  36. <PropertyGroup Label="MultilingualAppToolkit">
  37. <MultilingualAppToolkitVersion>4.0</MultilingualAppToolkitVersion>
  38. <MultilingualFallbackLanguage>en-US</MultilingualFallbackLanguage>
  39. <TranslationReport Condition="'$(Configuration)' == 'Release'">true</TranslationReport>
  40. <SuppressPseudoWarning Condition="'$(Configuration)' == 'Debug'">true</SuppressPseudoWarning>
  41. </PropertyGroup>
  42. <ItemGroup>
  43. <Reference Include="System" />
  44. <Reference Include="System.Core" />
  45. <Reference Include="System.Xml.Linq" />
  46. <Reference Include="System.Data.DataSetExtensions" />
  47. <Reference Include="Microsoft.CSharp" />
  48. <Reference Include="System.Data" />
  49. <Reference Include="System.Net.Http" />
  50. <Reference Include="System.Xml" />
  51. </ItemGroup>
  52. <ItemGroup>
  53. <Compile Include="Properties\AssemblyInfo.cs" />
  54. <Compile Include="Strings\Resources.Designer.cs">
  55. <AutoGen>True</AutoGen>
  56. <DesignTime>True</DesignTime>
  57. <DependentUpon>Resources.resx</DependentUpon>
  58. </Compile>
  59. </ItemGroup>
  60. <ItemGroup>
  61. <EmbeddedResource Include="Strings\Resources.de-DE.resx" />
  62. <EmbeddedResource Include="Strings\Resources.en-US.resx" />
  63. <EmbeddedResource Include="Strings\Resources.es-ES.resx" />
  64. <EmbeddedResource Include="Strings\Resources.fr-FR.resx" />
  65. <EmbeddedResource Include="Strings\Resources.it-IT.resx" />
  66. <EmbeddedResource Include="Strings\Resources.ja.resx" />
  67. <EmbeddedResource Include="Strings\Resources.ko-KR.resx" />
  68. <EmbeddedResource Include="Strings\Resources.pt.resx" />
  69. <EmbeddedResource Include="Strings\Resources.resx">
  70. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  71. <Generator>PublicResXFileCodeGenerator</Generator>
  72. </EmbeddedResource>
  73. <EmbeddedResource Include="Strings\Resources.ru-RU.resx" />
  74. <EmbeddedResource Include="Strings\Resources.zh-CN.resx" />
  75. <EmbeddedResource Include="Strings\Resources.zh-TW.resx" />
  76. </ItemGroup>
  77. <ItemGroup />
  78. <ItemGroup>
  79. <XliffResource Include="MultilingualResources\KdanStrings_WPF.de-DE.xlf" />
  80. <XliffResource Include="MultilingualResources\KdanStrings_WPF.es-ES.xlf" />
  81. <XliffResource Include="MultilingualResources\KdanStrings_WPF.fr-FR.xlf" />
  82. <XliffResource Include="MultilingualResources\KdanStrings_WPF.it-IT.xlf" />
  83. <XliffResource Include="MultilingualResources\KdanStrings_WPF.ja.xlf" />
  84. <XliffResource Include="MultilingualResources\KdanStrings_WPF.ko-KR.xlf" />
  85. <XliffResource Include="MultilingualResources\KdanStrings_WPF.pt.xlf" />
  86. <XliffResource Include="MultilingualResources\KdanStrings_WPF.ru-RU.xlf" />
  87. <XliffResource Include="MultilingualResources\KdanStrings_WPF.zh-CN.xlf" />
  88. <XliffResource Include="MultilingualResources\KdanStrings_WPF.zh-TW.xlf" />
  89. </ItemGroup>
  90. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  91. <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')" />
  92. <Target Name="MATPrerequisite" BeforeTargets="PrepareForBuild" Condition="!Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets')" Label="MultilingualAppToolkit">
  93. <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." />
  94. </Target>
  95. <PropertyGroup>
  96. <PreBuildEvent>copy "$(projectdir)..\KdanStrings\Strings\en-US\Resources.resw" "$(projectdir)Strings\Resources.resx" /Y
  97. copy "$(projectdir)..\KdanStrings\Strings\de-DE\Resources.resw" "$(projectdir)Strings\Resources.de-DE.resx" /Y
  98. copy "$(projectdir)..\KdanStrings\Strings\en-US\Resources.resw" "$(projectdir)Strings\Resources.en-US.resx" /Y
  99. copy "$(projectdir)..\KdanStrings\Strings\es-ES\Resources.resw" "$(projectdir)Strings\Resources.es-ES.resx" /Y
  100. copy "$(projectdir)..\KdanStrings\Strings\fr-FR\Resources.resw" "$(projectdir)Strings\Resources.fr-FR.resx" /Y
  101. copy "$(projectdir)..\KdanStrings\Strings\it-IT\Resources.resw" "$(projectdir)Strings\Resources.it-IT.resx" /Y
  102. copy "$(projectdir)..\KdanStrings\Strings\ja\Resources.resw" "$(projectdir)Strings\Resources.ja.resx" /Y
  103. copy "$(projectdir)..\KdanStrings\Strings\ko-KR\Resources.resw" "$(projectdir)Strings\Resources.ko-KR.resx" /Y
  104. copy "$(projectdir)..\KdanStrings\Strings\pt\Resources.resw" "$(projectdir)Strings\Resources.pt.resx" /Y
  105. copy "$(projectdir)..\KdanStrings\Strings\ru-RU\Resources.resw" "$(projectdir)Strings\Resources.ru-RU.resx" /Y
  106. copy "$(projectdir)..\KdanStrings\Strings\zh-CN\Resources.resw" "$(projectdir)Strings\Resources.zh-CN.resx" /Y
  107. copy "$(projectdir)..\KdanStrings\Strings\zh-TW\Resources.resw" "$(projectdir)Strings\Resources.zh-TW.resx" /Y</PreBuildEvent>
  108. </PropertyGroup>
  109. </Project>