<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
    <IntermediateOutputPath Condition="$(IntermediateOutputPath) == '' Or $(IntermediateOutputPath) == '*Undefined*'">$(MSBuildProjectDirectory)\obj\$(Configuration)\</IntermediateOutputPath>
    <GitVersion_NoFetchEnabled Condition="$(GitVersion_NoFetchEnabled) == ''">false</GitVersion_NoFetchEnabled>

    <!-- Property that enables WriteVersionInfoToBuildLog -->
    <WriteVersionInfoToBuildLog Condition=" '$(WriteVersionInfoToBuildLog)' == '' ">true</WriteVersionInfoToBuildLog>

    <!-- Property that enables UpdateAssemblyInfo -->
    <UpdateAssemblyInfo Condition=" '$(UpdateAssemblyInfo)' == '' ">true</UpdateAssemblyInfo>

    <!-- Property that enables GetVersion -->
    <GetVersion Condition=" '$(GetVersion)' == '' ">true</GetVersion>

    <GitVersionTaskLibrary>$(MSBuildThisFileDirectory)</GitVersionTaskLibrary>
  </PropertyGroup>

  <UsingTask
      TaskName="GitVersionTask.UpdateAssemblyInfo"
      AssemblyFile="$(GitVersionTaskLibrary)GitVersionTask.dll" />
  <UsingTask
    TaskName="GitVersionTask.GetVersion"
    AssemblyFile="$(GitVersionTaskLibrary)GitVersionTask.dll"  />
  <UsingTask
      TaskName="GitVersionTask.WriteVersionInfoToBuildLog"
      AssemblyFile="$(GitVersionTaskLibrary)GitVersionTask.dll" />

  <Target Name="WriteVersionInfoToBuildLog" BeforeTargets="CoreCompile" Condition="$(WriteVersionInfoToBuildLog) == 'true'">
    <WriteVersionInfoToBuildLog SolutionDirectory="$(SolutionDir)" NoFetch="$(GitVersion_NoFetchEnabled)"/>
  </Target>
  
  <Target Name="UpdateAssemblyInfo" BeforeTargets="CoreCompile" Condition="$(UpdateAssemblyInfo) == 'true'">
    <UpdateAssemblyInfo
    SolutionDirectory="$(SolutionDir)"
    NoFetch="$(GitVersion_NoFetchEnabled)"
    ProjectFile="$(MSBuildProjectFullPath)"
    IntermediateOutputPath="$(IntermediateOutputPath)"
    RootNamespace="$(RootNamespace)"
    CompileFiles ="@(Compile)">
      <Output
        TaskParameter="AssemblyInfoTempFilePath"
        PropertyName="AssemblyInfoTempFilePath" />
    </UpdateAssemblyInfo>

    <ItemGroup>
      <Compile Include="$(AssemblyInfoTempFilePath)" />
    </ItemGroup>
  </Target>
  
  <Target Name="GetVersion" BeforeTargets="CoreCompile" Condition="$(GetVersion) == 'true'">

    <GetVersion SolutionDirectory="$(SolutionDir)" NoFetch="$(GitVersion_NoFetchEnabled)">
      <Output TaskParameter="Major" PropertyName="GitVersion_Major" />
      <Output TaskParameter="Minor" PropertyName="GitVersion_Minor" />
      <Output TaskParameter="Patch" PropertyName="GitVersion_Patch" />
      <Output TaskParameter="BuildMetaData" PropertyName="GitVersion_BuildMetaData" />
      <Output TaskParameter="BuildMetaDataPadded" PropertyName="GitVersion_BuildMetaDataPadded" />
      <Output TaskParameter="FullBuildMetaData" PropertyName="GitVersion_FullBuildMetaData" />
      <Output TaskParameter="BranchName" PropertyName="GitVersion_BranchName" />
      <Output TaskParameter="Sha" PropertyName="GitVersion_Sha" />
      <Output TaskParameter="MajorMinorPatch" PropertyName="GitVersion_MajorMinorPatch" />
      <Output TaskParameter="SemVer" PropertyName="GitVersion_SemVer" />
      <Output TaskParameter="LegacySemVer" PropertyName="GitVersion_LegacySemVer" />
      <Output TaskParameter="LegacySemVerPadded" PropertyName="GitVersion_LegacySemVerPadded" />
      <Output TaskParameter="FullSemVer" PropertyName="GitVersion_FullSemVer" />
      <Output TaskParameter="AssemblySemVer" PropertyName="GitVersion_AssemblySemVer" />
      <Output TaskParameter="NuGetVersion" PropertyName="GitVersion_NuGetVersion" />
      <Output TaskParameter="NuGetPreReleaseTag" PropertyName="GitVersion_NuGetPreReleaseTag" />
      <Output TaskParameter="PreReleaseTag" PropertyName="GitVersion_PreReleaseTag" />
      <Output TaskParameter="PreReleaseTagWithDash" PropertyName="GitVersion_PreReleaseTagWithDash" />
      <Output TaskParameter="PreReleaseLabel" PropertyName="GitVersion_PreReleaseLabel" />
      <Output TaskParameter="PreReleaseNumber" PropertyName="GitVersion_PreReleaseNumber" />
      <Output TaskParameter="InformationalVersion" PropertyName="GitVersion_InformationalVersion" />
      <Output TaskParameter="CommitDate" PropertyName="GitVersion_CommitDate" />
      <Output TaskParameter="CommitsSinceVersionSource" PropertyName="GitVersion_CommitsSinceVersionSource" />
      <Output TaskParameter="CommitsSinceVersionSourcePadded" PropertyName="GitVersion_CommitsSinceVersionSourcePadded" />
    </GetVersion>

  </Target>

  <!--Support for ncrunch-->
  <ItemGroup>
    <None Include="$(GitVersionTaskDir)GitVersionTask.dll">
      <Visible>False</Visible>
    </None>
    <None Include="$(GitVersionTaskDir)GitVersionTask.pdb">
      <Visible>False</Visible>
    </None>
    <None Include="$(GitVersionTaskDir)NativeBinaries\**\*">
      <Visible>False</Visible>
    </None>
  </ItemGroup>

