<commit_before>﻿<Project>
  <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
  <PropertyGroup>
    <TargetFramework>net472</TargetFramework>

    <!-- Use the same experimental hive as Roslyn and Razor. This makes it easy to mix private builds. -->
    <VSSDKTargetPlatformRegRootSuffix>RoslynDev</VSSDKTargetPlatformRegRootSuffix>

    <!--
      Mark the VSIX as a per-computer install (not-per-user). Putting a component "in the box"
      requires this, and trying to change it after doing a release has lot of problems.
    -->
    <ExtensionInstallationRoot>CommonExtensions</ExtensionInstallationRoot>
    <ExtensionInstallationFolder>Microsoft\Blazor</ExtensionInstallationFolder>

    <!-- This should be set as true if we're ever building the VSIX for inclusion by the VS installer. -->
    <IsProductComponent>false</IsProductComponent>

    <!-- Update the VSToolsPath to ensure VSIX builds -->
    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
    <!-- Other projects should not reference this assembly. It is only meaning to be used in Visual Studio. -->
    <IsProjectReferenceProvider>false</IsProjectReferenceProvider>

    <IsPackable>false</IsPackable>
    <UseCodebase>true</UseCodebase>
    <GeneratePkgDefFile>true</GeneratePkgDefFile>
    <DeployProjectOutput Condition="'$(ContinuousIntegrationBuild)' == 'true'">false</DeployProjectOutput>
    <DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
  </PropertyGroup>

  <!--
    Since the VSSDK doeesn't support SDK-based projects, we have to use the long/verbose version.

    This section has all of the things we need to customize to the VSIX correctly. Everything outside
    this section is just standard "old-csproj" boilerplate.

    BEGIN INTERESTING STUFF
  -->

  <PropertyGroup>
    <!--
      Include this assembly in the VSIX but not its symbols, except when installing it to the experimental
      instance.
    -->
    <IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
    <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
    <IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
    <!--
      Always include assemblies and symbols in the output directory.
    -->
    <CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
    <CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory>
  </PropertyGroup>

  <Target Name="PreCreateVsixContainer" BeforeTargets="GetVsixSourceItems" Condition="'$(IsPackable)' == 'true'">
    <ItemGroup>
      <_TemplatePackage Include="$(ArtifactsShippingPackagesDir)Microsoft.AspNetCore.Blazor.Templates.*.nupkg" />
    </ItemGroup><commit_msg>Fix Blazor VSIX (#11748)<commit_after>﻿<Project>
  <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
  <PropertyGroup>
    <TargetFramework>net472</TargetFramework>

    <!-- Use the same experimental hive as Roslyn and Razor. This makes it easy to mix private builds. -->
    <VSSDKTargetPlatformRegRootSuffix>RoslynDev</VSSDKTargetPlatformRegRootSuffix>

    <!--
      Mark the VSIX as a per-computer install (not-per-user). Putting a component "in the box"
      requires this, and trying to change it after doing a release has lot of problems.
    -->
    <ExtensionInstallationRoot>CommonExtensions</ExtensionInstallationRoot>
    <ExtensionInstallationFolder>Microsoft\Blazor</ExtensionInstallationFolder>

    <!-- This should be set as true if we're ever building the VSIX for inclusion by the VS installer. -->
    <IsProductComponent>false</IsProductComponent>

    <!-- Update the VSToolsPath to ensure VSIX builds -->
    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
    <!-- Other projects should not reference this assembly. It is only meaning to be used in Visual Studio. -->
    <IsProjectReferenceProvider>false</IsProjectReferenceProvider>

    <IsPackable>false</IsPackable>
    <UseCodebase>true</UseCodebase>
    <GeneratePkgDefFile>true</GeneratePkgDefFile>
    <DeployProjectOutput Condition="'$(ContinuousIntegrationBuild)' == 'true'">false</DeployProjectOutput>
    <DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
  </PropertyGroup>

  <!--
    Since the VSSDK doeesn't support SDK-based projects, we have to use the long/verbose version.

    This section has all of the things we need to customize to the VSIX correctly. Everything outside
    this section is just standard "old-csproj" boilerplate.

    BEGIN INTERESTING STUFF
  -->

  <PropertyGroup>
    <!--
      Include this assembly in the VSIX but not its symbols, except when installing it to the experimental
      instance.
    -->
    <IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
    <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
    <IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
    <!--
      Always include assemblies and symbols in the output directory.
    -->
    <CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
    <CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory>
  </PropertyGroup>

  <Target Name="PreCreateVsixContainer" BeforeTargets="GetVsixSourceItems" Condition="'$(TargetOsName)' == 'win' AND '$(TargetArchitecture)' != 'arm'">
    <ItemGroup>
      <_TemplatePackage Include="$(ArtifactsShippingPackagesDir)Microsoft.AspNetCore.Blazor.Templates.*.nupkg" />
    </ItemGroup>
{'fraction_non_alphanumeric': 0.09787009329343425, 'fraction_numerical': 0.002640380214750924, 'mean_word_length': 4.727822580645161, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2148355', 'n_tokens_mistral': 1621, 'n_tokens_neox': 1519, 'n_words': 393}