Skip to content

Commit 3d5876e

Browse files
net9.0 framework
1 parent 002b66f commit 3d5876e

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup dotnet
1414
uses: actions/setup-dotnet@v3
1515
with:
16-
dotnet-version: '8.0.x'
16+
dotnet-version: '9.0.x'
1717

1818
- name: Build
1919
run: dotnet run --project ./Build

Build/Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

CSharpInteractive.Templates/content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
5+
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net9.0</TargetFramework>
66
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

CSharpInteractive.Tests/CSharpInteractive.Tests.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>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net9.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<DefineConstants>$(DefineConstants);PUREDI_API_SUPPRESSION</DefineConstants>

CSharpInteractive/CSharpInteractive.Tool.csproj

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

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
66
<OutputType>Exe</OutputType>
77
<UseAppHost>false</UseAppHost>
88
<AssemblyName>dotnet-csi</AssemblyName>
@@ -59,6 +59,10 @@
5959
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
6060
</ItemGroup>
6161

62+
<ItemGroup Condition="'$(TargetFramework)'=='net9.0'">
63+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0-rc.2.24473.5" />
64+
</ItemGroup>
65+
6266
<PropertyGroup>
6367
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
6468
</PropertyGroup>

CSharpInteractive/CSharpInteractive.csproj

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

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
66
<IsPackable>true</IsPackable>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<DefineConstants>$(DefineConstants);APPLICATION</DefineConstants>
@@ -52,6 +52,10 @@
5252
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
5353
</ItemGroup>
5454

55+
<ItemGroup Condition="'$(TargetFramework)'=='net9.0'">
56+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0-rc.2.24473.5" />
57+
</ItemGroup>
58+
5559
<PropertyGroup>
5660
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
5761
</PropertyGroup>

Samples/MySampleLib/Build/Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)