Skip to content

Commit 8ad3e00

Browse files
committed
Added .Net 8.0 native support.
1 parent 5e98164 commit 8ad3e00

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

azure/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ steps:
5151
version: '7.0.x'
5252
includePreviewVersions: false
5353

54+
- task: UseDotNet@2
55+
displayName: 'Use .Net 8.0.x'
56+
inputs:
57+
packageType: 'sdk'
58+
version: '8.0.x'
59+
includePreviewVersions: false
60+
5461
- task: DotNetCoreCLI@2
5562
displayName: .Net Restore
5663
inputs:

src/ZirconNet.Console/ZirconNet.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>

src/ZirconNet.Core/ZirconNet.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>

src/ZirconNet.Microsoft.DependencyInjection/ZirconNet.Microsoft.DependencyInjection.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0;net7.0;net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
@@ -26,8 +26,8 @@
2626
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
2727
</ItemGroup>
2828

29-
<ItemGroup Condition="'$(TargetFramework)'=='net7.0' or '$(TargetFramework)'=='net6.0'">
30-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
29+
<ItemGroup Condition="'$(TargetFramework)'=='net7.0' or '$(TargetFramework)'=='net6.0' or '$(TargetFramework)'=='net8.0'">
30+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
3131
</ItemGroup>
3232

3333
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' or '$(TargetFramework)'=='net5.0'">

src/ZirconNet.WPF/ZirconNet.WPF.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0-windows;net7.0-windows</TargetFrameworks>
4+
<TargetFrameworks>net461;net47;net48;netcoreapp3.1;net6.0-windows;net7.0-windows;net8.0-windows</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<UseWPF>true</UseWPF>

0 commit comments

Comments
 (0)