Skip to content

Commit dd37404

Browse files
Upgrade to .Net 10
* Update target framework to .NET 10.0 across all projects * Update CI/CD configurations and package target framework to .NET 10.0 * Update project files to support multiple target frameworks: .NET 8.0 and .NET 10.0 * Fix package path for dragonfly-dark-trans.png in CLI project * Fix package inclusion for dragonfly-dark-trans.png in CLI project * Bump version to 0.7.1.0 for CLI tool and 7.1.0 for Astrodynamics framework
1 parent 54730d2 commit dd37404

File tree

9 files changed

+30
-16
lines changed

9 files changed

+30
-16
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
run:
2626
working-directory: ./IO.Astrodynamics.Net
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- name: Setup .NET
30-
uses: actions/setup-dotnet@v3
30+
uses: actions/setup-dotnet@v4
3131
with:
32-
dotnet-version: 8.0.x
32+
dotnet-version: '10.0.x'
3333
- name: Restore dependencies
3434
run: dotnet restore
3535
- name: Build

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
working-directory: ./IO.Astrodynamics.Net
3131

3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
- name: Setup .NET
35-
uses: actions/setup-dotnet@v3
35+
uses: actions/setup-dotnet@v4
3636
with:
37-
dotnet-version: 8.0.x
37+
dotnet-version: '10.0.x'
3838
- name: Restore dependencies
3939
run: dotnet restore
4040
# - name: Build

IO.Astrodynamics.Net/IO.Astrodynamics.CLI.Tests/IO.Astrodynamics.CLI.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-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

IO.Astrodynamics.Net/IO.Astrodynamics.CLI/IO.Astrodynamics.CLI.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
66
<ImplicitUsings>disable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
<AssemblyVersion>0.0.1</AssemblyVersion>
99
<FileVersion>0.0.1</FileVersion>
1010
<PackAsTool>true</PackAsTool>
1111
<ToolCommandName>astro</ToolCommandName>
12-
<Version>0.7.0.4</Version>
12+
<Version>0.7.1.0</Version>
1313
<Title>Astrodynamics command line interface</Title>
1414
<Authors>Sylvain Guillet</Authors>
1515
<Description>This CLI allows end user to exploit IO.Astrodynamics framework </Description>
@@ -29,7 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<None Update="dragonfly-dark-trans.png">
32+
<None Include="dragonfly-dark-trans.png">
3333
<Pack>True</Pack>
3434
<PackagePath></PackagePath>
3535
</None>

IO.Astrodynamics.Net/IO.Astrodynamics.Performance/IO.Astrodynamics.Performance.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+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>

IO.Astrodynamics.Net/IO.Astrodynamics.Tests/IO.Astrodynamics.Tests.csproj

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

77
<IsPackable>false</IsPackable>
88

9-
<TargetFramework>net8.0</TargetFramework>
9+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
1010
</PropertyGroup>
1111

1212
<ItemGroup>

IO.Astrodynamics.Net/IO.Astrodynamics/IO.Astrodynamics.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyName>IO.Astrodynamics.Net</AssemblyName>
77
<Company>IO</Company>
88
<LangVersion>12</LangVersion>
9-
<TargetFramework>net8.0</TargetFramework>
9+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
1010

1111
</PropertyGroup>
1212
<PropertyGroup>

IO.Astrodynamics.Net/IO.Astrodynamics/IO.Astrodynamics.nuspec

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<id>IO.Astrodynamics</id>
55
<authors>Sylvain Guillet</authors>
66
<copyright>Sylvain Guillet</copyright>
7-
<version>7.0.4</version>
7+
<version>7.1.0</version>
88
<title>Astrodynamics framework</title>
99
<icon>images\dragonfly-dark-trans.png</icon>
1010
<readme>docs\README.md</readme>
@@ -14,14 +14,20 @@
1414
<dependencies>
1515
<group targetFramework="net8.0">
1616
<dependency id="AutoMapper" version="12.0.1"/>
17+
</group>
18+
<group targetFramework="net10.0">
19+
<dependency id="AutoMapper" version="12.0.1"/>
1720
</group>
1821
</dependencies>
1922
<tags>astrodynamics aerospace orbital mechanics spice space physics</tags>
2023
</metadata>
2124
<files>
22-
<!-- binding libraries -->
25+
<!-- binding libraries .NET 8.0 -->
2326
<file src="bin/Release/net8.0/IO.Astrodynamics.Net.dll" target="lib/net8.0"/>
2427
<file src="resources/One_Sgp4.dll" target="lib/net8.0"/>
28+
<!-- binding libraries .NET 10.0 -->
29+
<file src="bin/Release/net10.0/IO.Astrodynamics.Net.dll" target="lib/net10.0"/>
30+
<file src="resources/One_Sgp4.dll" target="lib/net10.0"/>
2531
<!-- native libraries -->
2632
<file src="resources/IO.Astrodynamics.dll" target="runtimes/windows10-x64"/>
2733
<file src="resources/IO.Astrodynamics.lib" target="runtimes/windows10-x64"/>
@@ -31,4 +37,5 @@
3137
<file src="resources/dragonfly-dark-trans.png" target="images/"/>
3238
<file src="../../README.md" target="docs/"/>
3339
</files>
34-
</package>
40+
</package>
41+

IO.Astrodynamics.Net/global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"version": "10.0.0",
4+
"rollForward": "latestMajor",
5+
"allowPrerelease": false
6+
}
7+
}

0 commit comments

Comments
 (0)