<commit_before><Project>

  <PropertyGroup>
    <PrepareDependsOn>$(PrepareDependsOn)</PrepareDependsOn>
    <GetArtifactInfoDependsOn>$(GetArtifactInfoDependsOn);GetNativeArtifactsInfo</GetArtifactInfoDependsOn>
    <CompileDependsOn Condition="'$(OS)'=='Windows_NT'">BuildNativeAssets;$(CompileDependsOn)</CompileDependsOn>
    <PackageDependsOn Condition="'$(OS)'=='Windows_NT'">$(PackageDependsOn);PackageNativeProjects</PackageDependsOn>
    <TestDependsOn>$(TestDependsOn);RunNativeTest</TestDependsOn>
    <NuGetVerifierRuleFile Condition="'$(OS)' != 'Windows_NT'">$(RepositoryRoot)NuGetPackageVerifier.xplat.json</NuGetVerifierRuleFile>
    <SourceBase>$(RepositoryRoot)src\</SourceBase>
    <NativeOutput>bin\$(Configuration)\</NativeOutput>
  </PropertyGroup>

  <ItemGroup>
    <Platforms Include="x86" VCPlatform="Win32" />
    <Platforms Include="x64" VCPlatform="x64" />
  </ItemGroup>
  <Import Project="assets.props" />

  <Target Name="BuildNativeAssets" DependsOnTargets="Prepare;GetToolsets" >
    <PropertyGroup>
      <BuildArgs>-p:Configuration=Native$(Configuration) -v:m -nologo -clp:NoSummary -p:CommitHash=$(CommitHash) -m</BuildArgs>
    </PropertyGroup>

    <ItemGroup>
      <ANCMProject Include="$(MSBuildThisFileDirectory)..\IISIntegration.sln $(BuildArgs)  -p:Platform=%(Platforms.Identity) -bl:$(LogOutputDir)native.%(Platforms.Identity).binlog"/>
    </ItemGroup>

    <Error
      Text="Could not find an installation of Visual Studio with the C++ development tools."
      Condition="'$(VisualStudioMSBuildx86Path)' == ''" />

    <Exec Command="&quot;$(VisualStudioMSBuildx86Path)&quot; %(ANCMProject.Identity)"
      Condition="'$(VisualStudioMSBuildx86Path)' != ''" />
  </Target>

  <Target Name="GetNativeArtifactsInfo">
    <PropertyGroup>
      <AncmPackageOutputPath>$(BuildDir)Microsoft.AspNetCore.AspNetCoreModule.$(PackageVersion).nupkg</AncmPackageOutputPath>
      <AncmV2PackageOutputPath>$(BuildDir)Microsoft.AspNetCore.AspNetCoreModuleV2.$(PackageVersion).nupkg</AncmV2PackageOutputPath>
    </PropertyGroup>

    <ItemGroup Condition=" '$(OS)' == 'Windows_NT' ">
      <ArtifactInfo Include="$(AncmPackageOutputPath)">
        <ArtifactType>NuGetPackage</ArtifactType>
        <PackageId>Microsoft.AspNetCore.AspNetCoreModule</PackageId>
        <Version>$(PackageVersion)</Version>
        <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
      </ArtifactInfo>
      <FilesToSign Include="$(AncmPackageOutputPath)" Certificate="$(PackageSigningCertName)" />
      <FilesToSign Include="$(RepositoryRoot)tools\installancm.ps1" Container="$(AncmPackageOutputPath)" Certificate="$(PowerShellSigningCertName)" />

      <ArtifactInfo Include="$(AncmV2PackageOutputPath)">
        <ArtifactType>NuGetPackage</ArtifactType>
        <PackageId>Microsoft.AspNetCore.AspNetCoreModuleV2</PackageId>
        <Version>$(PackageVersion)</Version>
        <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
      </ArtifactInfo>
      <FilesToSign Include="$(AncmV2PackageOutputPath)" Certificate="$(PackageSigningCertName)" />

      <ArtifactInfo Include="$(StressTestWebSiteZipOutputPath)">
        <ArtifactType>ZipArchive</ArtifactType>
        <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
        <Category>noship</Category>
      </ArtifactInfo>

      <FilesToExcludeFromSigning Include="$(StressTestWebSiteZipOutputPath)" />
      <FilesToExcludeFromSigning Include="AspNetCore\ancm.mof" Container="$(AncmV2PackageOutputPath)" />
    </ItemGroup>
  </Target>

  <Target Name="PackageNativeProjects">
    <PropertyGroup>
      <AspNetCoreModuleV2PropsFile>$(MSBuildThisFileDirectory)..\nuget\Microsoft.AspNetCore.AspNetCoreModuleV2.props.in</AspNetCoreModuleV2PropsFile>
      <AspNetCoreModuleV2PropsOutputFile>$(MSBuildThisFileDirectory)..\artifacts\Microsoft.AspNetCore.AspNetCoreModuleV2.props</AspNetCoreModuleV2PropsOutputFile>
    </PropertyGroup>

    <GenerateFileFromTemplate
        TemplateFile="$(AspNetCoreModuleV2PropsFile)"
        Properties="AspNetCoreModuleOutOfProcessVersion=$(AspNetCoreModuleOutOfProcessVersion)"
        OutputPath="$(AspNetCoreModuleV2PropsOutputFile)" />

    <PackNuspec NuspecPath="$(MSBuildThisFileDirectory)..\nuget\Microsoft.AspNetCore.AspNetCoreModule.nuspec"
      DestinationFolder="$(BuildDir)"
      Properties="version=$(PackageVersion);Configuration=$(Configuration)"
      Overwrite="true"
      BasePath="$(RepositoryRoot)" />

    <PackNuspec NuspecPath="$(MSBuildThisFileDirectory)..\nuget\Microsoft.AspNetCore.AspNetCoreModuleV2.nuspec"
      DestinationFolder="$(BuildDir)"
      Properties="version=$(PackageVersion);Configuration=$(Configuration);AspNetCoreModuleOutOfProcessVersion=$(AspNetCoreModuleOutOfProcessVersion);AspNetCoreModuleV2Props=$(AspNetCoreModuleV2PropsOutputFile)"
      Overwrite="true"
      BasePath="$(RepositoryRoot)" />

    <ItemGroup>
      <AncmFiles Include="%(Components.DllLocation)" Link="%(Components.BaseOutputPath)\%(Components.Platform)\%(Components.NativeAsset).dll" />
      <AncmFiles Include="%(Components.PdbLocation)" Link="%(Components.BaseOutputPath)\%(Components.Platform)\%(Components.NativeAsset).pdb" />

      <!-- Schema-->
      <AncmFiles Include="$(SourceBase)AspNetCoreModuleV2\AspNetCore\aspnetcore_schema_v2.xml" Link="AspNetCoreModuleV1\aspnetcore_schema.xml" />
      <AncmFiles Include="$(SourceBase)AspNetCoreModuleV2\AspNetCore\aspnetcore_schema_v2.xml" Link="AspNetCoreModuleV2\aspnetcore_schema_v2.xml" />
      <AncmFiles Include="$(SourceBase)AspNetCoreModuleV2\AspNetCore\ancm.mof" Link="AspNetCoreModuleV2\ancm.mof" />
    </ItemGroup>

  </Target>

  <Target Name="RunNativeTest" DependsOnTargets="GetToolsets">
    <PropertyGroup>
      <BuildArgs>-p:Configuration=$(Configuration) -v:m -nologo -clp:NoSummary</BuildArgs>
    </PropertyGroup>
    <Exec Command="&quot;$(VisualStudioMSBuildx86Path)&quot; &quot;$(RepositoryRoot)test\CommonLibTests\CommonLibTests.vcxproj&quot; /t:Test $(BuildArgs) -p:Platform=%(Platforms.VCPlatform)"
      Condition="'$(VisualStudioMSBuildx86Path)' != ''" />
  </Target>

  <Target Name="PackageStressTestApp">
    <PropertyGroup>
      <StressAppBasePath>$(MSBuildThisFileDirectory)..\test\WebSites\StressTestWebSite\</StressAppBasePath>
      <StressAppPublishPath>$(StressAppBasePath)bin\published\</StressAppPublishPath>
    </PropertyGroup>

    <RemoveDir Directories="$(StressAppPublishPath)" />
    <MSBuild
      Projects="$(StressAppBasePath)\StressTestWebSite.csproj"
      Targets="Publish"
      Properties="TargetFramework=netcoreapp2.2;Configuration=$(Configuration);RuntimeIdentifier=win7-%(Platforms.Identity);PublishDir=$(StressAppPublishPath)\%(Identity);BuildProjectReferences=false" />

    <ItemGroup>
      <StressAppFiles Include="$(StressAppPublishPath)\**\*" />
    </ItemGroup>

    <ZipArchive File="$(StressTestWebSiteZipOutputPath)"
      Overwrite="true"
      SourceFiles="@(StressAppFiles)"
      WorkingDirectory="$(StressAppPublishPath)" />
  </Target>
