|
6 | 6 | <VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
|
7 | 7 | <!-- Clear VersionSuffix for making release and set it to dev for making development builds -->
|
8 | 8 | <VersionSuffix Condition="'$(VersionSuffix)' == ''">dev</VersionSuffix>
|
9 |
| - <LangVersion Condition="'$(MSBuildProjectExtension)' != '.vbproj'">9.0</LangVersion> |
| 9 | + <LangVersion Condition="'$(MSBuildProjectExtension)' != '.vbproj'">12.0</LangVersion> |
10 | 10 |
|
11 | 11 | <VersionPrefix Condition="'$(VersionPrefix)' == ''">$(NhVersion).$(VersionPatch)</VersionPrefix>
|
12 | 12 | <VersionSuffix Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionSuffix).$(BuildNumber)</VersionSuffix>
|
13 | 13 | <AssemblyVersion>$(NhVersion).0.0</AssemblyVersion>
|
14 | 14 | <FileVersion Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionPrefix).$(BuildNumber)</FileVersion>
|
15 | 15 | <FileVersion Condition="'$(FileVersion)' == ''">$(VersionPrefix).0</FileVersion>
|
16 | 16 |
|
17 |
| - <NhAppTargetFrameworks Condition ="$(NhAppTargetFrameworks) == ''">net48;net6.0</NhAppTargetFrameworks> |
18 |
| - <NhLibTargetFrameworks Condition ="$(NhLibTargetFrameworks) == ''">net461;net48;netcoreapp2.0;netstandard2.0;netstandard2.1;net6.0</NhLibTargetFrameworks> |
| 17 | + <NhAppTargetFrameworks Condition ="$(NhAppTargetFrameworks) == ''">net48;net8.0</NhAppTargetFrameworks> |
| 18 | + <NhLibTargetFrameworks Condition ="$(NhLibTargetFrameworks) == ''">net461;net48;netcoreapp2.0;netstandard2.0;netstandard2.1;net6.0;net8.0</NhLibTargetFrameworks> |
19 | 19 | <NhNetFx>false</NhNetFx>
|
20 | 20 | <NhNetFx Condition="$(TargetFramework.StartsWith('net4'))">true</NhNetFx>
|
21 | 21 | <!-- Visual Basic requires to use coma (,) as a separator, other project types - semicolon (;) -->
|
22 | 22 | <DefineConstants Condition="$(NhNetFx) AND '$(MSBuildProjectExtension)' != '.vbproj'">NETFX;$(DefineConstants)</DefineConstants>
|
23 | 23 | <DefineConstants Condition="$(NhNetFx) AND '$(MSBuildProjectExtension)' == '.vbproj'">NETFX,$(DefineConstants)</DefineConstants>
|
| 24 | + <NoWarn>$(NoWarn);NU1903</NoWarn> |
24 | 25 | <NoWarn Condition="'$(TargetFramework)' == 'net6.0'">$(NoWarn);SYSLIB0011</NoWarn>
|
| 26 | + <NoWarn Condition="'$(TargetFramework)' == 'net8.0'">$(NoWarn);SYSLIB0011;SYSLIB0050;SYSLIB0051</NoWarn> |
25 | 27 |
|
26 | 28 | <Product>NHibernate</Product>
|
27 | 29 | <Company>NHibernate.info</Company>
|
|
0 commit comments