Skip to content

Commit 1236845

Browse files
committed
Net8 compilation
1 parent 5bca154 commit 1236845

35 files changed

Lines changed: 191 additions & 57 deletions

File tree

Directory.Build.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,15 @@
4141
<NoWarn Condition="$(MSBuildProjectName.Contains('Tests')) == 'true'">$(NoWarn);SYSLIB0011</NoWarn>
4242
</PropertyGroup>
4343

44+
<!-- Debug-NET8, Release-NET8 are mostly for development convenience -->
45+
<PropertyGroup Condition = "$(Configuration.Contains('NET7')) == 'true'">
46+
<!-- hard binding to net8, no property and env variable allowed-->
47+
<TargetFrameworks>net8.0</TargetFrameworks>
48+
</PropertyGroup>
49+
4450
<!-- Debug-NET7, Release-NET7 are mostly for development convenience -->
4551
<PropertyGroup Condition = "$(Configuration.Contains('NET7')) == 'true'">
46-
<!-- hard binding to net5, no property and env variable allowed-->
52+
<!-- hard binding to net7, no property and env variable allowed-->
4753
<TargetFrameworks>net7.0</TargetFrameworks>
4854
</PropertyGroup>
4955

@@ -53,18 +59,12 @@
5359
<TargetFrameworks>net6.0</TargetFrameworks>
5460
</PropertyGroup>
5561

56-
<!-- Debug-NET5, Release-NET5 are mostly for development convenience -->
57-
<!-- <PropertyGroup Condition = "$(Configuration.Contains('NET5')) == 'true'"> -->
58-
<!-- hard binding to net5, no property and env variable allowed-->
59-
<!-- <TargetFrameworks>net5.0</TargetFrameworks> -->
60-
<!-- </PropertyGroup> -->
61-
6262
<!--Release and Debug are for final builds, builds on build server, etc. Target frameworks are configurable here -->
6363
<PropertyGroup Label="Defaults" Condition="$(Configuration.Contains('NET7')) == 'false' AND $(Configuration.Contains('NET6')) == 'false'">
6464
<Configuration Condition="$(Configuration) == ''">Debug</Configuration>
6565
<TargetFrameworks>$(TargetFrameworks)</TargetFrameworks> <!-- the property -->
6666
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">$(DO_TargetFrameworks)</TargetFrameworks> <!-- env var -->
67-
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">net7.0;net6.0</TargetFrameworks> <!-- fallback to default -->
67+
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">net8.0;net7.0;net6.0</TargetFrameworks> <!-- fallback to default -->
6868
</PropertyGroup>
6969

7070
<PropertyGroup Condition = "$(Configuration.Contains('Debug')) == 'true'">

Extensions/TestCommon/TestCommon.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<DocumentationFile />
4-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
4+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
55
</PropertyGroup>
66
<PropertyGroup>
77
<SignAssembly>true</SignAssembly>
@@ -11,8 +11,8 @@
1111
<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
1212
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.1" />
1313
</ItemGroup>
14-
<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
15-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
14+
<ItemGroup Condition="'$(TargetFramework)'=='net7.0' OR '$(TargetFramework)'=='net8.0'">
15+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
1616
</ItemGroup>
1717
<ItemGroup>
1818
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />

Extensions/Xtensive.Orm.BulkOperations.Tests/Xtensive.Orm.BulkOperations.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
<PropertyGroup>
33
<DocumentationFile />
4-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
4+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
55
</PropertyGroup>
66
<Import Project="$(SolutionDir)MSBuild\DataObjects.Net.InternalBuild.targets" />
77
<ItemGroup>

Extensions/Xtensive.Orm.BulkOperations/Xtensive.Orm.BulkOperations.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<DocumentationFile>$(OutputPath)$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
5-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
5+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
66
</PropertyGroup>
77
<PropertyGroup>
88
<PackageId>Xtensive.Orm.BulkOperations</PackageId>

Extensions/Xtensive.Orm.Localization.Tests/Xtensive.Orm.Localization.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
<PropertyGroup>
33
<DocumentationFile />
4-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
4+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET7;Release-NET7</Configurations>
55
</PropertyGroup>
66
<Import Project="$(SolutionDir)MSBuild\DataObjects.Net.InternalBuild.targets" />
77
<ItemGroup>

Extensions/Xtensive.Orm.Localization/Xtensive.Orm.Localization.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<DocumentationFile>$(OutputPath)$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
5-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
5+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
66
</PropertyGroup>
77
<PropertyGroup>
88
<PackageId>Xtensive.Orm.Localization</PackageId>

Extensions/Xtensive.Orm.Logging.NLog.Tests/Xtensive.Orm.Logging.NLog.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
<PropertyGroup>
33
<DocumentationFile />
4-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
4+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
55
</PropertyGroup>
66
<ItemGroup>
77
<None Include="App.config" />

Extensions/Xtensive.Orm.Logging.NLog/Xtensive.Orm.Logging.NLog.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<DocumentationFile>$(OutputPath)$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
5-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
5+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
66
</PropertyGroup>
77
<PropertyGroup>
88
<PackageId>Xtensive.Orm.Logging.NLog</PackageId>

Extensions/Xtensive.Orm.Logging.log4net.Tests/Xtensive.Orm.Logging.log4net.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
<PropertyGroup>
33
<DocumentationFile />
4-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
4+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
55
</PropertyGroup>
66
<ItemGroup>
77
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />

Extensions/Xtensive.Orm.Logging.log4net/Xtensive.Orm.Logging.log4net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<DocumentationFile>$(OutputPath)$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
5-
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7</Configurations>
5+
<Configurations>Debug;Release;Debug-NET6;Release-NET6;Debug-NET7;Release-NET7;Debug-NET8;Release-NET8</Configurations>
66
</PropertyGroup>
77
<PropertyGroup>
88
<PackageId>Xtensive.Orm.Logging.log4net</PackageId>

0 commit comments

Comments
 (0)