</Project>
<commit_msg>Remove artifact info for StressTestWebSite.zip<commit_after><Project>

  <PropertyGroup>
    <PrepareDependsOn>$(PrepareDependsOn)</PrepareDependsOn>
    <GetArtifactInfoDependsOn>$(GetArtifactInfoDependsOn);GetNativeArtifactsInfo</GetArtifactInfoDependsOn>
    <CompileDependsOn Condition="'$(OS)'=='Windows_NT'">BuildNativeAssets;$(CompileDependsOn)</CompileDependsOn>
    <PackageDependsOn Condition="'$(OS)'=='Windows_NT'">$(PackageDependsOn);PackageNativeProjects</PackageDependsOn>
    <TestDependsOn>$(TestDependsOn);RunNativeTest</TestDependsOn>
    <NuGetVerifierRuleFile Condition="'$(OS)' != 'Windows_NT'">$(RepositoryRoot)NuGetPackageVerifier.xplat.json</NuGetVerifierRuleFile>
    <SourceBase>$(RepositoryRoot)src\</SourceBase>
    <NativeOutput>bin\$(Configuration)\</NativeOutput>
  </PropertyGroup>

  <ItemGroup>
    <Platforms Include="x86" VCPlatform="Win32" />
    <Platforms Include="x64" VCPlatform="x64" />
  </ItemGroup>
  <Import Project="assets.props" />

  <Target Name="BuildNativeAssets" DependsOnTargets="Prepare;GetToolsets" >
    <PropertyGroup>
      <BuildArgs>-p:Configuration=Native$(Configuration) -v:m -nologo -clp:NoSummary -p:CommitHash=$(CommitHash) -m</BuildArgs>
    </PropertyGroup>

    <ItemGroup>
      <ANCMProject Include="$(MSBuildThisFileDirectory)..\IISIntegration.sln $(BuildArgs)  -p:Platform=%(Platforms.Identity) -bl:$(LogOutputDir)native.%(Platforms.Identity).binlog"/>
    </ItemGroup>

    <Error
      Text="Could not find an installation of Visual Studio with the C++ development tools."
      Condition="'$(VisualStudioMSBuildx86Path)' == ''" />

    <Exec Command="&quot;$(VisualStudioMSBuildx86Path)&quot; %(ANCMProject.Identity)"
      Condition="'$(VisualStudioMSBuildx86Path)' != ''" />
  </Target>

  <Target Name="GetNativeArtifactsInfo">
    <PropertyGroup>
      <AncmPackageOutputPath>$(BuildDir)Microsoft.AspNetCore.AspNetCoreModule.$(PackageVersion).nupkg</AncmPackageOutputPath>
      <AncmV2PackageOutputPath>$(BuildDir)Microsoft.AspNetCore.AspNetCoreModuleV2.$(PackageVersion).nupkg</AncmV2PackageOutputPath>
    </PropertyGroup>

    <ItemGroup Condition=" '$(OS)' == 'Windows_NT' ">
      <ArtifactInfo Include="$(AncmPackageOutputPath)">
        <ArtifactType>NuGetPackage</ArtifactType>
        <PackageId>Microsoft.AspNetCore.AspNetCoreModule</PackageId>
        <Version>$(PackageVersion)</Version>
        <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
      </ArtifactInfo>
      <FilesToSign Include="$(AncmPackageOutputPath)" Certificate="$(PackageSigningCertName)" />
      <FilesToSign Include="$(RepositoryRoot)tools\installancm.ps1" Container="$(AncmPackageOutputPath)" Certificate="$(PowerShellSigningCertName)" />

      <ArtifactInfo Include="$(AncmV2PackageOutputPath)">
        <ArtifactType>NuGetPackage</ArtifactType>
        <PackageId>Microsoft.AspNetCore.AspNetCoreModuleV2</PackageId>
        <Version>$(PackageVersion)</Version>
        <RepositoryRoot>$(RepositoryRoot)</RepositoryRoot>
      </ArtifactInfo>
      <FilesToSign Include="$(AncmV2PackageOutputPath)" Certificate="$(PackageSigningCertName)" />

      <FilesToExcludeFromSigning Include="AspNetCore\ancm.mof" Container="$(AncmV2PackageOutputPath)" />
    </ItemGroup>
  </Target>

  <Target Name="PackageNativeProjects">
    <PropertyGroup>
      <AspNetCoreModuleV2PropsFile>$(MSBuildThisFileDirectory)..\nuget\Microsoft.AspNetCore.AspNetCoreModuleV2.props.in</AspNetCoreModuleV2PropsFile>
      <AspNetCoreModuleV2PropsOutputFile>$(MSBuildThisFileDirectory)..\artifacts\Microsoft.AspNetCore.AspNetCoreModuleV2.props</AspNetCoreModuleV2PropsOutputFile>
    </PropertyGroup>

    <GenerateFileFromTemplate
        TemplateFile="$(AspNetCoreModuleV2PropsFile)"
        Properties="AspNetCoreModuleOutOfProcessVersion=$(AspNetCoreModuleOutOfProcessVersion)"
        OutputPath="$(AspNetCoreModuleV2PropsOutputFile)" />

    <PackNuspec NuspecPath="$(MSBuildThisFileDirectory)..\nuget\Microsoft.AspNetCore.AspNetCoreModule.nuspec"
      DestinationFolder="$(BuildDir)"
      Properties="version=$(PackageVersion);Configuration=$(Configuration)"
      Overwrite="true"
      BasePath="$(RepositoryRoot)" />

    <PackNuspec NuspecPath="$(MSBuildThisFileDirectory)..\nuget\Microsoft.AspNetCore.AspNetCoreModuleV2.nuspec"
      DestinationFolder="$(BuildDir)"
      Properties="version=$(PackageVersion);Configuration=$(Configuration);AspNetCoreModuleOutOfProcessVersion=$(AspNetCoreModuleOutOfProcessVersion);AspNetCoreModuleV2Props=$(AspNetCoreModuleV2PropsOutputFile)"
      Overwrite="true"
      BasePath="$(RepositoryRoot)" />

    <ItemGroup>
      <AncmFiles Include="%(Components.DllLocation)" Link="%(Components.BaseOutputPath)\%(Components.Platform)\%(Components.NativeAsset).dll" />
      <AncmFiles Include="%(Components.PdbLocation)" Link="%(Components.BaseOutputPath)\%(Components.Platform)\%(Components.NativeAsset).pdb" />

      <!-- Schema-->
      <AncmFiles Include="$(SourceBase)AspNetCoreModuleV2\AspNetCore\aspnetcore_schema_v2.xml" Link="AspNetCoreModuleV1\aspnetcore_schema.xml" />
      <AncmFiles Include="$(SourceBase)AspNetCoreModuleV2\AspNetCore\aspnetcore_schema_v2.xml" Link="AspNetCoreModuleV2\aspnetcore_schema_v2.xml" />
      <AncmFiles Include="$(SourceBase)AspNetCoreModuleV2\AspNetCore\ancm.mof" Link="AspNetCoreModuleV2\ancm.mof" />
    </ItemGroup>

  </Target>

  <Target Name="RunNativeTest" DependsOnTargets="GetToolsets">
    <PropertyGroup>
      <BuildArgs>-p:Configuration=$(Configuration) -v:m -nologo -clp:NoSummary</BuildArgs>
    </PropertyGroup>
    <Exec Command="&quot;$(VisualStudioMSBuildx86Path)&quot; &quot;$(RepositoryRoot)test\CommonLibTests\CommonLibTests.vcxproj&quot; /t:Test $(BuildArgs) -p:Platform=%(Platforms.VCPlatform)"
      Condition="'$(VisualStudioMSBuildx86Path)' != ''" />
  </Target>

  <Target Name="PackageStressTestApp">
    <PropertyGroup>
      <StressAppBasePath>$(MSBuildThisFileDirectory)..\test\WebSites\StressTestWebSite\</StressAppBasePath>
      <StressAppPublishPath>$(StressAppBasePath)bin\published\</StressAppPublishPath>
    </PropertyGroup>

    <RemoveDir Directories="$(StressAppPublishPath)" />
    <MSBuild
      Projects="$(StressAppBasePath)\StressTestWebSite.csproj"
      Targets="Publish"
      Properties="TargetFramework=netcoreapp2.2;Configuration=$(Configuration);RuntimeIdentifier=win7-%(Platforms.Identity);PublishDir=$(StressAppPublishPath)\%(Identity);BuildProjectReferences=false" />

    <ItemGroup>
      <StressAppFiles Include="$(StressAppPublishPath)\**\*" />
    </ItemGroup>

    <ZipArchive File="$(StressTestWebSiteZipOutputPath)"
      Overwrite="true"
      SourceFiles="@(StressAppFiles)"
      WorkingDirectory="$(StressAppPublishPath)" />
  </Target>
</Project>

{'fraction_non_alphanumeric': 0.14454598201334493, 'fraction_numerical': 0.007107629823034523, 'mean_word_length': 6.017302798982188, 'pattern_counts': {'":': 0, '<': 232, '<?xml version=': 0, '>': 232, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '4876263', 'n_tokens_mistral': 4207, 'n_tokens_neox': 4032, 'n_words': 378}