<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <OutputType>Exe</OutputType>
    <RootNamespace>Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator</RootNamespace>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <TargetFrameworks>net6.0;net472</TargetFrameworks>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <RuntimeIdentifiers>$(RoslynPortableRuntimeIdentifiers)</RuntimeIdentifiers>

    <!-- We want to pack this entire project and it's dependencies as a tool in the tools/ subdirectory -->
    <IsPackable>true</IsPackable>
    <IsTool>true</IsTool>
    <IncludeBuildOutput>false</IncludeBuildOutput>
    <ContentTargetFolders>tools</ContentTargetFolders>
    <TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>

    <!-- Suppress warning that we don't have anything in lib/ref folders, because since this is a tool there won't be anything there -->
    <NoWarn>$(NoWarn);NU5128</NoWarn>

    <!-- When our Pack runs, it runs ResolveReferences again, but since we're not in a "normal" build the invocation of ResolveAssemblyReferences doesn't
         look for dependencies. This forces that regardless. -->
    <_ResolveReferenceDependencies>true</_ResolveReferenceDependencies>

    <PackageId>Microsoft.CodeAnalysis.Lsif.Generator</PackageId>
    <PackageDescription>A tool to consume projects and compilations and emit an LSIF-compatible output that provides information about definitions, references and more.<commit_msg>Make packed LSIF generator behave more like a tool. (#64675)<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <OutputType>Exe</OutputType>
    <RootNamespace>Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator</RootNamespace>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <TargetFrameworks>net6.0;net472</TargetFrameworks>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <RuntimeIdentifiers>$(RoslynPortableRuntimeIdentifiers)</RuntimeIdentifiers>

    <!-- We want to pack this entire project and it's dependencies as a tool in the tools/ subdirectory -->
    <IsPackable>true</IsPackable>
    <IsTool>true</IsTool>
    <IncludeBuildOutput>false</IncludeBuildOutput>
    <ContentTargetFolders>tools</ContentTargetFolders>
    <TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>
    <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>

    <!-- Suppress warning that we don't have anything in lib/ref folders, because since this is a tool there won't be anything there -->
    <NoWarn>$(NoWarn);NU5128</NoWarn>

    <!-- When our Pack runs, it runs ResolveReferences again, but since we're not in a "normal" build the invocation of ResolveAssemblyReferences doesn't
         look for dependencies. This forces that regardless. -->
    <_ResolveReferenceDependencies>true</_ResolveReferenceDependencies>

    <PackageId>Microsoft.CodeAnalysis.Lsif.Generator</PackageId>
    <PackageDescription>A tool to consume projects and compilations and emit an LSIF-compatible output that provides information about definitions, references and more.
{'fraction_non_alphanumeric': 0.09119251753702261, 'fraction_numerical': 0.00753442452585087, 'mean_word_length': 5.427378964941569, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 2, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3756046', 'n_tokens_mistral': 1042, 'n_tokens_neox': 991, 'n_words': 289}