File: Microsoft.Build.Utilities.csproj
Web Access
Project: ..\..\..\src\Utilities\Microsoft.Build.Utilities.csproj (Microsoft.Build.Utilities.Core)
<Project Sdk="Microsoft.NET.Sdk">
 
  <Import Project="..\Shared\FileSystemSources.proj" />
  <Import Project="..\Shared\DebuggingSources.proj" />
 
  <PropertyGroup>
    <TargetFrameworks>$(LibraryTargetFrameworks)</TargetFrameworks>
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
    <RootNamespace>Microsoft.Build.Utilities</RootNamespace>
    <AssemblyName>Microsoft.Build.Utilities.Core</AssemblyName>
    <EnableDocumentationFile>true</EnableDocumentationFile>
    <GenerateReferenceAssemblySource>true</GenerateReferenceAssemblySource>
    <!-- <CreateTlb>true</CreateTlb> --><!-- This was created in VS but not published, so I don't think it's needed -->
    <IsPackable>true</IsPackable>
    <PackageDescription>This package contains the $(MSBuildProjectName) assembly which is used to implement custom MSBuild tasks.</PackageDescription>
    <IncludeSatelliteOutputInPack>false</IncludeSatelliteOutputInPack>
    <ApplyNgenOptimization Condition="'$(TargetFramework)' == '$(FullFrameworkTFM)'">full</ApplyNgenOptimization>
    <EnablePackageValidation>true</EnablePackageValidation>
  </PropertyGroup>
 
  <ItemGroup>
    <ProjectReference Include="..\Framework\Microsoft.Build.Framework.csproj" />
    <ProjectReference Include="..\StringTools\StringTools.csproj" />
 
    <PackageReference Include="Microsoft.IO.Redist" Condition="'$(FeatureMSIORedist)' == 'true'" />
    <PackageReference Include="System.Collections.Immutable" />
    <PackageReference Include="System.Configuration.ConfigurationManager" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETStandard' and '$(DotNetBuildSourceOnly)' != 'true'">
    <PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" PrivateAssets="all" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">
    <PackageReference Include="System.Text.Encoding.CodePages" />
  </ItemGroup>
 
  <ItemGroup Label="Shared Code">
    <Compile Include="..\Shared\AssemblyFolders\AssemblyFoldersEx.cs">
      <Link>Shared\AssemblyFolders\AssemblyFoldersEx.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\AssemblyFoldersFromConfig.cs">
      <Link>Shared\AssemblyFolders\AssemblyFoldersFromConfig.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\Serialization\AssemblyFolderCollection.cs">
      <Link>Shared\AssemblyFolders\Serialization\AssemblyFolderCollection.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\Serialization\AssemblyFolderItem.cs">
      <Link>Shared\AssemblyFolders\Serialization\AssemblyFolderItem.cs</Link>
    </Compile>
    <Compile Include="..\Shared\EnvironmentUtilities.cs">
      <Link>Shared\EnvironmentUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\BuildEnvironmentHelper.cs">
      <Link>Shared\BuildEnvironmentHelper.cs</Link>
    </Compile>
    <Compile Include="..\Shared\CanonicalError.cs">
      <Link>Shared\CanonicalError.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ExtensionFoldersRegistryKey.cs">
      <Link>Shared\ExtensionFoldersRegistryKey.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileDelegates.cs">
      <Link>Shared\FileDelegates.cs</Link>
    </Compile>
    <Compile Include="..\Shared\CopyOnWriteDictionary.cs">
      <Link>Shared\CopyOnWriteDictionary.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ErrorUtilities.cs">
      <Link>Shared\ErrorUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\EscapingUtilities.cs">
      <Link>Shared\EscapingUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\EventArgsFormatting.cs">
      <Link>Shared\EventArgsFormatting.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ExceptionHandling.cs">
      <Link>Shared\ExceptionHandling.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileUtilities.cs">
      <Link>Shared\FileUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileMatcher.cs">
      <Link>Shared\FileMatcher.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileUtilitiesRegex.cs">
      <Link>Shared\FileUtilitiesRegex.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FrameworkLocationHelper.cs">
      <Link>Shared\FrameworkLocationHelper.cs</Link>
    </Compile>
    <Compile Include="..\Shared\IConstrainedEqualityComparer.cs">
      <Link>Shared\IConstrainedEqualityComparer.cs</Link>
    </Compile>
    <Compile Include="..\Shared\IKeyed.cs">
      <Link>Shared\IKeyed.cs</Link>
    </Compile>
    <Compile Include="..\Shared\MSBuildNameIgnoreCaseComparer.cs">
      <Link>Shared\MSBuildNameIgnoreCaseComparer.cs</Link>
    </Compile>
    <Compile Include="..\Shared\Modifiers.cs">
      <Link>Shared\Modifiers.cs</Link>
    </Compile>
    <Compile Include="..\Shared\InprocTrackingNativeMethods.cs">
      <Link>Shared\InprocTrackingNativeMethods.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ProcessExtensions.cs">
      <Link>Shared\ProcessExtensions.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ReadOnlyEmptyCollection.cs">
      <Link>Shared\ReadOnlyEmptyCollection.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ReadOnlyEmptyDictionary.cs">
      <Link>Shared\Collections\ReadOnlyEmptyDictionary.cs</Link>
    </Compile>
    <Compile Include="..\Shared\RegistryDelegates.cs">
      <Link>Shared\RegistryDelegates.cs</Link>
    </Compile>
    <Compile Include="..\Shared\RegistryHelper.cs">
      <Link>Shared\RegistryHelper.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ResourceUtilities.cs">
      <Link>Shared\ResourceUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\TaskLoggingHelper.cs">
      <Link>Shared\TaskLoggingHelper.cs</Link>
    </Compile>
    <Compile Include="..\Shared\TempFileUtilities.cs">
      <Link>Shared\TempFileUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\Tracing.cs">
      <Link>Shared\Tracing.cs</Link>
    </Compile>
    <Compile Include="..\Shared\VersionUtilities.cs">
      <Link>Shared\VersionUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ToolsetElement.cs">
      <Link>Shared\ToolsetElement.cs</Link>
    </Compile>
  </ItemGroup>
 
  <ItemGroup>
    <!-- Win32 RC Files -->
    <RCResourceFile Include="native.rc" />
 
    <EmbeddedResource Update="Resources\Strings.resx">
      <LogicalName>$(AssemblyName).Strings.resources</LogicalName>
      <SubType>Designer</SubType>
      <Generator></Generator>
    </EmbeddedResource>
 
    <EmbeddedResource Include="..\Shared\Resources\Strings.shared.resx">
      <Link>Resources\Strings.shared.resx</Link>
      <SubType>Designer</SubType>
      <LogicalName>$(AssemblyName).Strings.shared.resources</LogicalName>
    </EmbeddedResource>
  </ItemGroup>
</Project>