Skip to content

Commit

Permalink
Merge pull request #127 from SeanFarrow/feature/sf/126-use-dotnet-8.0
Browse files Browse the repository at this point in the history
Add .Net 8 as a target to all projects
  • Loading branch information
KevinDockx authored Sep 22, 2023
2 parents 98d11e7 + 3f2ae16 commit 07c0eba
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 10 deletions.
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.400",
"rollForward": "latestPatch",
"allowPrerelease": false
"version": "8.0.100-rc.1.23455.8",
"rollForward": "latestMinor",
"allowPrerelease": true
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<OutputType>Library</OutputType>
<AssemblyName>Marvin.Cache.Headers.DistributedStore.Redis</AssemblyName>
<PackageId>Marvin.Cache.Headers.DistributedStore.Redis</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<OutputType>Library</OutputType>
<AssemblyName>Marvin.Cache.Headers.DistributedStore</AssemblyName>
<PackageId>Marvin.Cache.Headers.DistributedStore</PackageId>
Expand Down
11 changes: 10 additions & 1 deletion src/Marvin.Cache.Headers/Marvin.Cache.Headers.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<OutputType>Library</OutputType>
<AssemblyName>Marvin.Cache.Headers</AssemblyName>
<PackageId>Marvin.Cache.Headers</PackageId>
Expand All @@ -24,6 +24,10 @@
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.0" />
Expand All @@ -34,6 +38,11 @@
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0-rc.1.23419.4" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.0-rc.1.23419.4" />
</ItemGroup>

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

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<AssemblyName>Marvin.Cache.Headers.DistributedStore.Redis.Test</AssemblyName>
<PackageId>Marvin.Cache.Headers.DistributedStore.Redis.Test</PackageId>
<GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<AssemblyName>Marvin.Cache.Headers.DistributedStore.Test</AssemblyName>
<PackageId>Marvin.Cache.Headers.DistributedStore.Test</PackageId>
<GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<AssemblyName>Marvin.Cache.Headers.Test</AssemblyName>
<PackageId>Marvin.Cache.Headers.Test</PackageId>
<GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles>
Expand All @@ -14,6 +14,10 @@
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.9" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0-rc.1.23421.29" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
Expand Down

0 comments on commit 07c0eba

Please sign in to comment.