Skip to content

Commit 7aea2e7

Browse files
.NET 10 Upgrade
Upgraded .NET 8 to 10
1 parent ca0f1c6 commit 7aea2e7

File tree

110 files changed

+139
-140
lines changed

Some content is hidden

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

110 files changed

+139
-140
lines changed

.github/workflows/dev.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup .NET Core SDK
2121
uses: actions/setup-dotnet@v3
2222
with:
23-
dotnet-version: 8.0.x
23+
dotnet-version: 10.0.x
2424

2525
- name: Restore Dependencies
2626
run: dotnet restore
@@ -34,29 +34,29 @@ jobs:
3434
run: |
3535
7z a -tzip -mx9 Inveigh-net3.5-dev.zip $PWD/Inveigh/bin/debug/net35/*
3636
7z a -tzip -mx9 Inveigh-net4.6.2-dev.zip $PWD/Inveigh/bin/debug/net462/*
37-
7z a -tzip -mx9 Inveigh-net8.0-dev.zip $PWD/Inveigh/bin/debug/net8.0/* -x!*/
37+
7z a -tzip -mx9 Inveigh-net10.0-dev.zip $PWD/Inveigh/bin/debug/net10.0/* -x!*/
3838
3939
- name: Publish - Trimmed/Single File
4040
run: |
4141
VERSION=${{ github.ref_name }}
42-
dotnet publish -r linux-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c debug
43-
dotnet publish -r osx-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c debug
44-
dotnet publish -r win-x64 -f net8.0 -p:PublishOption=TrimmedSingle -c debug
42+
dotnet publish -r linux-x64 -f net10.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c debug
43+
dotnet publish -r osx-x64 -f net10.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c debug
44+
dotnet publish -r win-x64 -f net10.0 -p:PublishOption=TrimmedSingle -c debug
4545
4646
- name: Zip - Publish
4747
run: |
48-
tar -czvf Inveigh-net8.0-linux-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net8.0/linux-x64/publish/ .
49-
tar -czvf Inveigh-net8.0-osx-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net8.0/osx-x64/publish/ .
50-
7z a -tzip -mx9 Inveigh-net8.0-win-x64-trimmed-single-dev.zip $PWD/Inveigh/bin/debug/net8.0/win-x64/publish/*
48+
tar -czvf Inveigh-net10.0-linux-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net10.0/linux-x64/publish/ .
49+
tar -czvf Inveigh-net10.0-osx-x64-trimmed-single-dev.tar.gz --directory=$PWD/Inveigh/bin/debug/net10.0/osx-x64/publish/ .
50+
7z a -tzip -mx9 Inveigh-net10.0-win-x64-trimmed-single-dev.zip $PWD/Inveigh/bin/debug/net10.0/win-x64/publish/*
5151
5252
- name: Publish - NativeAOT
5353
run: |
5454
VERSION=${{ github.ref_name }}
55-
dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8.0 -p:PublishOption=NativeAOT -c debug
55+
dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net10.0 -p:PublishOption=NativeAOT -c debug
5656
5757
- name: Zip - Publish - NativeAOT
5858
run: |
59-
7z a -tzip -mx9 Inveigh-net8.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/debug/net8.0/win-x64/native/*
59+
7z a -tzip -mx9 Inveigh-net10.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/debug/net10.0/win-x64/native/*
6060
6161
- name: Release .zip
6262
if: "! startsWith(github.event_name, 'pull_request')"
@@ -73,4 +73,4 @@ jobs:
7373
uses: softprops/action-gh-release@v1
7474
with:
7575
tag_name: development
76-
files: "Inveigh*.tar.gz"
76+
files: "Inveigh*.tar.gz"

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET Core SDK
2020
uses: actions/setup-dotnet@v3
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: 10.0.x
2323

2424
- name: Restore Dependencies
2525
run: dotnet restore
@@ -33,29 +33,29 @@ jobs:
3333
run: |
3434
7z a -tzip -mx9 Inveigh-net3.5-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net35/*
3535
7z a -tzip -mx9 Inveigh-net4.6.2-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net462/*
36-
7z a -tzip -mx9 Inveigh-net8.0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8.0/* -x!*/
36+
7z a -tzip -mx9 Inveigh-net10.0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net10.0/* -x!*/
3737
3838
- name: Publish - Trimmed/Single File
3939
run: |
4040
VERSION=${{ github.ref_name }}
41-
dotnet publish -p:Version=${VERSION:1} -r linux-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
42-
dotnet publish -p:Version=${VERSION:1} -r osx-x64 -f net8.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
43-
dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8.0 -p:PublishOption=TrimmedSingle -c release
41+
dotnet publish -p:Version=${VERSION:1} -r linux-x64 -f net10.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
42+
dotnet publish -p:Version=${VERSION:1} -r osx-x64 -f net10.0 -p:PublishOption=TrimmedSingle -p:AssemblyName=inveigh -c release
43+
dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net10.0 -p:PublishOption=TrimmedSingle -c release
4444
4545
- name: Zip - Publish
4646
run: |
47-
tar -czvf Inveigh-net8.0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net8.0/linux-x64/publish/ .
48-
tar -czvf Inveigh-net8.0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net8.0/osx-x64/publish/ .
49-
7z a -tzip -mx9 Inveigh-net8.0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8.0/win-x64/publish/*
47+
tar -czvf Inveigh-net10.0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net10.0/linux-x64/publish/ .
48+
tar -czvf Inveigh-net10.0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net10.0/osx-x64/publish/ .
49+
7z a -tzip -mx9 Inveigh-net10.0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net10.0/win-x64/publish/*
5050
5151
- name: Publish - NativeAOT
5252
run: |
5353
VERSION=${{ github.ref_name }}
54-
dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net8.0 -p:PublishOption=NativeAOT -c release
54+
dotnet publish -p:Version=${VERSION:1} -r win-x64 -f net10.0 -p:PublishOption=NativeAOT -c release
5555
5656
- name: Zip - Publish - NativeAOT
5757
run: |
58-
7z a -tzip -mx9 Inveigh-net8.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net8.0/win-x64/native/Inveigh.exe
58+
7z a -tzip -mx9 Inveigh-net10.0-win-x64-nativeaot-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net10.0/win-x64/native/Inveigh.exe
5959
6060
- name: Release .zip
6161
uses: softprops/action-gh-release@v1
@@ -65,4 +65,4 @@ jobs:
6565
- name: Release tar.gz
6666
uses: softprops/action-gh-release@v1
6767
with:
68-
files: "Inveigh*.tar.gz"
68+
files: "Inveigh*.tar.gz"

Inveigh/Inveigh.csproj

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net35;net462;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net35;net462;net10.0</TargetFrameworks>
66
<PlatformTarget>AnyCPU</PlatformTarget>
77
<DisableFody Condition="'$(PublishAot)' == 'true' Or '$(PublishTrimmed)' == 'true'">true</DisableFody>
88
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
@@ -13,7 +13,7 @@
1313
<DebugSymbols>true</DebugSymbols>
1414
</PropertyGroup>
1515

16-
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
16+
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))">
1717
<PublishTrimmed Condition="'$(PublishOption)' == 'TrimmedSingle'">true</PublishTrimmed>
1818
<PublishSingleFile Condition="'$(PublishOption)' == 'TrimmedSingle'">true</PublishSingleFile>
1919
<PublishAot Condition="'$(PublishOption)' == 'NativeAOT'">true</PublishAot>
@@ -28,33 +28,32 @@
2828

2929
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
3030
<PackageReference Include="System.DirectoryServices.Protocols">
31-
<Version>8.0.0</Version>
31+
<Version>10.0.0</Version>
3232
</PackageReference>
3333
</ItemGroup>
3434

35-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
35+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
3636
<PackageReference Include="System.DirectoryServices.Protocols">
37-
<Version>8.0.0</Version>
37+
<Version>10.0.0</Version>
3838
</PackageReference>
3939
</ItemGroup>
4040

4141
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
42-
<PackageReference Include="Costura.Fody" Version="5.7.0">
42+
<PackageReference Include="Costura.Fody" Version="6.0.0">
4343
<PrivateAssets>all</PrivateAssets>
4444
</PackageReference>
45-
<PackageReference Include="Fody" Version="6.8.1">
45+
<PackageReference Include="Fody" Version="6.9.3">
4646
<PrivateAssets>all</PrivateAssets>
4747
</PackageReference>
4848
</ItemGroup>
4949

50-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
51-
<PackageReference Include="Costura.Fody" Version="5.7.0">
50+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
51+
<PackageReference Include="Costura.Fody" Version="6.0.0">
5252
<PrivateAssets>all</PrivateAssets>
5353
</PackageReference>
54-
<PackageReference Include="Fody" Version="6.8.1">
54+
<PackageReference Include="Fody" Version="6.9.3">
5555
<PrivateAssets>all</PrivateAssets>
5656
</PackageReference>
5757
</ItemGroup>
5858

59-
6059
</Project>

Inveigh/Listeners/SMBListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BSD 3-Clause License
33
*
4-
* Copyright (c) 2024, Kevin Robertson
4+
* Copyright (c) 2025, Kevin Robertson
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

Inveigh/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class Program
174174
public static string netbiosDomain = Environment.UserDomainName;
175175
public static string dnsDomain = "";
176176
public static ulong smb2Session = 5548434740922023936; // todo check
177-
public static string version = "2.0.11";
177+
public static string version = "2.0.12";
178178

179179
static void Main(string[] arguments)
180180
{

Inveigh/Protocols/Quiddity/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2024, Kevin Robertson
3+
Copyright (c) 2025, Kevin Robertson
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

Inveigh/Protocols/Quiddity/Quiddity/Clients/SMBClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BSD 3-Clause License
33
*
4-
* Copyright (c) 2024, Kevin Robertson
4+
* Copyright (c) 2025, Kevin Robertson
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

Inveigh/Protocols/Quiddity/Quiddity/Clients/TCPClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BSD 3-Clause License
33
*
4-
* Copyright (c) 2024, Kevin Robertson
4+
* Copyright (c) 2025, Kevin Robertson
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

Inveigh/Protocols/Quiddity/Quiddity/Listeners/DHCPv6Listener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BSD 3-Clause License
33
*
4-
* Copyright (c) 2024, Kevin Robertson
4+
* Copyright (c) 2025, Kevin Robertson
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

Inveigh/Protocols/Quiddity/Quiddity/Listeners/DNSListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* BSD 3-Clause License
33
*
4-
* Copyright (c) 2024, Kevin Robertson
4+
* Copyright (c) 2025, Kevin Robertson
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)