<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c)  Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
<Project>
  <!--
    The inclusion of this file will cause the resulting .exe.config to contain redirects for all non-framework dependencies,
    which is needed for plugins loaded into the compiler (e.g. analyzers) that might target lower versions of these dependencies. 
  -->
  <PropertyGroup>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>

  <Target Name="_SuggestBindingRedirectsForNonFrameworkDependencies"
          BeforeTargets="GenerateBindingRedirects"
          DependsOnTargets="ResolveAssemblyReferences"
          Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <ItemGroup>
      <SuggestedBindingRedirects Include="@(ReferencePath->'%(FusionName)')" MaxVersion="%(ReferencePath.Version)" KeepMetadata="-none-" Condition="'%(ReferencePath.FrameworkFile)' != 'true'" />
    </ItemGroup><commit_msg>Avoid generating binding redirects for missing assemblies<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c)  Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
<Project>
  <!--
    The inclusion of this file will cause the resulting .exe.config to contain redirects for all non-framework dependencies,
    which is needed for plugins loaded into the compiler (e.g. analyzers) that might target lower versions of these dependencies. 
  -->
  <PropertyGroup>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>

  <Target Name="_SuggestBindingRedirectsForNonFrameworkDependencies"
          BeforeTargets="GenerateBindingRedirects"
          DependsOnTargets="ResolveAssemblyReferences"
          Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <ItemGroup>
      <!-- Note: ReferencePath.Version can be missing for design time builds prior to the first full build. -->
      <SuggestedBindingRedirects Include="@(ReferencePath->'%(FusionName)')" MaxVersion="%(ReferencePath.Version)" KeepMetadata="-none-" Condition="'%(ReferencePath.FrameworkFile)' != 'true' and '%(ReferencePath.Version)' != ''" />
    </ItemGroup>
{'fraction_non_alphanumeric': 0.11730205278592376, 'fraction_numerical': 0.0041893590280687055, 'mean_word_length': 4.699284009546539, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 2, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5562322', 'n_tokens_mistral': 623, 'n_tokens_neox': 578, 'n_words': 180}