Skip to content

Commit 2bb9cf6

Browse files
Updated .NET SDK to version 10
1 parent af15911 commit 2bb9cf6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+4948
-55
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111
- uses: actions/setup-dotnet@v3
1212
with:
13-
dotnet-version: 9.x
13+
dotnet-version: 10.x
1414
- run: dotnet pack
1515
- run: dotnet nuget push 'ScipDotnet/bin/Release/*.nupkg' --source 'nuget.org' --api-key '${{ secrets.NUGET_APIKEY }}' --skip-duplicate
1616
docker-push:
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-dotnet@v3
2121
with:
22-
dotnet-version: 9.x
22+
dotnet-version: 10.x
2323
- uses: docker/setup-buildx-action@v2
2424
- run: echo "PATCH=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
2525
- run: echo "MINOR=${PATCH%.*}" >> $GITHUB_ENV

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
7.x
1919
8.x
2020
9.x
21+
10.x
2122
- run: dotnet format --verify-no-changes
2223
- run: dotnet format --verify-no-changes
2324
working-directory: snapshots/input/syntax
@@ -36,6 +37,8 @@ jobs:
3637
7.x
3738
8.x
3839
9.x
40+
10.x
41+
- run: dotnet test -p:TargetFrameworks=net10.0
3942
- run: dotnet test -p:TargetFrameworks=net9.0
4043
- run: dotnet test -p:TargetFrameworks=net8.0
4144
- run: dotnet test -p:TargetFrameworks=net7.0

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "coreclr",
1010
"request": "launch",
1111
"preLaunchTask": "build",
12-
"program": "${workspaceFolder}/ScipDotnet/bin/Debug/net8.0/scip-dotnet.dll",
12+
"program": "${workspaceFolder}/ScipDotnet/bin/Debug/net10.0/scip-dotnet.dll",
1313
"args": ["index", "--working-directory", "${input:path}"],
1414
"cwd": "${workspaceFolder}",
1515
"stopAtEntry": false,

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:ae000be75dac94fc40e00f0eee903289e985995cc06dac3937469254ce5b60b6
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0@sha256:3f3cc2daa2358dea8a50d47153c87abc61d301b45606021535fd595cea0d0114
22
WORKDIR /scip-dotnet
33
ADD . /scip-dotnet
44
RUN dotnet pack
55
ENV PATH="/root/.dotnet/tools:${PATH}"
6-
RUN dotnet tool install --framework net9.0 --add-source ScipDotnet/bin/Release/ --global scip-dotnet
6+
RUN dotnet tool install --framework net10.0 --add-source ScipDotnet/bin/Release/ --global scip-dotnet
77
RUN dotnet clean
88
WORKDIR /app
99
RUN rm -rf /scip-dotnet

ScipDotnet.Tests/ScipDotnet.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>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0;net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

ScipDotnet/ScipDotnet.csproj

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<Version>0.2.13</Version>
8-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
9-
<PackageReadmeFile>readme.md</PackageReadmeFile>
10-
<PackageType>DotnetTool</PackageType>
11-
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
12-
<PackAsTool>true</PackAsTool>
13-
<AssemblyName>scip-dotnet</AssemblyName>
14-
<RepositoryUrl>https://github.com/sourcegraph/scip-dotnet</RepositoryUrl>
15-
</PropertyGroup>
16-
17-
<ItemGroup>
18-
<None Include="../LICENSE" Pack="true" PackagePath="" />
19-
<None Include="../readme.md" Pack="true" PackagePath="" />
20-
<PackageReference Include="Google.Protobuf" Version="3.30.0" />
21-
<PackageReference Include="Microsoft.Build.Locator" Version="1.7.8" />
22-
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.4.0" />
23-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="4.4.0" />
24-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.4.0" />
25-
<PackageReference Include="Microsoft.CodeAnalysis.Features" Version="4.4.0" />
26-
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.4.0" />
27-
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
28-
<PackageReference Include="System.CommandLine.Hosting" Version="0.4.0-alpha.22272.1" />
29-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
30-
</ItemGroup>
31-
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<Version>0.2.13</Version>
8+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
9+
<PackageReadmeFile>readme.md</PackageReadmeFile>
10+
<PackageType>DotnetTool</PackageType>
11+
<TargetFrameworks>net10.0;net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
12+
<PackAsTool>true</PackAsTool>
13+
<AssemblyName>scip-dotnet</AssemblyName>
14+
<RepositoryUrl>https://github.com/sourcegraph/scip-dotnet</RepositoryUrl>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<None Include="../LICENSE" Pack="true" PackagePath="" />
19+
<None Include="../readme.md" Pack="true" PackagePath="" />
20+
<PackageReference Include="Google.Protobuf" Version="3.30.0" />
21+
<PackageReference Include="Microsoft.Build.Locator" Version="1.7.8" />
22+
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.4.0" />
23+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="4.4.0" />
24+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.4.0" />
25+
<PackageReference Include="Microsoft.CodeAnalysis.Features" Version="4.4.0" />
26+
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.4.0" />
27+
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
28+
<PackageReference Include="System.CommandLine.Hosting" Version="0.4.0-alpha.22272.1" />
29+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
30+
</ItemGroup>
31+
3232
</Project>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.0",
3+
"version": "10.0.0",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
66
}

snapshots/input/WpfApplication/WpfApplication/WpfApplication.csproj

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

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net9.0-windows</TargetFramework>
5+
<TargetFramework>net10.0-windows</TargetFramework>
66
<Nullable>enable</Nullable>
77
<UseWPF>true</UseWPF>
88
</PropertyGroup>
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
<LangVersion>preview</LangVersion>
9-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
10-
</PropertyGroup>
11-
12-
<ItemGroup>
13-
<PackageReference Include="DiffPlex" Version="1.7.1" />
14-
</ItemGroup>
15-
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFrameworks>net10.0;net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<LangVersion>preview</LangVersion>
9+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="DiffPlex" Version="1.7.1" />
14+
</ItemGroup>
15+
1616
</Project>

snapshots/input/syntax/VBMain/VBMain.vbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<RootNamespace>VBMain</RootNamespace>
6-
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
6+
<TargetFrameworks>net10.0;net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>

0 commit comments

Comments
 (0)