<commit_before><Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <title>ASP.NET Core Logging Integration</title>
    <Description>This site extension enables logging integration for ASP.NET Core applications on Azure App Service.</Description>
    <TargetFramework>$(DefaultNetFxTargetFramework)</TargetFramework>
    <GenerateDocumentationFile>false</GenerateDocumentationFile>
    <PackageTags>aspnet;logging;aspnetcore;AzureSiteExtension;keyvault;configuration;dataprotection</PackageTags>
    <GenerateDocumentationFile>false</GenerateDocumentationFile>
    <PackageType>AzureSiteExtension</PackageType>
    <NoPackageAnalysis>true</NoPackageAnalysis>
    <IncludeBuildOutput>false</IncludeBuildOutput>
    <IncludeSymbols>false</IncludeSymbols>
    <ContentTargetFolders>content</ContentTargetFolders>
    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
    <DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
    <NoSemVer20>true</NoSemVer20>
    <IsPackable>true</IsPackable>
    <IsShipping>true</IsShipping>
    <IsShipping Condition=" '$(PreReleaseVersionLabel)' == 'preview' ">false</IsShipping>

    <!-- Grab packages LB.csproj should have just built. -->
    <RestoreAdditionalProjectSources>$(RestoreAdditionalProjectSources);$(ArtifactsNonShippingPackagesDir)</RestoreAdditionalProjectSources>
  </PropertyGroup>

  <ItemGroup>
    <!--
      Bundle in most down-level versions of the runtime-specific site extension packages. When updating
      $(DefaultNetCoreTargetFramework), add previous SiteExtension packages to the list below. Remove
      entries when packages aren't needed in the bundle anymore.
      -->
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.2.1" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x64" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x86" PrivateAssets="All" />
    <!--
      Coming soon...
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.5.0.x64" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.5.0.x86" PrivateAssets="All" />
    -->
    <!--
      Bundle the just-built LB.csproj package content into this one the easy way. See
      UpdateLatestPackageReferences for the hard way.
    -->
    <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x64"
        Condition=" '$(IsShipping)' == 'false' "
        PrivateAssets="All"
        Version="$(PackageVersion)" />
    <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x86"
        Condition=" '$(IsShipping)' == 'false' "
        PrivateAssets="All"
        Version="$(PackageVersion)" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="applicationHost.xdt" />
    <Content Include="scmApplicationHost.xdt" />
    <Content Include="$(OutputPath)\Microsoft.Web.Xdt.Extensions.dll" PackagePath="content" />
  </ItemGroup>

  <ItemGroup>
    <Reference Include="Microsoft.Web.Xdt.Extensions" PrivateAssets="All" />
  </ItemGroup>

  <!--
    Cannot assume this project and LB.csproj have the same package version because this creates a shipping
    package in non-preview builds and LB.csproj never creates a shipping package.
  -->
  <Target Name="UpdateLatestPackageReferences"
      BeforeTargets="CollectPackageReferences;ResolveAssemblyReferencesDesignTime;ResolveAssemblyReferences"
      Condition=" '$(IsShipping)' == 'true' ">
    <!-- This target is defined in eng/targets/Packaging.targets and included in every C# and F# project. -->
    <MSBuild Projects="$(RepoRoot)src\SiteExtensions\LoggingBranch\LB.csproj"
        Targets="_GetPackageVersionInfo"
        SkipNonexistentProjects="false">
      <Output TaskParameter="TargetOutputs" ItemName="_ResolvedPackageVersionInfo" />
    </MSBuild>

    <ItemGroup>
      <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x64"
          PrivateAssets="All"
          Version="%(_ResolvedPackageVersionInfo.PackageVersion)" />
      <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x86"
          PrivateAssets="All"
          Version="%(_ResolvedPackageVersionInfo.PackageVersion)" />
    </ItemGroup>
  </Target>

  <Target Name="AddContent" BeforeTargets="_GetPackageFiles">
    <ItemGroup>
      <!--
        The x64 & x86 SiteExtension packages have identical deps.json files. We include only the x64 files to
        avoid build warnings.
      -->
      <ContentFilesToPack
          Include="$(NugetPackageRoot)\%(PackageReference.Identity)\%(PackageReference.Version)\content\**\*.*"
          Exclude="$(NugetPackageRoot)\Microsoft.AspNetCore.AzureAppServices.SiteExtension.*.x86\**\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json"/>

      <!-- Temporarily skip the common files -->
      <FilteredContentFilesToPack Include="@(ContentFilesToPack)" Condition="'%(RecursiveDir)' != ''" />
      <None Include="@(FilteredContentFilesToPack)" PackagePath="content\%(RecursiveDir)%(Filename)%(Extension)" Pack="true" />
    </ItemGroup>
  </Target>

