Skip to content

Commit e93cf6d

Browse files
Update project files to support multiple target frameworks: .NET 8.0 and .NET 10.0
1 parent 67385b5 commit e93cf6d

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

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>net10.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: 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>net10.0</TargetFramework>
5+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
66
<ImplicitUsings>disable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
<AssemblyVersion>0.0.1</AssemblyVersion>

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>net10.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>net10.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>net10.0</TargetFramework>
9+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
1010

1111
</PropertyGroup>
1212
<PropertyGroup>

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,20 @@
1212
<license type="expression">LGPL-3.0-or-later</license>
1313
<description>This astrodynamics framework provides tools to manipulate orbital parameters, run spacecraft propagation, evaluate impulsive maneuvers, generate fuel balance, ...</description>
1414
<dependencies>
15+
<group targetFramework="net8.0">
16+
<dependency id="AutoMapper" version="12.0.1"/>
17+
</group>
1518
<group targetFramework="net10.0">
1619
<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 -->
26+
<file src="bin/Release/net8.0/IO.Astrodynamics.Net.dll" target="lib/net8.0"/>
27+
<file src="resources/One_Sgp4.dll" target="lib/net8.0"/>
28+
<!-- binding libraries .NET 10.0 -->
2329
<file src="bin/Release/net10.0/IO.Astrodynamics.Net.dll" target="lib/net10.0"/>
2430
<file src="resources/One_Sgp4.dll" target="lib/net10.0"/>
2531
<!-- native libraries -->

0 commit comments

Comments
 (0)