File tree Expand file tree Collapse file tree 6 files changed +55
-2
lines changed
NHibernate.Test.VisualBasic
NHibernate.TestDatabaseSetup Expand file tree Collapse file tree 6 files changed +55
-2
lines changed Original file line number Diff line number Diff line change 8
8
<OptionExplicit >On</OptionExplicit >
9
9
<OptionStrict >On</OptionStrict >
10
10
</PropertyGroup >
11
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.0'" >
12
+ <DefineConstants >NETCOREAPP2_0,$(DefineConstants)</DefineConstants >
13
+ <OutputType >Exe</OutputType >
14
+ <GenerateProgramFile >false</GenerateProgramFile >
15
+ </PropertyGroup >
16
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net461'" >
17
+ <DefineConstants >NET461,$(DefineConstants)</DefineConstants >
18
+ </PropertyGroup >
11
19
<ItemGroup >
12
20
<None Remove =" **\*.hbm.xml" />
13
21
</ItemGroup >
23
31
<ItemGroup >
24
32
<PackageReference Include =" Microsoft.VisualBasic" Version =" 10.2.0" />
25
33
</ItemGroup >
34
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.0'" >
35
+ <PackageReference Include =" NUnitLite" Version =" 3.9.0" />
36
+ </ItemGroup >
26
37
<ItemGroup >
27
38
<ProjectReference Include =" ..\NHibernate\NHibernate.csproj" />
28
39
<ProjectReference Include =" ..\NHibernate.Test\NHibernate.Test.csproj" ExcludeAssets =" ContentFiles" />
29
40
</ItemGroup >
30
41
<ItemGroup >
31
42
<Service Include =" {82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
32
43
</ItemGroup >
33
- </Project >
44
+ </Project >
Original file line number Diff line number Diff line change
1
+ # If NETCOREAPP2_0
2
+ Public Class Program
3
+ Public Shared Function Main(args As String ()) As Integer
4
+ Return New NUnitLite.AutoRun( GetType (Program).Assembly).Execute(args)
5
+ End Function
6
+ End Class
7
+ # End If
Original file line number Diff line number Diff line change 2
2
<Import Project =" ../../build-common/NHibernate.props" />
3
3
<PropertyGroup >
4
4
<Description >The Unit Tests for NHibernate.</Description >
5
-
6
5
<TargetFrameworks >net461;netcoreapp2.0</TargetFrameworks >
7
6
<IsTestProject >true</IsTestProject >
8
7
<NoWarn >$(NoWarn);3001;3002;3003;3005</NoWarn >
9
8
</PropertyGroup >
9
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.0'" >
10
+ <OutputType >Exe</OutputType >
11
+ <GenerateProgramFile >false</GenerateProgramFile >
12
+ </PropertyGroup >
10
13
<ItemGroup >
11
14
<None Remove =" **\*.hbm.xml" />
12
15
<None Remove =" **\*.jpg" />
69
72
<PackageReference Include =" System.Data.OracleClient" Version =" 1.0.8" />
70
73
<PackageReference Include =" System.Data.Odbc" Version =" 4.5.0-preview1-25914-04" />
71
74
<PackageReference Include =" System.Net.NameResolution" Version =" 4.3.0" />
75
+ <PackageReference Include =" NUnitLite" Version =" 3.9.0" />
72
76
</ItemGroup >
73
77
<ItemGroup Condition =" '$(NuGetPackageRoot)' != '' " >
74
78
<NativeBinaries Include =" $(NuGetPackageRoot)microsoft.sqlserver.compact\4.0.8876.1\NativeBinaries\**\*.*" />
Original file line number Diff line number Diff line change
1
+ #if NETCOREAPP2_0
2
+ namespace NHibernate . Test
3
+ {
4
+ public class Program
5
+ {
6
+ public static int Main ( string [ ] args )
7
+ {
8
+ return new NUnitLite . AutoRun ( typeof ( Program ) . Assembly ) . Execute ( args ) ;
9
+ }
10
+ }
11
+ }
12
+ #endif
Original file line number Diff line number Diff line change 7
7
<IsTestProject >true</IsTestProject >
8
8
<NoWarn >$(NoWarn);3001;3002;3003;3005</NoWarn >
9
9
</PropertyGroup >
10
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.0'" >
11
+ <OutputType >Exe</OutputType >
12
+ <GenerateProgramFile >false</GenerateProgramFile >
13
+ </PropertyGroup >
10
14
<ItemGroup >
11
15
<ProjectReference Include =" ..\NHibernate.Test\NHibernate.Test.csproj" />
12
16
</ItemGroup >
17
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.0'" >
18
+ <PackageReference Include =" NUnitLite" Version =" 3.9.0" />
19
+ </ItemGroup >
13
20
<ItemGroup >
14
21
<Service Include =" {82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
15
22
</ItemGroup >
Original file line number Diff line number Diff line change
1
+ #if NETCOREAPP2_0
2
+ namespace NHibernate . TestDatabaseSetup
3
+ {
4
+ public class Program
5
+ {
6
+ public static int Main ( string [ ] args )
7
+ {
8
+ return new NUnitLite . AutoRun ( typeof ( Program ) . Assembly ) . Execute ( args ) ;
9
+ }
10
+ }
11
+ }
12
+ #endif
You can’t perform that action at this time.
0 commit comments