Skip to content

Commit 0f713ab

Browse files
Martin521vzarytovskiiT-Gro
authored
Enable xlf for dotnet build by adding reference to XliffTasks package (#16327)
* Reference XliffTasks to enable xlf update * newer XliffTasks version * add condition on BUILDING_USING_DOTNET * Moved version number to Versions.props * revert to earlier version --------- Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com> Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
1 parent 0224665 commit 0f713ab

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎Directory.Build.targets‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@
1313
<PackageReference Include="xunit.runner.visualstudio" Version="$(XUnitRunnerVersion)" />
1414
<PackageReference Include="NunitXml.TestLogger" Version="$(NunitXmlTestLoggerVersion)" />
1515
</ItemGroup>
16+
<ItemGroup>
17+
<PackageReference Condition="'$(BUILDING_USING_DOTNET)' == 'true'" Include="Microsoft.DotNet.XliffTasks" Version="$(MicrosoftDotNetXliffTasksVersion)" PrivateAssets="all" />
18+
</ItemGroup>
1619
</Project>

‎eng/Versions.props‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@
205205
<XUnitRunnerVersion>2.4.2</XUnitRunnerVersion>
206206
<FluentAssertionsVersion>5.10.3</FluentAssertionsVersion>
207207
<HumanizerCoreVersion>2.2.0</HumanizerCoreVersion>
208+
<MicrosoftDotNetXliffTasksVersion>1.0.0-beta.23426.1</MicrosoftDotNetXliffTasksVersion>
208209
<!-- MIBC profile packages -->
209210
<optimizationwindows_ntx64MIBCRuntimeVersion>1.0.0-prerelease.23515.2</optimizationwindows_ntx64MIBCRuntimeVersion>
210211
<optimizationwindows_ntx86MIBCRuntimeVersion>1.0.0-prerelease.23515.2</optimizationwindows_ntx86MIBCRuntimeVersion>

0 commit comments

Comments
 (0)