<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props" Condition="Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props')" />
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <Import Project="..\R.Settings.targets" />
  <Import Project="$(RootDirectory)\src\R.Wix.Settings.targets" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{F2149709-A88B-4F36-ABCA-307CA96E9FD1}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>SetupCustomActions</RootNamespace>
    <AssemblyName>SetupCustomActions</AssemblyName>
    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <OutputName>SetupCustomActions</OutputName>
    <WixCATargetsPath Condition=" '$(WixCATargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.CA.targets</WixCATargetsPath>
  </PropertyGroup>
  <PropertyGroup>
    <BaseIntermediateOutputPath>$(RootDirectory)\obj\</BaseIntermediateOutputPath>
    <BaseOutputPath>$(RootDirectory)\bin\</BaseOutputPath>
    <IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(Configuration)\$(AssemblyName)\</IntermediateOutputPath>
    <OutputPath>$(BaseOutputPath)\$(Configuration)\</OutputPath>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="Microsoft.Deployment.WindowsInstaller">
      <HintPath>$(WixInstallPath)\sdk\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
      <Private>True</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\GlobalAssemblyInfo.cs">
      <Link>Properties\GlobalAssemblyInfo.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\RInstallation.cs">
      <Link>R\RInstallation.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\RInstallData.cs">
      <Link>R\RInstallData.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\RInstallStatus.cs">
      <Link>R\RInstallStatus.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\SupportedRVersionList.cs">
      <Link>R\SupportedRVersionList.cs</Link>
    </Compile>
    <Compile Include="CustomAction.cs" />
    <Compile Include="DSProfilePromptForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="DSProfilePromptForm.Designer.cs">
      <DependentUpon>DSProfilePromptForm.cs</DependentUpon>
    </Compile>
    <Compile Include="InstallVsCommunityForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="YesNoMessageBox.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="YesNoMessageBox.Designer.cs">
      <DependentUpon>YesNoMessageBox.cs</DependentUpon>
    </Compile>
    <Compile Include="InstallMROForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Content Include="CustomAction.config" />
    <Content Include="DSProfileScreen.png" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="DSProfilePromptForm.resx">
      <DependentUpon>DSProfilePromptForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="YesNoMessageBox.resx">
      <DependentUpon>YesNoMessageBox.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <FilesToSign Include="$(OutputPath)\$(AssemblyName).dll">
      <Authenticode>Microsoft</Authenticode>
      <StrongName>StrongName</StrongName>
    </FilesToSign>
  </ItemGroup>

  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(RootDirectory)\src\R.Build.Version.targets" />
  <Import Project="$(WixCATargetsPath)" />
  
  <!--Reset AfterCompile to default-->
  <Target Name="AfterCompile" />
  <Target Name="PackAfterSign" Condition="'$(SignType)' == 'real' OR '$(SignType)' == 'test'" AfterTargets="SignFiles" >
    <CallTarget Targets="PackCustomAction"  />
  </Target>
  <Target Name="PackNoSign" Condition="'$(SignType)' != 'real' AND '$(SignType)' != 'test'" AfterTargets="AfterCompile" >
    <CallTarget Targets="PackCustomAction"  />
  </Target>
      
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props'))" />
    <Error Condition="!Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets'))" />
  </Target>
  <Import Project="..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets" Condition="Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets')" />
</Project><commit_msg>Sign intermediate assembly instead of output so it can be used by Wix.CA<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props" Condition="Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props')" />
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <Import Project="..\R.Settings.targets" />
  <Import Project="$(RootDirectory)\src\R.Wix.Settings.targets" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{F2149709-A88B-4F36-ABCA-307CA96E9FD1}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>SetupCustomActions</RootNamespace>
    <AssemblyName>SetupCustomActions</AssemblyName>
    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <OutputName>SetupCustomActions</OutputName>
    <WixCATargetsPath Condition=" '$(WixCATargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.CA.targets</WixCATargetsPath>
  </PropertyGroup>
  <PropertyGroup>
    <BaseIntermediateOutputPath>$(RootDirectory)\obj\</BaseIntermediateOutputPath>
    <BaseOutputPath>$(RootDirectory)\bin\</BaseOutputPath>
    <IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(Configuration)\$(AssemblyName)\</IntermediateOutputPath>
    <OutputPath>$(BaseOutputPath)\$(Configuration)\</OutputPath>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="Microsoft.Deployment.WindowsInstaller">
      <HintPath>$(WixInstallPath)\sdk\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
      <Private>True</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\GlobalAssemblyInfo.cs">
      <Link>Properties\GlobalAssemblyInfo.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\RInstallation.cs">
      <Link>R\RInstallation.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\RInstallData.cs">
      <Link>R\RInstallData.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\RInstallStatus.cs">
      <Link>R\RInstallStatus.cs</Link>
    </Compile>
    <Compile Include="..\R\Actions\Impl\Utility\SupportedRVersionList.cs">
      <Link>R\SupportedRVersionList.cs</Link>
    </Compile>
    <Compile Include="CustomAction.cs" />
    <Compile Include="DSProfilePromptForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="DSProfilePromptForm.Designer.cs">
      <DependentUpon>DSProfilePromptForm.cs</DependentUpon>
    </Compile>
    <Compile Include="InstallVsCommunityForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="YesNoMessageBox.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="YesNoMessageBox.Designer.cs">
      <DependentUpon>YesNoMessageBox.cs</DependentUpon>
    </Compile>
    <Compile Include="InstallMROForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Content Include="CustomAction.config" />
    <Content Include="DSProfileScreen.png" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="DSProfilePromptForm.resx">
      <DependentUpon>DSProfilePromptForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="YesNoMessageBox.resx">
      <DependentUpon>YesNoMessageBox.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <!--Sign intermediate assembly instead of output so it can be used by Wix.CA-->
    <FilesToSign Include="$(IntermediateOutputPath)\$(AssemblyName).dll">
      <Authenticode>Microsoft</Authenticode>
      <StrongName>StrongName</StrongName>
    </FilesToSign>
  </ItemGroup>

  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(RootDirectory)\src\R.Build.Version.targets" />
  <Import Project="$(WixCATargetsPath)" />
  
  <!--Reset AfterCompile to default-->
  <Target Name="AfterCompile" />
  <Target Name="PackAfterSign" Condition="'$(SignType)' == 'real' OR '$(SignType)' == 'test'" AfterTargets="SignFiles" >
    <CallTarget Targets="PackCustomAction" />
    <Copy SourceFiles="@(IntermediateAssembly)" DestinationFolder="$(OutputPath)" />
  </Target>
  <Target Name="PackNoSign" Condition="'$(SignType)' != 'real' AND '$(SignType)' != 'test'" AfterTargets="AfterCompile" >
    <CallTarget Targets="PackCustomAction" />
  </Target>
      
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.props'))" />
    <Error Condition="!Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets'))" />
  </Target>
  <Import Project="..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets" Condition="Exists('..\..\NugetPackages\MicroBuild.Core.0.1.1\build\MicroBuild.Core.targets')" />
</Project>
{'fraction_non_alphanumeric': 0.16892417873267943, 'fraction_numerical': 0.011988167522964346, 'mean_word_length': 4.6669607410674905, 'pattern_counts': {'":': 0, '<': 327, '<?xml version=': 2, '>': 327, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3100392', 'n_tokens_mistral': 4315, 'n_tokens_neox': 3910, 'n_words': 483}