@@ -42,33 +42,33 @@ Task Build -depends Clean {
4242
4343Task BuildModels {
4444# Exec { dotnet build "nHapi.sln" -c Debug -v q }
45- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.1 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
46- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.2 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
47- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.3 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
48- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.3.1 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
49- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.4 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
50- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.5 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
51- # Exec { ModelGenerator\Bin\Debug\netcoreapp3.1 \ModelGenerator.exe /BasePath . /Version 2.5.1 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
52- Exec { ModelGenerator\Bin\Debug\netcoreapp3. 1 \ModelGenerator.exe / BasePath . / Version 2.6 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
53- Exec { ModelGenerator\Bin\Debug\netcoreapp3. 1 \ModelGenerator.exe / BasePath . / Version 2.7 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
54- Exec { ModelGenerator\Bin\Debug\netcoreapp3. 1 \ModelGenerator.exe / BasePath . / Version 2.7 .1 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
55- Exec { ModelGenerator\Bin\Debug\netcoreapp3. 1 \ModelGenerator.exe / BasePath . / Version 2.8 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
56- Exec { ModelGenerator\Bin\Debug\netcoreapp3. 1 \ModelGenerator.exe / BasePath . / Version 2.8 .1 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
45+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.1 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
46+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.2 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
47+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.3 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
48+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.3.1 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
49+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.4 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
50+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.5 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
51+ # Exec { ModelGenerator\Bin\Debug\net8.0 \ModelGenerator.exe /BasePath . /Version 2.5.1 /ConnectionString "Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;"}
52+ Exec { ModelGenerator\Bin\Debug\net8. 0 \ModelGenerator.exe / BasePath . / Version 2.6 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
53+ Exec { ModelGenerator\Bin\Debug\net8. 0 \ModelGenerator.exe / BasePath . / Version 2.7 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
54+ Exec { ModelGenerator\Bin\Debug\net8. 0 \ModelGenerator.exe / BasePath . / Version 2.7 .1 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
55+ Exec { ModelGenerator\Bin\Debug\net8. 0 \ModelGenerator.exe / BasePath . / Version 2.8 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
56+ Exec { ModelGenerator\Bin\Debug\net8. 0 \ModelGenerator.exe / BasePath . / Version 2.8 .1 / ConnectionString " Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\hl7_72_HQ.mdb;" }
5757}
5858
5959task Test {
6060 # the below nunit runner runs against dotnet framework 461
6161 exec {
62- & $nunitPath \nunit3-console.exe $test_dir \net461 \$unitTestAssembly -- result= " $base_dir \TestResult.xml;format=nunit2"
62+ & $nunitPath \nunit3-console.exe $test_dir \net462 \$unitTestAssembly -- result= " $base_dir \TestResult.xml;format=nunit2"
6363 }
6464
6565 # TODO: Move to using dotnet test to execute the unit tests
6666 # the below works however the output format needs to be tweeked.
67- exec { dotnet test ..\tests\NHapi.NUnit\NHapi.NUnit.csproj - r TestResults - c Release -f net461 -- no- restore -- no- build }
68- exec { dotnet test ..\tests\NHapi.Base.NUnit\NHapi.Base.NUnit.csproj - r TestResults - c Release -f net461 -- no- restore -- no- build }
69- exec { dotnet test ..\tests\NHapi.NUnit.SourceGeneration\NHapi.NUnit.SourceGeneration.csproj - r TestResults - c Release -f net6 .0 -- no- restore -- no- build }
70- exec { dotnet test ..\tests\NHapi.NUnit\NHapi.NUnit.csproj - r TestResults - c Release -f net6 .0 -- no- restore -- no- build }
71- exec { dotnet test ..\tests\NHapi.Base.NUnit\NHapi.Base.NUnit.csproj - r TestResults - c Release -f net6 .0 -- no- restore -- no- build }
67+ exec { dotnet test ..\tests\NHapi.NUnit\NHapi.NUnit.csproj -- results - directory TestResults - c Release -f net462 -- no- restore -- no- build }
68+ exec { dotnet test ..\tests\NHapi.Base.NUnit\NHapi.Base.NUnit.csproj -- results - directory TestResults - c Release -f net462 -- no- restore -- no- build }
69+ exec { dotnet test ..\tests\NHapi.NUnit.SourceGeneration\NHapi.NUnit.SourceGeneration.csproj -- results - directory TestResults - c Release -f net8 .0 -- no- restore -- no- build }
70+ exec { dotnet test ..\tests\NHapi.NUnit\NHapi.NUnit.csproj -- results - directory TestResults - c Release -f net8 .0 -- no- restore -- no- build }
71+ exec { dotnet test ..\tests\NHapi.Base.NUnit\NHapi.Base.NUnit.csproj -- results - directory TestResults - c Release -f net8 .0 -- no- restore -- no- build }
7272}
7373
7474Task Package - depends Build {
0 commit comments