Skip to content

Commit

Permalink
Use .NET 8 for OneLocBuildSetup
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnoakes committed Jan 22, 2025
1 parent 47a2e29 commit 3e3a9c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions eng/pipelines/templates/generate-localization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
displayName: === Generate Localization ===
condition: false

# Ensure the .NET runtime needed by OneLocBuildSetup is installed.
- task: UseDotNet@2
displayName: Install .NET Runtime
inputs:
packageType: runtime
# This should match the target in OneLocBuildSetup.csproj.
version: 8.0.x

# Creates the LocProject.json and perform some necessary file copying and renaming.
- task: DotNetCoreCLI@2
displayName: Run Setup
Expand Down
3 changes: 2 additions & 1 deletion eng/tools/OneLocBuildSetup/OneLocBuildSetup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<!-- This value must match that in generate-localization.yml, for the UseDotNet task. -->
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 3e3a9c8

Please sign in to comment.