<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <NemerleVersion>Net-4.0</NemerleVersion>
    <NemerleBinPathRoot Condition=" '$(NemerleBinPathRoot)' == '' ">$(ProgramFiles)\Nemerle</NemerleBinPathRoot>
    <Nemerle Condition=" '$(Nemerle)' == '' ">$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle>
    <CommonFilesPath Condition=" '$(CommonFilesPath)' == '' ">$(MSBuildProjectDirectory)\..\..\Common</CommonFilesPath>
    <ExternalToolsPath Condition=" '$(ExternalToolsPath)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..\ExternalTools'))</ExternalToolsPath>
    <NugetPackagesPath Condition=" '$(NugetPackagesPath)' == '' ">$(MSBuildProjectDirectory)\..\..\packages</NugetPackagesPath>
    <SolutionRoot Condition=" '$(SolutionRoot)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..'))</SolutionRoot>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{E83ABDE7-81E4-4127-AE94-B630B842B9A7}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>CSharp.VisualStudio.Plugin</RootNamespace>
    <AssemblyName>CSharp.VisualStudio.Plugin</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\Grammars\CSharp\CSharp.Grammar\CSharp.Grammar.nproj">
      <Project>{249928bb-c446-42b3-bff3-ca98dabb9609}</Project>
      <Name>CSharp.Grammar</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra.LanguageCompiler\Nitra.LanguageCompiler.nproj">
      <Project>{5b187ce9-5655-4d43-bfec-0d77b5c63818}</Project>
      <Name>Nitra.LanguageCompiler</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\ClientServer\Nitra.ClientServer.Client\Nitra.ClientServer.Client.nproj">
      <Project>{43be6b32-535b-40d4-943a-0797ba1b6a90}</Project>
      <Name>Nitra.ClientServer.Client</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\ClientServer\Nitra.ClientServer.Messages\Nitra.ClientServer.Messages.nproj">
      <Project>{7908821a-47a0-42f4-b6e5-f3062ba8a06a}</Project>
      <Name>Nitra.ClientServer.Messages</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\ClientServer\Nitra.ClientServer.Server\Nitra.ClientServer.Server.nproj">
      <Project>{705d1c4f-0ac8-4bdc-80cd-e3d26cfa5397}</Project>
      <Name>Nitra.ClientServer.Server</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\DotNetLang\DotNetLang.nproj">
      <Project>{d3c87d75-e119-4d30-a8be-dc28014bb653}</Project>
      <Name>DotNetLang</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\Nitra.Runtime\Nitra.Runtime.nproj">
      <Project>{9db13eb2-28e3-432b-8c8f-0e39ef5bcc38}</Project>
      <Name>Nitra.Runtime</Name>
    </ProjectReference>
    <Reference Include="Nemerle">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>$(Nemerle)\Nemerle.dll</HintPath>
      <CopyLocal>True</CopyLocal>
      <Private>True</Private>
    </Reference>
    <Reference Include="System" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="CodeFile1.cs" />
  </ItemGroup>
  <PropertyGroup>
    <LanguageName>NitraCSharp</LanguageName>
    <VsPackageName>$(LanguageName)VsPackage</VsPackageName>
    <VsPackagePath>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)..\..\$(VsPackageName)'))</VsPackagePath>
    <VsPackageProjectPath>$(VsPackagePath)\$(VsPackageName).csproj</VsPackageProjectPath>
    <NuGetSource>https://www.nuget.org/api/v2</NuGetSource>
  </PropertyGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Target Name="AfterBuild">
    <ItemGroup>
      <!-- Add links to the necessary assembly in this project. It will be copied to the Templates\XXLanguageXXVsPackage\ClientServerEngine -->
      <ClientServerEngine Include="$(TargetDir)*.*" Exclude="$(TargetDir)$(TargetName).*" />
    </ItemGroup>
    <Message Text="!!!Copy: '@(ClientServerEngine)' -> '$(TargetDir)Templates\XXLanguageXXVsPackage\ClientServerEngine'" Importance="high" />
    <Copy SourceFiles="@(ClientServerEngine)" DestinationFolder="$(TargetDir)Templates\XXLanguageXXVsPackage\ClientServerEngine" />
    <Exec Command="..\..\..\..\Nitra.LanguageCompiler\$(OutputPath)Nitra.LanguageCompiler.exe /lang:$(LanguageName) /ns:Nitra.CSharp /out:..\..\..\ .\CSharp.Grammar.dll" WorkingDirectory="$(TargetDir)" />
    <Exec Command="$(SolutionRoot)\NuGet\RestoreNuGetPkgs.cmd &quot;$(VsPackagePath)&quot; &quot;$(NuGetSource)&quot;" WorkingDirectory="$(VsPackagePath)" />
    <MSBuild Projects="$(VsPackageProjectPath)" Properties="Platform=x86; Configuration=$(Configuration); UseNitraFrom=ProjectReferences" />
  </Target>
