<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<Project>

	<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

	<PropertyGroup>
		<GitThisAssembly>false</GitThisAssembly>
		<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>

		<MonoNatABIVersion>2.0.0.0</MonoNatABIVersion>
		<GenerateDocumentationFile>true</GenerateDocumentationFile>

		<BeforePack>$(BeforePack);SetPackProperties</BeforePack>
	</PropertyGroup>

	<PropertyGroup>
		<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.0'">$(DefineConstants);NETSTANDARD2_0</DefineConstants>
		<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.1'">$(DefineConstants);NETSTANDARD2_1</DefineConstants>
	</PropertyGroup>

	<ItemGroup>
		<PackageReference Include="GitInfo" Version="2.0.20" PrivateAssets="all" />
	</ItemGroup>

	<ItemGroup>
		<Content Include="..\LICENSE.md" Pack="true" PackagePath="/" />
	</ItemGroup>


	<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

	<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
		<CoreCompileDependsOn>SetBuildVersion;$(CoreCompileDependsOn)</CoreCompileDependsOn>
	</PropertyGroup>

	<Target Name="SetBuildVersion" DependsOnTargets="GitInfo">
		<PropertyGroup>
			<SourceRevisionId>$(GitSha)</SourceRevisionId>
		</PropertyGroup>
	</Target>

	<Target Name="SetAssemblyVersion" BeforeTargets="GetAssemblyVersion" Condition="'$(RestoreSuccess)' == 'true' And '$(Configuration)' == 'Release' " DependsOnTargets="GitVersion">
		<PropertyGroup>
			<MonoNatFileVersion>2.0.1</MonoNatFileVersion>
			<MonoNatInformationalVersion>$(MonoNatFileVersion)-$(GitBranch)+$(GitCommit)</MonoNatInformationalVersion>

			<AssemblyVersion Condition="'$(AssemblyVersion)' == ''">$(MonoNatABIVersion)</AssemblyVersion>
			<FileVersion Condition="'$(FileVersion)' == ''">$(MonoNatFileVersion)</FileVersion>
			<InformationalVersion Condition="'$(InformationalVersion)' == ''">$(MonoNatInformationalVersion)</InformationalVersion>
		</PropertyGroup>
	</Target>

	<!-- NuGet related properties. We need to run this as part of the 'PackDependsOn' dependencies
			to ensure our GitInfo related properties have been calculated correctly. -->
	<Target Name="SetPackProperties" DependsOnTargets="SetAssemblyVersion">
		<PropertyGroup>
			<Authors><NAME>, <NAME>, <NAME></Authors>
			<PackageDescription>Mono.Nat is a modern and full-featured library which supports both the UPNP (Universal Plug and Play) and NAT-PMP (Port Mapping Protocol) protocols for port forwarding.</PackageDescription>
			<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
			<PackageProjectUrl>https://github.com/mono/Mono.Nat</PackageProjectUrl>
			<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
			<PackageVersion>$(MonoNatFileVersion)</PackageVersion>
			<PackageTags>upnp;natpmp;nat-pmp;port;fowarding</PackageTags>

			<IncludeSource>true</IncludeSource>
			<IncludeSymbols>true</IncludeSymbols>
			<SymbolPackageFormat>snupkg</SymbolPackageFormat>

			<RepositoryType>git</RepositoryType>
			<RepositoryBranch>$(GitBranch)</RepositoryBranch>
			<RepositoryCommit>$(GitSha)</RepositoryCommit>
			<RepositoryUrl>https://github.com/mono/Mono.Nat</RepositoryUrl>

			<Copyright><NAME>, <NAME>, <NAME></Copyright><commit_msg>[build] Update the version number<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<Project>

	<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

	<PropertyGroup>
		<GitThisAssembly>false</GitThisAssembly>
		<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>

		<MonoNatABIVersion>2.0.0.0</MonoNatABIVersion>
		<GenerateDocumentationFile>true</GenerateDocumentationFile>

		<BeforePack>$(BeforePack);SetPackProperties</BeforePack>
	</PropertyGroup>

	<PropertyGroup>
		<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.0'">$(DefineConstants);NETSTANDARD2_0</DefineConstants>
		<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.1'">$(DefineConstants);NETSTANDARD2_1</DefineConstants>
	</PropertyGroup>

	<ItemGroup>
		<PackageReference Include="GitInfo" Version="2.0.20" PrivateAssets="all" />
	</ItemGroup>

	<ItemGroup>
		<Content Include="..\LICENSE.md" Pack="true" PackagePath="/" />
	</ItemGroup>


	<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

	<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
		<CoreCompileDependsOn>SetBuildVersion;$(CoreCompileDependsOn)</CoreCompileDependsOn>
	</PropertyGroup>

	<Target Name="SetBuildVersion" DependsOnTargets="GitInfo">
		<PropertyGroup>
			<SourceRevisionId>$(GitSha)</SourceRevisionId>
		</PropertyGroup>
	</Target>

	<Target Name="SetAssemblyVersion" BeforeTargets="GetAssemblyVersion" Condition="'$(RestoreSuccess)' == 'true' And '$(Configuration)' == 'Release' " DependsOnTargets="GitVersion">
		<PropertyGroup>
			<MonoNatFileVersion>2.0.2</MonoNatFileVersion>
			<MonoNatInformationalVersion>$(MonoNatFileVersion)-$(GitBranch)+$(GitCommit)</MonoNatInformationalVersion>

			<AssemblyVersion Condition="'$(AssemblyVersion)' == ''">$(MonoNatABIVersion)</AssemblyVersion>
			<FileVersion Condition="'$(FileVersion)' == ''">$(MonoNatFileVersion)</FileVersion>
			<InformationalVersion Condition="'$(InformationalVersion)' == ''">$(MonoNatInformationalVersion)</InformationalVersion>
		</PropertyGroup>
	</Target>

	<!-- NuGet related properties. We need to run this as part of the 'PackDependsOn' dependencies
			to ensure our GitInfo related properties have been calculated correctly. -->
	<Target Name="SetPackProperties" DependsOnTargets="SetAssemblyVersion">
		<PropertyGroup>
			<Authors><NAME>, <NAME>, <NAME></Authors>
			<PackageDescription>Mono.Nat is a modern and full-featured library which supports both the UPNP (Universal Plug and Play) and NAT-PMP (Port Mapping Protocol) protocols for port forwarding.</PackageDescription>
			<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
			<PackageProjectUrl>https://github.com/mono/Mono.Nat</PackageProjectUrl>
			<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
			<PackageVersion>$(MonoNatFileVersion)</PackageVersion>
			<PackageTags>upnp;natpmp;nat-pmp;port;fowarding</PackageTags>

			<IncludeSource>true</IncludeSource>
			<IncludeSymbols>true</IncludeSymbols>
			<SymbolPackageFormat>snupkg</SymbolPackageFormat>

			<RepositoryType>git</RepositoryType>
			<RepositoryBranch>$(GitBranch)</RepositoryBranch>
			<RepositoryCommit>$(GitSha)</RepositoryCommit>
			<RepositoryUrl>https://github.com/mono/Mono.Nat</RepositoryUrl>

			<Copyright><NAME>, <NAME>, <NAME></Copyright>
{'fraction_non_alphanumeric': 0.1506849315068493, 'fraction_numerical': 0.007914764079147641, 'mean_word_length': 7.522697795071336, 'pattern_counts': {'":': 0, '<': 185, '<?xml version=': 2, '>': 185, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, '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': '4298264', 'n_tokens_mistral': 2214, 'n_tokens_neox': 1922, 'n_words': 295}