</Project>
<commit_msg>Logging site extension is missing net5.0 runtime store (#34862)<commit_after><Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <title>ASP.NET Core Logging Integration</title>
    <Description>This site extension enables logging integration for ASP.NET Core applications on Azure App Service.</Description>
    <TargetFramework>$(DefaultNetFxTargetFramework)</TargetFramework>
    <GenerateDocumentationFile>false</GenerateDocumentationFile>
    <PackageTags>aspnet;logging;aspnetcore;AzureSiteExtension;keyvault;configuration;dataprotection</PackageTags>
    <GenerateDocumentationFile>false</GenerateDocumentationFile>
    <PackageType>AzureSiteExtension</PackageType>
    <NoPackageAnalysis>true</NoPackageAnalysis>
    <IncludeBuildOutput>false</IncludeBuildOutput>
    <IncludeSymbols>false</IncludeSymbols>
    <ContentTargetFolders>content</ContentTargetFolders>
    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
    <DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
    <NoSemVer20>true</NoSemVer20>
    <IsPackable>true</IsPackable>
    <IsShipping>true</IsShipping>
    <IsShipping Condition=" '$(PreReleaseVersionLabel)' == 'preview' ">false</IsShipping>

    <!-- Grab packages LB.csproj should have just built. -->
    <RestoreAdditionalProjectSources>$(RestoreAdditionalProjectSources);$(ArtifactsNonShippingPackagesDir)</RestoreAdditionalProjectSources>
  </PropertyGroup>

  <ItemGroup>
    <!--
      Bundle in most down-level versions of the runtime-specific site extension packages. When updating
      $(DefaultNetCoreTargetFramework), add previous SiteExtension packages to the list below. Remove
      entries when packages aren't needed in the bundle anymore.
      -->
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.2.1" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x64" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x86" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.5.0.x64" PrivateAssets="All" />
    <Reference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.5.0.x86" PrivateAssets="All" />
    <!--
      Bundle the just-built LB.csproj package content into this one the easy way. See
      UpdateLatestPackageReferences for the hard way.
    -->
    <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x64"
        Condition=" '$(IsShipping)' == 'false' "
        PrivateAssets="All"
        Version="$(PackageVersion)" />
    <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x86"
        Condition=" '$(IsShipping)' == 'false' "
        PrivateAssets="All"
        Version="$(PackageVersion)" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="applicationHost.xdt" />
    <Content Include="scmApplicationHost.xdt" />
    <Content Include="$(OutputPath)\Microsoft.Web.Xdt.Extensions.dll" PackagePath="content" />
  </ItemGroup>

  <ItemGroup>
    <Reference Include="Microsoft.Web.Xdt.Extensions" PrivateAssets="All" />
  </ItemGroup>

  <!--
    Cannot assume this project and LB.csproj have the same package version because this creates a shipping
    package in non-preview builds and LB.csproj never creates a shipping package.
  -->
  <Target Name="UpdateLatestPackageReferences"
      BeforeTargets="CollectPackageReferences;ResolveAssemblyReferencesDesignTime;ResolveAssemblyReferences"
      Condition=" '$(IsShipping)' == 'true' ">
    <!-- This target is defined in eng/targets/Packaging.targets and included in every C# and F# project. -->
    <MSBuild Projects="$(RepoRoot)src\SiteExtensions\LoggingBranch\LB.csproj"
        Targets="_GetPackageVersionInfo"
        SkipNonexistentProjects="false">
      <Output TaskParameter="TargetOutputs" ItemName="_ResolvedPackageVersionInfo" />
    </MSBuild>

    <ItemGroup>
      <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x64"
          PrivateAssets="All"
          Version="%(_ResolvedPackageVersionInfo.PackageVersion)" />
      <PackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.$(AspNetCoreMajorMinorVersion).x86"
          PrivateAssets="All"
          Version="%(_ResolvedPackageVersionInfo.PackageVersion)" />
    </ItemGroup>
  </Target>

  <Target Name="AddContent" BeforeTargets="_GetPackageFiles">
    <ItemGroup>
      <!--
        The x64 & x86 SiteExtension packages have identical deps.json files. We include only the x64 files to
        avoid build warnings.
      -->
      <ContentFilesToPack
          Include="$(NugetPackageRoot)\%(PackageReference.Identity)\%(PackageReference.Version)\content\**\*.*"
          Exclude="$(NugetPackageRoot)\Microsoft.AspNetCore.AzureAppServices.SiteExtension.*.x86\**\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json"/>

      <!-- Temporarily skip the common files -->
      <FilteredContentFilesToPack Include="@(ContentFilesToPack)" Condition="'%(RecursiveDir)' != ''" />
      <None Include="@(FilteredContentFilesToPack)" PackagePath="content\%(RecursiveDir)%(Filename)%(Extension)" Pack="true" />
    </ItemGroup>
  </Target>

</Project>

{'fraction_non_alphanumeric': 0.1203651947084032, 'fraction_numerical': 0.007732438978945407, 'mean_word_length': 4.688924218335983, 'pattern_counts': {'":': 0, '<': 164, '<?xml version=': 0, '>': 164, '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': '3147598', 'n_tokens_mistral': 3002, 'n_tokens_neox': 2855, 'n_words': 514}