</Project><commit_msg>Work on VS plagin generator. Use local copy of Nitra.LanguageCompiler.exe and Templates<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <NemerleVersion>Net-4.0</NemerleVersion>
    <NemerleBinPathRoot Condition=" '$(NemerleBinPathRoot)' == '' ">$(ProgramFiles)\Nemerle</NemerleBinPathRoot>
    <Nemerle Condition=" '$(Nemerle)' == '' ">$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle>
    <CommonFilesPath Condition=" '$(CommonFilesPath)' == '' ">$(MSBuildProjectDirectory)\..\..\Common</CommonFilesPath>
    <ExternalToolsPath Condition=" '$(ExternalToolsPath)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..\ExternalTools'))</ExternalToolsPath>
    <NugetPackagesPath Condition=" '$(NugetPackagesPath)' == '' ">$(MSBuildProjectDirectory)\..\..\packages</NugetPackagesPath>
    <SolutionRoot Condition=" '$(SolutionRoot)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..'))</SolutionRoot>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{E83ABDE7-81E4-4127-AE94-B630B842B9A7}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>CSharp.VisualStudio.Plugin</RootNamespace>
    <AssemblyName>CSharp.VisualStudio.Plugin</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\Grammars\CSharp\CSharp.Grammar\CSharp.Grammar.nproj">
      <Project>{249928bb-c446-42b3-bff3-ca98dabb9609}</Project>
      <Name>CSharp.Grammar</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra.LanguageCompiler\Nitra.LanguageCompiler.nproj">
      <Project>{5b187ce9-5655-4d43-bfec-0d77b5c63818}</Project>
      <Name>Nitra.LanguageCompiler</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\ClientServer\Nitra.ClientServer.Client\Nitra.ClientServer.Client.nproj">
      <Project>{43be6b32-535b-40d4-943a-0797ba1b6a90}</Project>
      <Name>Nitra.ClientServer.Client</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\ClientServer\Nitra.ClientServer.Messages\Nitra.ClientServer.Messages.nproj">
      <Project>{7908821a-47a0-42f4-b6e5-f3062ba8a06a}</Project>
      <Name>Nitra.ClientServer.Messages</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\ClientServer\Nitra.ClientServer.Server\Nitra.ClientServer.Server.nproj">
      <Project>{705d1c4f-0ac8-4bdc-80cd-e3d26cfa5397}</Project>
      <Name>Nitra.ClientServer.Server</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\DotNetLang\DotNetLang.nproj">
      <Project>{d3c87d75-e119-4d30-a8be-dc28014bb653}</Project>
      <Name>DotNetLang</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Nitra\Nitra.Runtime\Nitra.Runtime.nproj">
      <Project>{9db13eb2-28e3-432b-8c8f-0e39ef5bcc38}</Project>
      <Name>Nitra.Runtime</Name>
    </ProjectReference>
    <Reference Include="Nemerle">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>$(Nemerle)\Nemerle.dll</HintPath>
      <CopyLocal>True</CopyLocal>
      <Private>True</Private>
    </Reference>
    <Reference Include="System" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="CodeFile1.cs" />
  </ItemGroup>
  <PropertyGroup>
    <LanguageName>NitraCSharp</LanguageName>
    <VsPackageName>$(LanguageName)VsPackage</VsPackageName>
    <VsPackagePath>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)..\..\$(VsPackageName)'))</VsPackagePath>
    <VsPackageProjectPath>$(VsPackagePath)\$(VsPackageName).csproj</VsPackageProjectPath>
    <NuGetSource>https://www.nuget.org/api/v2</NuGetSource>
  </PropertyGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Target Name="AfterBuild">
    <ItemGroup>
      <!-- Add links to the necessary assembly in this project. It will be copied to the Templates\XXLanguageXXVsPackage\ClientServerEngine -->
      <ClientServerEngine Include="$(TargetDir)*.*" Exclude="$(TargetDir)$(TargetName).*;$(TargetDir)Nitra.LanguageCompiler.*" />
    </ItemGroup>
    <Message Text="Remove '$(VsPackagePath)'" Importance="high" />
    <RemoveDir Directories="$(VsPackagePath)" />
    <Message Text="Copy references: '@(ClientServerEngine)' -&gt; '$(TargetDir)Templates\XXLanguageXXVsPackage\ClientServerEngine'" Importance="high" />
    <RemoveDir Directories="$(TargetDir)Templates\XXLanguageXXVsPackage\ClientServerEngine" />
    <Copy SourceFiles="@(ClientServerEngine)" DestinationFolder="$(TargetDir)Templates\XXLanguageXXVsPackage\ClientServerEngine" />
    <Exec Command="$(TargetDir)Nitra.LanguageCompiler.exe /lang:$(LanguageName) /ns:Nitra.CSharp /out:..\..\..\ .\CSharp.Grammar.dll" WorkingDirectory="$(TargetDir)" />
    <Exec Command="$(SolutionRoot)\NuGet\RestoreNuGetPkgs.cmd &quot;$(VsPackagePath)&quot; &quot;$(NuGetSource)&quot;" WorkingDirectory="$(VsPackagePath)" />
    <MSBuild Projects="$(VsPackageProjectPath)" Properties="Platform=x86; Configuration=$(Configuration); UseNitraFrom=ProjectReferences" />
  </Target>
</Project>
{'fraction_non_alphanumeric': 0.17470221213840045, 'fraction_numerical': 0.02949517867271696, 'mean_word_length': 5.361855670103092, 'pattern_counts': {'":': 0, '<': 314, '<?xml version=': 2, '>': 315, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5999724', 'n_tokens_mistral': 4375, 'n_tokens_neox': 3871, 'n_words': 392}