Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d8a0db4

Browse filesBrowse files
committed
Initial support for .net 9
1 parent 1169314 commit d8a0db4
Copy full SHA for d8a0db4

File tree

6 files changed

+11
-16
lines changed
Filter options

6 files changed

+11
-16
lines changed

‎.github/workflows/main.yml

Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+3-6Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212
uses: actions/setup-dotnet@v3
1313
with:
1414
dotnet-version: |
15-
6.0.x
16-
7.0.x
1715
8.0.x
16+
9.0.x
1817
include-prerelease: true
1918
- name: Install dotnet-script
2019
run: dotnet tool install dotnet-script --global
@@ -31,9 +30,8 @@ jobs:
3130
uses: actions/setup-dotnet@v3
3231
with:
3332
dotnet-version: |
34-
6.0.x
35-
7.0.x
3633
8.0.x
34+
9.0.x
3735
include-prerelease: true
3836
- name: Install dotnet-script
3937
run: dotnet tool install dotnet-script --global
@@ -50,9 +48,8 @@ jobs:
5048
uses: actions/setup-dotnet@v3
5149
with:
5250
dotnet-version: |
53-
6.0.x
54-
7.0.x
5551
8.0.x
52+
9.0.x
5653
include-prerelease: true
5754
- name: Install dotnet-script
5855
run: dotnet tool install dotnet-script --global

‎global.json

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "9.0.0-rc.2.24473.5",
44
"rollForward": "latestFeature"
55
}
66
}

‎src/.vscode/tasks.json

Copy file name to clipboardExpand all lines: src/.vscode/tasks.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"-c",
4747
"release",
4848
"-f",
49-
"net7.0",
49+
"net9.0",
5050
"${workspaceFolder}/Dotnet.Script.Tests/DotNet.Script.Tests.csproj"
5151
],
5252
"problemMatcher": "$msCompile",

‎src/Dotnet.Script.Core/Dotnet.Script.Core.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script.Core/Dotnet.Script.Core.csproj
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Description>A cross platform library allowing you to run C# (CSX) scripts with support for debugging and inline NuGet packages. Based on Roslyn.</Description>
55
<VersionPrefix>1.5.0</VersionPrefix>
66
<Authors>filipw</Authors>
7-
<TargetFrameworks>net8.0;net7.0;net6.0;netstandard2.0</TargetFrameworks>
7+
<TargetFrameworks>net9.0;net8.0;netstandard2.0</TargetFrameworks>
88
<AssemblyName>Dotnet.Script.Core</AssemblyName>
99
<PackageId>Dotnet.Script.Core</PackageId>
1010
<PackageTags>script;csx;csharp;roslyn</PackageTags>

‎src/Dotnet.Script.Tests/Dotnet.Script.Tests.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script.Tests/Dotnet.Script.Tests.csproj
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
3+
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
44
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>../dotnet-script.snk</AssemblyOriginatorKeyFile>

‎src/Dotnet.Script/Dotnet.Script.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script/Dotnet.Script.csproj
+4-6Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<VersionPrefix>1.5.0</VersionPrefix>
66
<Authors>filipw</Authors>
77
<PackageId>Dotnet.Script</PackageId>
8-
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
8+
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
99
<DebugType>portable</DebugType>
1010
<AssemblyName>dotnet-script</AssemblyName>
1111
<OutputType>Exe</OutputType>
@@ -27,11 +27,9 @@
2727
<ItemGroup>
2828
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0-3.final" />
2929
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.2" />
30-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0"
31-
Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0'"/>
32-
33-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0"
34-
Condition="'$(TargetFramework)' == 'net8.0'"/>
30+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0-rc.2.24473.5" Condition="'$(TargetFramework)' == 'net9.0'"/>
31+
32+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" Condition="'$(TargetFramework)' == 'net8.0'"/>
3533
</ItemGroup>
3634
<ItemGroup>
3735
<ProjectReference Include="..\Dotnet.Script.Core\Dotnet.Script.Core.csproj" />

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.