Skip to content

Commit

Permalink
Remove .net6 and net7 targets. Add net9
Browse files Browse the repository at this point in the history
  • Loading branch information
sqeezy committed Sep 11, 2024
1 parent 1af4693 commit 4aaa29f
Show file tree
Hide file tree
Showing 26 changed files with 49 additions and 73 deletions.
72 changes: 24 additions & 48 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -41,50 +41,6 @@
source\dbfitOracle\bin\release\net48\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net48\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net48\dbfit.sybase.dll;"/>
<Net6Files Include="
source\fitSharp\bin\release\net6.0\fitSharp.dll;
source\fit\bin\release\net6.0\fit.dll;
source\Runner\bin\release\net6.0\Runner.dll;
source\Runner\bin\release\net6.0\Runner.runtimeconfig.json;
source\dbfit\bin\release\net6.0\dbfit.dll;
source\dbfitMySql\bin\release\net6.0\dbfit.mysql.dll;
source\dbfitOracle\bin\release\net6.0\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net6.0\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net6.0\dbfit.sybase.dll;"/>
<Net6WinFiles Include="
source\fitSharp\bin\release\net6.0-windows\fitSharp.dll;
source\fit\bin\release\net6.0-windows\fit.dll;
source\Runner\bin\release\net6.0-windows\Runner.dll;
source\Runner\bin\release\net6.0-windows\Runner.runtimeconfig.json;
source\RunnerW\bin\release\net6.0-windows\RunnerW.dll;
source\RunnerW\bin\release\net6.0-windows\RunnerW.runtimeconfig.json;
source\dbfit\bin\release\net6.0-windows\dbfit.dll;
source\dbfitMySql\bin\release\net6.0-windows\dbfit.mysql.dll;
source\dbfitOracle\bin\release\net6.0-windows\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net6.0-windows\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net6.0-windows\dbfit.sybase.dll;"/>
<Net7Files Include="
source\fitSharp\bin\release\net7.0\fitSharp.dll;
source\fit\bin\release\net7.0\fit.dll;
source\Runner\bin\release\net7.0\Runner.dll;
source\Runner\bin\release\net7.0\Runner.runtimeconfig.json;
source\dbfit\bin\release\net7.0\dbfit.dll;
source\dbfitMySql\bin\release\net7.0\dbfit.mysql.dll;
source\dbfitOracle\bin\release\net7.0\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net7.0\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net7.0\dbfit.sybase.dll;"/>
<Net7WinFiles Include="
source\fitSharp\bin\release\net7.0-windows\fitSharp.dll;
source\fit\bin\release\net7.0-windows\fit.dll;
source\Runner\bin\release\net7.0-windows\Runner.dll;
source\Runner\bin\release\net7.0-windows\Runner.runtimeconfig.json;
source\RunnerW\bin\release\net7.0-windows\RunnerW.dll;
source\RunnerW\bin\release\net7.0-windows\RunnerW.runtimeconfig.json;
source\dbfit\bin\release\net7.0-windows\dbfit.dll;
source\dbfitMySql\bin\release\net7.0-windows\dbfit.mysql.dll;
source\dbfitOracle\bin\release\net7.0-windows\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net7.0-windows\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net7.0-windows\dbfit.sybase.dll;"/>
<Net8Files Include="
source\fitSharp\bin\release\net8.0\fitSharp.dll;
source\fit\bin\release\net8.0\fit.dll;
Expand All @@ -107,15 +63,35 @@
source\dbfitOracle\bin\release\net8.0-windows\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net8.0-windows\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net8.0-windows\dbfit.sybase.dll;"/>
<Net9Files Include="
source\fitSharp\bin\release\net9.0\fitSharp.dll;
source\fit\bin\release\net9.0\fit.dll;
source\Runner\bin\release\net9.0\Runner.dll;
source\Runner\bin\release\net9.0\Runner.runtimeconfig.json;
source\dbfit\bin\release\net9.0\dbfit.dll;
source\dbfitMySql\bin\release\net9.0\dbfit.mysql.dll;
source\dbfitOracle\bin\release\net9.0\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net9.0\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net9.0\dbfit.sybase.dll;"/>
<Net9WinFiles Include="
source\fitSharp\bin\release\net9.0-windows\fitSharp.dll;
source\fit\bin\release\net9.0-windows\fit.dll;
source\Runner\bin\release\net9.0-windows\Runner.dll;
source\Runner\bin\release\net9.0-windows\Runner.runtimeconfig.json;
source\RunnerW\bin\release\net9.0-windows\RunnerW.dll;
source\RunnerW\bin\release\net9.0-windows\RunnerW.runtimeconfig.json;
source\dbfit\bin\release\net9.0-windows\dbfit.dll;
source\dbfitMySql\bin\release\net9.0-windows\dbfit.mysql.dll;
source\dbfitOracle\bin\release\net9.0-windows\dbfit.oracle.dll;
source\dbfitSqlServer\bin\release\net9.0-windows\dbfit.sqlserver.dll;
source\dbfitSybase\bin\release\net9.0-windows\dbfit.sybase.dll;"/>
<Packages Include="nuget\*.nupkg" />
</ItemGroup>
<Copy SourceFiles="@(Netfx48Files)" DestinationFolder="nuget\lib\net48" />
<Copy SourceFiles="@(Net6Files)" DestinationFolder="nuget\lib\net6.0" />
<Copy SourceFiles="@(Net6WinFiles)" DestinationFolder="nuget\lib\net6.0-windows" />
<Copy SourceFiles="@(Net7Files)" DestinationFolder="nuget\lib\net7.0" />
<Copy SourceFiles="@(Net7WinFiles)" DestinationFolder="nuget\lib\net7.0-windows" />
<Copy SourceFiles="@(Net8Files)" DestinationFolder="nuget\lib\net8.0" />
<Copy SourceFiles="@(Net8WinFiles)" DestinationFolder="nuget\lib\net8.0-windows" />
<Copy SourceFiles="@(net9Files)" DestinationFolder="nuget\lib\net9.0" />
<Copy SourceFiles="@(net9WinFiles)" DestinationFolder="nuget\lib\net9.0-windows" />
<Exec Command="..\binary\tools\nuget\nuget pack FitSharp.nuspec" WorkingDirectory="nuget"/>
<Move SourceFiles="@(Packages)" DestinationFolder="binary" />
</Target>
Expand Down
2 changes: 1 addition & 1 deletion source/Runner/Runner.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fitSharp.Runner</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/Runner/RunnerL.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>fitSharp.Runner</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/RunnerW/RunnerW.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net48;net6.0-windows;net7.0-windows;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0-windows;net9.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/Samples/Samples.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fitSharp.Samples</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/Samples/SamplesL.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>fitSharp.Samples</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/StoryTest/StoryTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<RootNamespace>fitSharp.StoryTest</RootNamespace>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion source/StoryTest/StoryTestL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<RootNamespace>fitSharp.StoryTest</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>StoryTest</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion source/TestTarget/TestTarget.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fitSharp.TestTarget</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/TestTarget/TestTargetL.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>fitSharp.TestTarget</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/TestTarget2/TestTarget2.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fitSharp.TestTarget2</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/TestTarget2/TestTarget2L.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>TestTarget2</AssemblyName>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\TestTarget\TestTargetL.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion source/dbfit/dbfit.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>dbfit</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/dbfitMySql/dbfitMySql.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>dbfit.MySql</RootNamespace>
<AssemblyName>dbfit.MySql</AssemblyName>
<Deterministic>false</Deterministic>
Expand Down
2 changes: 1 addition & 1 deletion source/dbfitOracle/dbfitOracle.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>dbfit.Oracle</RootNamespace>
<AssemblyName>dbfit.Oracle</AssemblyName>
<Deterministic>false</Deterministic>
Expand Down
2 changes: 1 addition & 1 deletion source/dbfitSqlServer/dbfitSqlServer.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>dbfit.SqlServer</RootNamespace>
<AssemblyName>dbfit.SqlServer</AssemblyName>
<Deterministic>false</Deterministic>
Expand Down
2 changes: 1 addition & 1 deletion source/dbfitSybase/dbfitSybase.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>dbfit.Sybase</RootNamespace>
<AssemblyName>dbfit.Sybase</AssemblyName>
<Deterministic>false</Deterministic>
Expand Down
2 changes: 1 addition & 1 deletion source/dbfitTest/dbfitTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fitSharp.Test</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/fit/fit.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion source/fit/fitL.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>fit</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion source/fitSharp/fitSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down
2 changes: 1 addition & 1 deletion source/fitSharp/fitSharpL.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>fitSharp</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion source/fitSharpTest/fitSharpTest.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fitSharp.Test</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/fitSharpTest/fitSharpTestL.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>fitSharp.Test</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/fitTest/fitTest.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;net6.0-windows;net7.0;net7.0-windows;net8.0;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0;net8.0-windows;net9.0;net9.0-windows</TargetFrameworks>
<RootNamespace>fit.Test</RootNamespace>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion source/fitTest/fitTestL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>fitTest</AssemblyName>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\fitSharp\fitSharpL.csproj" />
Expand Down

0 comments on commit 4aaa29f

Please sign in to comment.