diff --git a/appveyor-release.yml b/appveyor-release.yml index 01879592..365b017c 100644 --- a/appveyor-release.yml +++ b/appveyor-release.yml @@ -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: diff --git a/appveyor-test.yml b/appveyor-test.yml index 10521bc4..b38347d6 100644 --- a/appveyor-test.yml +++ b/appveyor-test.yml @@ -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"