<commit_before>MSBuild ADAL.NET.sln /t:Clean
MSBuild ./src/ADAL.PCL/ADAL.PCL.csproj /t:Build /p:runcodeanalysis=false
MSBuild ./src/ADAL.PCL.Android/ADAL.PCL.Android.csproj /t:Build /p:runcodeanalysis=false
MSBuild ./src/ADAL.PCL.CoreCLR/ADAL.PCL.CoreCLR.csproj /t:Build /p:runcodeanalysis=false
MSBuild ./src/ADAL.PCL.Desktop/ADAL.PCL.Desktop.csproj /t:Build /p:runcodeanalysis=false
MSBuild ./src/ADAL.PCL.iOS/ADAL.PCL.iOS.csproj /t:Build /p:runcodeanalysis=false
MSBuild ./src/ADAL.PCL.WinRT/ADAL.PCL.WinRT.csproj /t:Build /p:runcodeanalysis=false
MSBuild ./tests/Test.ADAL.NET.Unit/Test.ADAL.NET.Unit.csproj /t:Build /p:runcodeanalysis=false<commit_msg>Appveyor CI exits on failure.<commit_after>$ErrorActionPreference = "Stop"

function ExitOnError
{
    if ($LastExitCode -ne 0) {
        # Force the PS script to exit with an error code, signalling the error to AppVeyor
        $host.SetShouldExit($LastExitCode)
        exit $LastExitCode
    }
}

Log ("Building product code...")
MSBuild ./src/ADAL.PCL/ADAL.PCL.csproj /t:Build /p:runcodeanalysis=false
ExitOnError
MSBuild ./src/ADAL.PCL.Android/ADAL.PCL.Android.csproj /t:Build /p:runcodeanalysis=false
ExitOnError
MSBuild ./src/ADAL.PCL.CoreCLR/ADAL.PCL.CoreCLR.csproj /t:Build /p:runcodeanalysis=false
ExitOnError
MSBuild ./src/ADAL.PCL.Desktop/ADAL.PCL.Desktop.csproj /t:Build /p:runcodeanalysis=false
ExitOnError
MSBuild ./src/ADAL.PCL.iOS/ADAL.PCL.iOS.csproj /t:Build /p:runcodeanalysis=false
ExitOnError
MSBuild ./src/ADAL.PCL.WinRT/ADAL.PCL.WinRT.csproj /t:Build /p:runcodeanalysis=false
ExitOnError

Log("Building Tests...")
MSBuild ./tests/Test.ADAL.NET.Unit/Test.ADAL.NET.Unit.csproj /t:Build /p:runcodeanalysis=false
ExitOnError
{'fraction_non_alphanumeric': 0.14176470588235293, 'fraction_numerical': 0.000588235294117647, 'mean_word_length': 4.5227272727272725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5346310', 'n_tokens_mistral': 698, 'n_tokens_neox': 667, 'n_words': 101}