<commit_before><?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <BaselineReleaseNotes>PREVIEW RELEASE</BaselineReleaseNotes>
  </PropertyGroup>
  
  <Import Project="$(LibrarySourceFolder)\$(Scope)\**\*$(PackageName).nuget.proj"
          Condition=" '$(Scope)' != 'all' " />

  <!--TODO: remove when we convert them to be NetCore based-->
  <Import Project="$(LibrarySourceFolder)\ResourceManagement\Logic\LogicManagement\*.nuget.proj" 
          Condition=" '$(Scope)' == 'all' "/>
  <Import Project="$(LibrarySourceFolder)\ResourceManagement\Scheduler\SchedulerManagement\*.nuget.proj" 
          Condition=" '$(Scope)' == 'all' "/>
  <Import Project="$(LibrarySourceFolder)\Authentication\Common.Authentication\*.nuget.proj"
          Condition=" '$(Scope)' == 'all' "/>
  <Import Project="$(LibrarySourceFolder)\Batch\Client\*.nuget.proj"
          Condition=" '$(Scope)' == 'all' "/>
  <Import Project="$(LibrarySourceFolder)\Batch\FileConventions\*.nuget.proj"
          Condition=" '$(Scope)' == 'all' "/>          
  
  <PropertyGroup>
    <NuGetVerbosity>normal</NuGetVerbosity>
  </PropertyGroup>

  <ItemGroup>
    <NuSpecReplacementTokens Include="BASELINE_RELEASE_NOTES">
      <Value>$(BaselineReleaseNotes)</Value>
    </NuSpecReplacementTokens>
  </ItemGroup>
  
  <Target Name="EnsureBinariesFolderExists">
    <MakeDir Directories="binaries" Condition="!Exists('binaries')" />
    <MakeDir Directories="binaries\packages" Condition="!Exists('binaries\packages')" />
    <MakeDir Directories="binaries\packages\specs" Condition="!Exists('binaries\packages\specs')" />
  </Target>
  
  <UsingTask TaskName="RegexReplacementTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.WindowsAzure.Build.Tasks.dll" />
  <!-- Replacing version token dependency. -->
  <Target Name="BuildDynamicNuSpecs"
          DependsOnTargets="EnsureBinariesFolderExists">
    <!-- First we copy nuspec files to binaries folder -->
    <ItemGroup><commit_msg>Adding the right paths to the Batch nuget spec. Removing nuget spec that have already been converted to NetCore<commit_after><?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <BaselineReleaseNotes>PREVIEW RELEASE</BaselineReleaseNotes>
  </PropertyGroup>
  
  <Import Project="$(LibrarySourceFolder)\$(Scope)\**\*$(PackageName).nuget.proj"
          Condition=" '$(Scope)' != 'all' " />

  <!--TODO: remove when we convert them to be NetCore based-->
  <Import Project="$(LibrarySourceFolder)\Authentication\Common.Authentication\*.nuget.proj"
          Condition=" '$(Scope)' == 'all' "/>
  <Import Project="$(LibrarySourceFolder)\Batch\Client\Src\*.nuget.proj"
          Condition=" '$(Scope)' == 'all' "/>
  <Import Project="$(LibrarySourceFolder)\Batch\FileConventions\Src\AzureBatchFileConventions\*.nuget.proj"
          Condition=" '$(Scope)' == 'all' "/>
  
  <PropertyGroup>
    <NuGetVerbosity>normal</NuGetVerbosity>
  </PropertyGroup>

  <ItemGroup>
    <NuSpecReplacementTokens Include="BASELINE_RELEASE_NOTES">
      <Value>$(BaselineReleaseNotes)</Value>
    </NuSpecReplacementTokens>
  </ItemGroup>
  
  <Target Name="EnsureBinariesFolderExists">
    <MakeDir Directories="binaries" Condition="!Exists('binaries')" />
    <MakeDir Directories="binaries\packages" Condition="!Exists('binaries\packages')" />
    <MakeDir Directories="binaries\packages\specs" Condition="!Exists('binaries\packages\specs')" />
  </Target>
  
  <UsingTask TaskName="RegexReplacementTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.WindowsAzure.Build.Tasks.dll" />
  <!-- Replacing version token dependency. -->
  <Target Name="BuildDynamicNuSpecs"
          DependsOnTargets="EnsureBinariesFolderExists">
    <!-- First we copy nuspec files to binaries folder -->
    <ItemGroup>
{'fraction_non_alphanumeric': 0.16581892166836215, 'fraction_numerical': 0.004577822990844354, 'mean_word_length': 4.642754662840746, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, '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': '4850956', 'n_tokens_mistral': 1212, 'n_tokens_neox': 1128, 'n_words': 187}