Skip to content

Commit

Permalink
Merge pull request #5873 from bdukes/upgrade-cake
Browse files Browse the repository at this point in the history
Use .NET 8.x and Cake 4.0.0 for build
  • Loading branch information
mitchelsellers authored Nov 21, 2023
2 parents 3ed1a33 + a5153b2 commit 805fb5e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Build/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackAsTool>true</PackAsTool>
<!-- Make sure start same folder .NET Core CLI and Visual Studio -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
Expand All @@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="Cake.BuildSystems.Module" Version="5.0.0" />
<PackageReference Include="Cake.FileHelpers" Version="6.1.3" />
<PackageReference Include="Cake.Frosting" Version="3.1.0" />
<PackageReference Include="Cake.Frosting" Version="4.0.0" />
<PackageReference Include="Cake.Git" Version="3.0.0" />
<PackageReference Include="Cake.Issues" Version="3.0.0" />
<PackageReference Include="Cake.Issues.MsBuild" Version="3.0.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ steps:
path: $(YARN_CACHE_FOLDER)

- task: UseDotNet@2
displayName: 'Use .NET 6.x SDK'
displayName: 'Use .NET 8.x SDK'
inputs:
version: 6.x
version: 8.x

- task: PowerShell@2
displayName: 'Run DNN Update Versions'
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.404",
"version": "8.0.100",
"allowPrerelease": false,
"rollForward": "latestMinor"
}
Expand Down

0 comments on commit 805fb5e

Please sign in to comment.