Skip to content

Commit

Permalink
Upgrade to .NET 8.0 (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Jan 5, 2024
1 parent e5d1422 commit 652fcc9
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: csharp
solution: SimplCommerce.sln
sudo: required
dist: xenial
dotnet: 7.0.111
dotnet: 8.0.100
mono: none
os:
- linux
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
displayName: 'Use .NET Core sdk'
inputs:
packageType: 'sdk'
version: '7.0.111'
version: '8.0.100'
- script: dotnet build ./SimplCommerce.sln
displayName: 'dotnet build'
- task: DotNetCoreCLI@2
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
displayName: 'Use .NET Core sdk'
inputs:
packageType: 'sdk'
version: '7.0.111'
version: '8.0.100'
- script: dotnet build ./SimplCommerce.sln
displayName: 'dotnet build'
- task: DotNetCoreCLI@2
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
displayName: 'Use .NET Core sdk'
inputs:
packageType: 'sdk'
version: '7.0.111'
version: '8.0.100'
- task: DotNetCoreCLI@2
displayName: 'Restoring code using dotnet restore'
inputs:
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
displayName: 'Use .NET Core sdk'
inputs:
packageType: 'sdk'
version: '7.0.111'
version: '8.0.100'
- script: dotnet build --configuration $(buildConfiguration)
displayName: 'dotnet build $(buildConfiguration)'
- task: DotNetCoreCLI@2
Expand Down
6 changes: 3 additions & 3 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"version": "7.0.101",
"rollForward": "latestMinor",
"allowPrerelease": false
"version": "8.0.0",
"rollForward": "latestMinor",
"allowPrerelease": false
}
}
2 changes: 1 addition & 1 deletion src/Modules/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/SimplCommerce.WebHost/SimplCommerce.WebHost.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<UserSecretsId>aspnet-Modular.WebHost-dca604fa-ee10-4a6c-8e7d-8cc79dca8c8f</UserSecretsId>
<EnableDefaultContentItems>false</EnableDefaultContentItems>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit 652fcc9

Please sign in to comment.