Set C# language version to latest in CI build scripts.

This commit is contained in:
Damian Büchel 2022-02-03 13:37:48 +01:00
parent 1c3e4b450c
commit fa3763a32a
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ assembly_info:
install:
- appveyor DownloadFile "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
build_script:
- msbuild /verbosity:minimal "SafeExamBrowser.sln"
- msbuild /verbosity:minimal /property:langversion=latest "SafeExamBrowser.sln"
test: off
for:

View file

@ -9,7 +9,7 @@ matrix:
before_build:
- nuget restore
build_script:
- msbuild /verbosity:minimal "SafeExamBrowser.sln"
- msbuild /verbosity:minimal /property:langversion=latest "SafeExamBrowser.sln"
test_script:
- .\packages\OpenCover.4.7.1221\tools\OpenCover.Console.exe -register -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Browser.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Browser.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -output:"coverage.xml"
- .\packages\OpenCover.4.7.1221\tools\OpenCover.Console.exe -register -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Client.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Client.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"