</Project>

<commit_msg>#1053: exclude the NCrunch-required ItemGroup when NCrunch is not installed<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
    <IntermediateOutputPath Condition="$(IntermediateOutputPath) == '' Or $(IntermediateOutputPath) == '*Undefined*'">$(MSBuildProjectDirectory)\obj\$(Configuration)\</IntermediateOutputPath>
    <GitVersion_NoFetchEnabled Condition="$(GitVersion_NoFetchEnabled) == ''">false</GitVersion_NoFetchEnabled>

    <!-- Property that enables WriteVersionInfoToBuildLog -->
    <WriteVersionInfoToBuildLog Condition=" '$(WriteVersionInfoToBuildLog)' == '' ">true</WriteVersionInfoToBuildLog>

    <!-- Property that enables UpdateAssemblyInfo -->
    <UpdateAssemblyInfo Condition=" '$(UpdateAssemblyInfo)' == '' ">true</UpdateAssemblyInfo>

    <!-- Property that enables GetVersion -->
    <GetVersion Condition=" '$(GetVersion)' == '' ">true</GetVersion>

    <GitVersionTaskLibrary>$(MSBuildThisFileDirectory)</GitVersionTaskLibrary>
  </PropertyGroup>

  <UsingTask
      TaskName="GitVersionTask.UpdateAssemblyInfo"
      AssemblyFile="$(GitVersionTaskLibrary)GitVersionTask.dll" />
  <UsingTask
    TaskName="GitVersionTask.GetVersion"
    AssemblyFile="$(GitVersionTaskLibrary)GitVersionTask.dll"  />
  <UsingTask
      TaskName="GitVersionTask.WriteVersionInfoToBuildLog"
      AssemblyFile="$(GitVersionTaskLibrary)GitVersionTask.dll" />

  <Target Name="WriteVersionInfoToBuildLog" BeforeTargets="CoreCompile" Condition="$(WriteVersionInfoToBuildLog) == 'true'">
    <WriteVersionInfoToBuildLog SolutionDirectory="$(SolutionDir)" NoFetch="$(GitVersion_NoFetchEnabled)"/>
  </Target>
  
  <Target Name="UpdateAssemblyInfo" BeforeTargets="CoreCompile" Condition="$(UpdateAssemblyInfo) == 'true'">
    <UpdateAssemblyInfo
    SolutionDirectory="$(SolutionDir)"
    NoFetch="$(GitVersion_NoFetchEnabled)"
    ProjectFile="$(MSBuildProjectFullPath)"
    IntermediateOutputPath="$(IntermediateOutputPath)"
    RootNamespace="$(RootNamespace)"
    CompileFiles ="@(Compile)">
      <Output
        TaskParameter="AssemblyInfoTempFilePath"
        PropertyName="AssemblyInfoTempFilePath" />
    </UpdateAssemblyInfo>

    <ItemGroup>
      <Compile Include="$(AssemblyInfoTempFilePath)" />
    </ItemGroup>
  </Target>
  
  <Target Name="GetVersion" BeforeTargets="CoreCompile" Condition="$(GetVersion) == 'true'">

    <GetVersion SolutionDirectory="$(SolutionDir)" NoFetch="$(GitVersion_NoFetchEnabled)">
      <Output TaskParameter="Major" PropertyName="GitVersion_Major" />
      <Output TaskParameter="Minor" PropertyName="GitVersion_Minor" />
      <Output TaskParameter="Patch" PropertyName="GitVersion_Patch" />
      <Output TaskParameter="BuildMetaData" PropertyName="GitVersion_BuildMetaData" />
      <Output TaskParameter="BuildMetaDataPadded" PropertyName="GitVersion_BuildMetaDataPadded" />
      <Output TaskParameter="FullBuildMetaData" PropertyName="GitVersion_FullBuildMetaData" />
      <Output TaskParameter="BranchName" PropertyName="GitVersion_BranchName" />
      <Output TaskParameter="Sha" PropertyName="GitVersion_Sha" />
      <Output TaskParameter="MajorMinorPatch" PropertyName="GitVersion_MajorMinorPatch" />
      <Output TaskParameter="SemVer" PropertyName="GitVersion_SemVer" />
      <Output TaskParameter="LegacySemVer" PropertyName="GitVersion_LegacySemVer" />
      <Output TaskParameter="LegacySemVerPadded" PropertyName="GitVersion_LegacySemVerPadded" />
      <Output TaskParameter="FullSemVer" PropertyName="GitVersion_FullSemVer" />
      <Output TaskParameter="AssemblySemVer" PropertyName="GitVersion_AssemblySemVer" />
      <Output TaskParameter="NuGetVersion" PropertyName="GitVersion_NuGetVersion" />
      <Output TaskParameter="NuGetPreReleaseTag" PropertyName="GitVersion_NuGetPreReleaseTag" />
      <Output TaskParameter="PreReleaseTag" PropertyName="GitVersion_PreReleaseTag" />
      <Output TaskParameter="PreReleaseTagWithDash" PropertyName="GitVersion_PreReleaseTagWithDash" />
      <Output TaskParameter="PreReleaseLabel" PropertyName="GitVersion_PreReleaseLabel" />
      <Output TaskParameter="PreReleaseNumber" PropertyName="GitVersion_PreReleaseNumber" />
      <Output TaskParameter="InformationalVersion" PropertyName="GitVersion_InformationalVersion" />
      <Output TaskParameter="CommitDate" PropertyName="GitVersion_CommitDate" />
      <Output TaskParameter="CommitsSinceVersionSource" PropertyName="GitVersion_CommitsSinceVersionSource" />
      <Output TaskParameter="CommitsSinceVersionSourcePadded" PropertyName="GitVersion_CommitsSinceVersionSourcePadded" />
    </GetVersion>

  </Target>

  <!--Support for ncrunch-->
  <ItemGroup Condition=" $(NCrunch) != '' ">
    <None Include="$(GitVersionTaskDir)GitVersionTask.dll">
      <Visible>False</Visible>
    </None>
    <None Include="$(GitVersionTaskDir)GitVersionTask.pdb">
      <Visible>False</Visible>
    </None>
    <None Include="$(GitVersionTaskDir)NativeBinaries\**\*">
      <Visible>False</Visible>
    </None>
  </ItemGroup>

</Project>


{'fraction_non_alphanumeric': 0.13287789858558646, 'fraction_numerical': 0.002116809390936207, 'mean_word_length': 6.168275862068966, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 2, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6124463', 'n_tokens_mistral': 2998, 'n_tokens_neox': 2741, 'n_words': 383}