<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">

	<PropertyGroup>
		<NuGetExe Condition="'$(OS)' == 'Windows_NT'">.nuget\NuGet.exe</NuGetExe>
		<NuGetExe Condition="'$(OS)' != 'Windows_NT'">nuget</NuGetExe>
	</PropertyGroup>

	<Target Name="RestorePackages" BeforeTargets="Build" DependsOnTargets="DownloadNuGet">
		<Exec Command="&quot;$(NuGetExe)&quot; Restore &quot;$(SolutionPath)&quot;" />
	</Target>

        <PropertyGroup>
                <NugetDownloadUrl>https://dist.nuget.org/win-x86-commandline/latest/nuget.exe</NugetDownloadUrl>
                <NugetDownloadUrl Condition=" '$(VisualStudioVersion)'=='15.0' ">https://dist.nuget.org/win-x86-commandline/v4.0.0-rc4/nuget.exe</NugetDownloadUrl>
        </PropertyGroup>

	<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
		<CodeTaskAssembly Condition="'$(MSBuildAssemblyVersion)' == ''">$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll</CodeTaskAssembly>
		<!-- In VS2013, the assembly contains the VS version. -->
		<CodeTaskAssembly Condition="'$(MSBuildAssemblyVersion)' == '12.0'">$(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll</CodeTaskAssembly>
		<!-- In VS2015+, the assembly was renamed, hopefully this will be the last condition! -->
		<CodeTaskAssembly Condition="'$(MSBuildAssemblyVersion)' != '' and '$(MSBuildAssemblyVersion)' &gt;= '14.0'">$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll</CodeTaskAssembly>
	</PropertyGroup>

	<Target Name="DownloadNuGet" Condition="'$(OS)' == 'Windows_NT' And !Exists('$(NuGetExe)')">
		<DownloadNuGet TargetPath="$(NuGetExe)" NugetDownloadUrl="$(NugetDownloadUrl)" />
	</Target>

	<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(CodeTaskAssembly)">
		<ParameterGroup>
			<TargetPath ParameterType="System.String" Required="true" />
			<NugetDownloadUrl ParameterType="System.String" Required="true" /><commit_msg>Fix before targets to download NuGet 4.0 so NuGet.exe will have no MSBuild 14 dependency. (#2859)<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">

	<PropertyGroup>
		<NuGetExe Condition="'$(OS)' == 'Windows_NT'">.nuget\NuGet.exe</NuGetExe>
		<NuGetExe Condition="'$(OS)' != 'Windows_NT'">nuget</NuGetExe>
	</PropertyGroup>

	<Target Name="RestorePackages" BeforeTargets="Build" DependsOnTargets="DownloadNuGet">
		<Exec Command="&quot;$(NuGetExe)&quot; Restore &quot;$(SolutionPath)&quot;" />
	</Target>

        <PropertyGroup>
                <NugetDownloadUrl>https://dist.nuget.org/win-x86-commandline/v4.0.0/nuget.exe</NugetDownloadUrl>
        </PropertyGroup>

	<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
		<CodeTaskAssembly Condition="'$(MSBuildAssemblyVersion)' == ''">$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll</CodeTaskAssembly>
		<!-- In VS2013, the assembly contains the VS version. -->
		<CodeTaskAssembly Condition="'$(MSBuildAssemblyVersion)' == '12.0'">$(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll</CodeTaskAssembly>
		<!-- In VS2015+, the assembly was renamed, hopefully this will be the last condition! -->
		<CodeTaskAssembly Condition="'$(MSBuildAssemblyVersion)' != '' and '$(MSBuildAssemblyVersion)' &gt;= '14.0'">$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll</CodeTaskAssembly>
	</PropertyGroup>

	<Target Name="DownloadNuGet" Condition="'$(OS)' == 'Windows_NT' And !Exists('$(NuGetExe)')">
		<DownloadNuGet TargetPath="$(NuGetExe)" NugetDownloadUrl="$(NugetDownloadUrl)" />
	</Target>

	<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(CodeTaskAssembly)">
		<ParameterGroup>
			<TargetPath ParameterType="System.String" Required="true" />
			<NugetDownloadUrl ParameterType="System.String" Required="true" />
{'fraction_non_alphanumeric': 0.184033177812338, 'fraction_numerical': 0.020736132711249352, 'mean_word_length': 6.199626865671642, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5425285', 'n_tokens_mistral': 1378, 'n_tokens_neox': 1171, 'n_words': 187}