|
41 | 41 | <NoWarn Condition="$(MSBuildProjectName.Contains('Tests')) == 'true'">$(NoWarn);SYSLIB0011</NoWarn> |
42 | 42 | <!-- Enable Usage of BinaryFormatter in test projects --> |
43 | 43 | <EnableUnsafeBinaryFormatterSerialization |
44 | | - Condition="'$(TargetFramework)'=='net8.0' AND $(MSBuildProjectName.Contains('Tests')) == 'true'">true</EnableUnsafeBinaryFormatterSerialization> |
| 44 | + Condition="$(MSBuildProjectName.Contains('Tests')) == 'true'">true</EnableUnsafeBinaryFormatterSerialization> |
| 45 | + </PropertyGroup> |
| 46 | + |
| 47 | + <!-- Debug-NET10, Release-NET10 are mostly for development convenience --> |
| 48 | + <PropertyGroup Condition = "$(Configuration.Contains('NET10')) == 'true'"> |
| 49 | + <!-- hard binding to net10, no property and env variable allowed--> |
| 50 | + <TargetFrameworks>net10.0</TargetFrameworks> |
45 | 51 | </PropertyGroup> |
46 | 52 |
|
47 | 53 | <!-- Debug-NET8, Release-NET8 are mostly for development convenience --> |
48 | 54 | <PropertyGroup Condition = "$(Configuration.Contains('NET8')) == 'true'"> |
49 | 55 | <!-- hard binding to net8, no property and env variable allowed--> |
50 | 56 | <TargetFrameworks>net8.0</TargetFrameworks> |
51 | 57 | </PropertyGroup> |
52 | | - |
53 | | - <!-- Debug-NET7, Release-NET7 are mostly for development convenience --> |
54 | | - <PropertyGroup Condition = "$(Configuration.Contains('NET7')) == 'true'"> |
55 | | - <!-- hard binding to net7, no property and env variable allowed--> |
56 | | - <TargetFrameworks>net7.0</TargetFrameworks> |
57 | | - </PropertyGroup> |
58 | | - |
59 | | - <!-- Debug-NET6, Release-NET6 are mostly for development convenience --> |
60 | | - <PropertyGroup Condition = "$(Configuration.Contains('NET6')) == 'true'"> |
61 | | - <!-- hard binding to net6, no property and env variable allowed --> |
62 | | - <TargetFrameworks>net6.0</TargetFrameworks> |
63 | | - </PropertyGroup> |
64 | 58 |
|
65 | 59 | <!--Release and Debug are for final builds, builds on build server, etc. Target frameworks are configurable here --> |
66 | 60 | <PropertyGroup Label="Defaults" |
67 | | - Condition="$(Configuration.Contains('NET8')) == 'false' AND $(Configuration.Contains('NET7')) == 'false' AND $(Configuration.Contains('NET6')) == 'false'"> |
| 61 | + Condition="$(Configuration.Contains('NET10')) == 'false' AND $(Configuration.Contains('NET8')) == 'false'"> |
68 | 62 | <Configuration Condition="$(Configuration) == ''">Debug</Configuration> |
69 | 63 | <TargetFrameworks>$(TargetFrameworks)</TargetFrameworks> <!-- the property --> |
70 | 64 | <TargetFrameworks Condition="'$(TargetFrameworks)'==''">$(DO_TargetFrameworks)</TargetFrameworks> <!-- env var --> |
71 | | - <TargetFrameworks Condition="'$(TargetFrameworks)'==''">net8.0;net7.0;net6.0</TargetFrameworks> <!-- fallback to default --> |
| 65 | + <TargetFrameworks Condition="'$(TargetFrameworks)'==''">net8.0;net10.0</TargetFrameworks> <!-- fallback to default --> |
72 | 66 | </PropertyGroup> |
73 | 67 |
|
74 | 68 | <PropertyGroup Condition = "$(Configuration.Contains('Debug')) == 'true'"> |
|
100 | 94 | <ProjectAssetsFile>$(MSBuildProjectExtensionsPath)project.assets.json</ProjectAssetsFile> |
101 | 95 | <ProjectAssetsCacheFile>$(MSBuildProjectExtensionsPath)$(TargetFramework)\$(MSBuildProjectName).assets.cache</ProjectAssetsCacheFile> |
102 | 96 | <OrmKeyFile>$(SolutionDir)Orm\Orm.snk</OrmKeyFile> |
103 | | - <NoWarn>$(NoWarn);NETSDK1138</NoWarn> |
| 97 | + <NoWarn>$(NoWarn);NETSDK1138</NoWarn> |
104 | 98 | </PropertyGroup> |
105 | 99 |
|
106 | 100 | <!-- Populate standard properties. --> |
|
0 commit comments