File: Microsoft.Build.Tasks.csproj
Web Access
Project: ..\..\..\src\Tasks\Microsoft.Build.Tasks.csproj (Microsoft.Build.Tasks.Core)
<Project Sdk="Microsoft.NET.Sdk">
 
  <Import Project="..\Shared\FileSystemSources.proj" />
  <Import Project="..\Shared\DebuggingSources.proj" />
 
  <PropertyGroup>
    <TargetFrameworks>$(LibraryTargetFrameworks)</TargetFrameworks>
    <EnableDefaultItems>false</EnableDefaultItems>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <GenerateReferenceAssemblySource>true</GenerateReferenceAssemblySource>
    <AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
    <RootNamespace>Microsoft.Build.Tasks</RootNamespace>
    <DefineConstants>$(DefineConstants);MICROSOFT_BUILD_TASKS</DefineConstants>
    <!-- Do not create Tlbs when building in .NET product mode. The packages are not shipped to VS,
         only their contents redisted within the SDK. -->
    <CreateTlb Condition="'$(DotNetBuild)' != 'true'">true</CreateTlb>
    <IsPackable>true</IsPackable>
    <PackageDescription>This package contains the $(MSBuildProjectName) assembly which implements the commonly used tasks of MSBuild.</PackageDescription>
    <IncludeSatelliteOutputInPack>false</IncludeSatelliteOutputInPack>
    <ApplyNgenOptimization Condition="'$(TargetFramework)' == '$(FullFrameworkTFM)'">full</ApplyNgenOptimization>
    <EnablePackageValidation>true</EnablePackageValidation>
  </PropertyGroup>
 
  <ItemGroup>
    <EmbeddedResource Include="system.design\system.design.txt">
      <Type>Resx</Type>
      <WithCulture>false</WithCulture>
      <ManifestResourceName>%(Filename)</ManifestResourceName>
      <FullClassName>Microsoft.Build.Tasks.SR</FullClassName>
      <LogicalName>System.Design.resources</LogicalName>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <!-- Binary serialization by ITranslatable -->
    <Compile Include="..\Shared\InterningBinaryReader.cs" />
    <Compile Include="..\Shared\TranslatorHelpers.cs" />
  </ItemGroup>
  <ItemGroup>
    <!-- Source Files -->
    <Compile Include="..\Shared\EnvironmentUtilities.cs">
      <Link>EnvironmentUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\AssemblyFoldersEx.cs">
      <Link>AssemblyDependency\AssemblyFoldersEx.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\AssemblyFoldersFromConfig.cs">
      <Link>AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfig.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\Serialization\AssemblyFolderCollection.cs">
      <Link>AssemblyDependency\AssemblyFoldersFromConfig\Serialization\AssemblyFolderCollection.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyFolders\Serialization\AssemblyFolderItem.cs">
      <Link>AssemblyDependency\AssemblyFoldersFromConfig\Serialization\AssemblyFolderItem.cs</Link>
    </Compile>
    <Compile Include="..\Shared\BuildEnvironmentHelper.cs">
      <Link>BuildEnvironmentHelper.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyNameComparer.cs">
      <Link>AssemblyNameComparer.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyNameReverseVersionComparer.cs">
      <Link>AssemblyDependency\AssemblyNameReverseVersionComparer.cs</Link>
    </Compile>
    <Compile Include="..\Shared\CanonicalError.cs">
      <Link>CanonicalError.cs</Link>
    </Compile>
    <Compile Include="AssemblyDependency\AssemblyAttributes.cs" />
    <Compile Include="AssemblyDependency\AssemblyMetadata.cs" />
    <Compile Include="CombineTargetFrameworkInfoProperties.cs" />
    <Compile Include="CombineXmlElements.cs" />
    <Compile Include="ConvertToAbsolutePath.cs" />
    <Compile Include="..\Shared\CopyOnWriteDictionary.cs" />
    <Compile Include="..\Shared\ExtensionFoldersRegistryKey.cs">
      <Link>ExtensionFoldersRegistryKey.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileDelegates.cs">
      <Link>FileDelegates.cs</Link>
    </Compile>
    <Compile Include="..\Shared\IConstrainedEqualityComparer.cs" />
    <Compile Include="..\Shared\PropertyParser.cs">
      <Link>PropertyParser.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ReadOnlyEmptyCollection.cs">
      <Link>ReadOnlyEmptyCollection.cs</Link>
    </Compile>
    <Compile Include="..\Shared\RegistryDelegates.cs">
      <Link>RegistryDelegates.cs</Link>
    </Compile>
    <Compile Include="..\Shared\RegistryHelper.cs">
      <Link>RegistryHelper.cs</Link>
    </Compile>
    <Compile Include="..\Shared\StrongNameHelpers.cs">
      <Link>StrongNameHelpers.cs</Link>
    </Compile>
    <Compile Include="..\Shared\SolutionConfiguration.cs">
      <Link>SolutionConfiguration.cs</Link>
    </Compile>
    <Compile Include="..\Shared\TaskLoggingHelperExtension.cs">
      <Link>TaskLoggingHelperExtension.cs</Link>
    </Compile>
    <Compile Include="..\Shared\TempFileUtilities.cs" />
    <Compile Include="..\Shared\MetadataConversionUtilities.cs">
      <Link>MetadataConversionUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\LanguageParser\StreamMappedString.cs">
      <Link>StreamMappedString.cs</Link>
    </Compile>
    <Compile Include="..\Shared\ExceptionHandling.cs">
      <Link>ExceptionHandling.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileUtilities.cs">
      <Link>FileUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\StringUtils.cs">
      <Link>StringUtils.cs</Link>
    </Compile>
    <Compile Include="..\Shared\EscapingUtilities.cs">
      <Link>EscapingUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\FileMatcher.cs" />
    <Compile Include="..\Shared\Modifiers.cs">
      <Link>Modifiers.cs</Link>
    </Compile>
    <Compile Include="..\Shared\MSBuildNameIgnoreCaseComparer.cs" />
    <Compile Include="..\Shared\ReadOnlyCollection.cs" />
    <Compile Include="..\Shared\ReadOnlyEmptyDictionary.cs" />
    <Compile Include="..\Shared\Tracing.cs" />
    <Compile Include="..\Shared\VersionUtilities.cs">
      <Link>VersionUtilities.cs</Link>
    </Compile>
    <Compile Include="..\Shared\VisualStudioConstants.cs">
      <Link>VisualStudioConstants.cs</Link>
    </Compile>
    <Compile Include="..\Shared\AssemblyNameExtension.cs" />
    <Compile Include="..\Shared\ErrorUtilities.cs" />
    <Compile Include="..\Shared\ConversionUtilities.cs" />
    <Compile Include="..\Shared\FileUtilitiesRegex.cs" />
    <Compile Include="..\Shared\ResourceUtilities.cs" />
    <Compile Include="..\Shared\LanguageParser\token.cs" />
    <Compile Include="..\Shared\LanguageParser\tokenChar.cs" />
    <Compile Include="..\Shared\LanguageParser\tokenCharReader.cs" />
    <Compile Include="..\Shared\LanguageParser\tokenEnumerator.cs" />
    <Compile Include="..\Shared\LanguageParser\CSharptokenCharReader.cs" />
    <Compile Include="..\Shared\LanguageParser\CSharptokenEnumerator.cs" />
    <Compile Include="..\Shared\LanguageParser\CSharptokenizer.cs" />
    <Compile Include="..\Shared\LanguageParser\VisualBasictokenCharReader.cs" />
    <Compile Include="..\Shared\LanguageParser\VisualBasictokenEnumerator.cs" />
    <Compile Include="..\Shared\LanguageParser\VisualBasictokenizer.cs" />
    <Compile Include="..\Shared\PlatformNegotiation.cs">
      <Link>PlatformNegotiation.cs</Link>
    </Compile>
    <Compile Include="..\Shared\XMakeAttributes.cs" />
    <Compile Include="..\Shared\XMakeElements.cs" />
    <Compile Include="AppConfig\*.cs" />
    <Compile Include="AssemblyDependency\AssemblyFoldersExResolver.cs" />
    <Compile Include="AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigCache.cs" />
    <Compile Include="AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs" />
    <Compile Include="AssemblyDependency\AssemblyFoldersResolver.cs" />
    <Compile Include="AssemblyDependency\AssemblyInformation.cs" />
    <Compile Include="AssemblyDependency\AssemblyNameReference.cs" />
    <Compile Include="AssemblyDependency\AssemblyNameReferenceAscendingVersionComparer.cs" />
    <Compile Include="AssemblyDependency\AssemblyResolution.cs" />
    <Compile Include="AssemblyDependency\AssemblyResolutionConstants.cs" />
    <Compile Include="AssemblyDependency\BadImageReferenceException.cs" />
    <Compile Include="AssemblyDependency\CandidateAssemblyFilesResolver.cs" />
    <Compile Include="AssemblyDependency\ConflictLossReason.cs" />
    <Compile Include="AssemblyDependency\CopyLocalState.cs" />
    <Compile Include="AssemblyDependency\DependencyResolutionException.cs" />
    <Compile Include="AssemblyDependency\DirectoryResolver.cs" />
    <Compile Include="AssemblyDependency\DisposableBase.cs" />
    <Compile Include="AssemblyDependency\FrameworkPathResolver.cs" />
    <Compile Include="AssemblyDependency\GenerateBindingRedirects.cs" />
    <Compile Include="AssemblyDependency\HintPathResolver.cs" />
    <Compile Include="AssemblyDependency\InstalledAssemblies.cs" />
    <Compile Include="AssemblyDependency\InvalidReferenceAssemblyNameException.cs" />
    <Compile Include="AssemblyDependency\NoMatchReason.cs" />
    <Compile Include="AssemblyDependency\RawFilenameResolver.cs" />
    <Compile Include="AssemblyDependency\Reference.cs" />
    <Compile Include="AssemblyDependency\ReferenceResolutionException.cs" />
    <Compile Include="AssemblyDependency\ReferenceTable.cs" />
    <Compile Include="AssemblyDependency\ResolutionSearchLocation.cs" />
    <Compile Include="AssemblyDependency\Resolver.cs" />
    <Compile Include="AssemblyDependency\ResolveAssemblyReference.cs" />
    <Compile Include="AssemblyDependency\TaskItemSpecFilenameComparer.cs" />
    <Compile Include="AssemblyDependency\UnificationReason.cs" />
    <Compile Include="AssemblyDependency\UnificationVersion.cs" />
    <Compile Include="AssemblyDependency\UnifiedAssemblyName.cs" />
    <Compile Include="AssemblyDependency\WarnOrErrorOnTargetArchitectureMismatchBehavior.cs" />
    <Compile Include="AssemblyFolder.cs" />
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="AssemblyRemapping.cs" />
    <Compile Include="AssemblyResources.cs" />
    <Compile Include="AssignLinkMetadata.cs" />
    <Compile Include="AssignProjectConfiguration.cs" />
    <Compile Include="AssignTargetPath.cs" />
    <Compile Include="BootstrapperUtil\*.cs" />
    <Compile Include="CallTarget.cs" />
    <Compile Include="CombinePath.cs" />
    <Compile Include="CommandLineBuilderExtension.cs" />
    <Compile Include="ResourceHandling\*.cs" />
    <Compile Include="GetCompatiblePlatform.cs" />
    <Compile Include="SetRidAgnosticValueForProjects.cs" />
    <Compile Include="BuildCacheDisposeWrapper.cs" />
    <Compile Include="DownloadFile.cs" />
    <Compile Include="FileIO\GetFileHash.cs" />
    <Compile Include="FileIO\HashEncoding.cs" />
    <Compile Include="FileIO\VerifyFileHash.cs" />
    <Compile Include="FileState.cs" />
    <Compile Include="Copy.cs" />
    <Compile Include="CreateCSharpManifestResourceName.cs" />
    <Compile Include="CreateVisualBasicManifestResourceName.cs" />
    <Compile Include="CreateItem.cs" />
    <Compile Include="CreateManifestResourceName.cs" />
    <Compile Include="CreateProperty.cs" />
    <Compile Include="CSharpParserUtilities.cs" />
    <Compile Include="Delegate.cs" />
    <Compile Include="Delete.cs" />
    <Compile Include="Error.cs" />
    <Compile Include="Exec.cs" />
    <Compile Include="FindAppConfigFile.cs" />
    <Compile Include="FindInvalidProjectReferences.cs" />
    <Compile Include="GetFrameworkPath.cs" />
    <Compile Include="GetReferenceAssemblyPaths.cs" />
    <Compile Include="Hash.cs" />
    <Compile Include="InstalledSDKResolver.cs" />
    <Compile Include="Interop.cs" />
    <Compile Include="ErrorFromResources.cs" />
    <Compile Include="ExtractedClassName.cs" />
    <Compile Include="FileIO\ReadLinesFromFile.cs" />
    <Compile Include="FileIO\WriteLinesToFile.cs" />
    <Compile Include="FindInList.cs" />
    <Compile Include="FormatUrl.cs" />
    <Compile Include="FormatVersion.cs" />
    <Compile Include="GenerateApplicationManifest.cs" />
    <Compile Include="GenerateDeploymentManifest.cs" />
    <Compile Include="GenerateLauncher.cs" />
    <Compile Include="GenerateManifestBase.cs" />
    <Compile Include="GenerateResource.cs" />
    <Compile Include="GetAssemblyIdentity.cs" />
    <Compile Include="GetInstalledSDKLocations.cs" />
    <Compile Include="GetSDKReferenceFiles.cs" />
    <Compile Include="IAnalyzerHostObject.cs" />
    <Compile Include="ICscHostObject.cs" />
    <Compile Include="ICscHostObject2.cs" />
    <Compile Include="ICscHostObject3.cs" />
    <Compile Include="ICscHostObject4.cs" />
    <Compile Include="IVbcHostObject.cs" />
    <Compile Include="IVbcHostObject2.cs" />
    <Compile Include="IVbcHostObject3.cs" />
    <Compile Include="IVbcHostObject4.cs" />
    <Compile Include="IVbcHostObject5.cs" />
    <Compile Include="IVbcHostObjectFreeThreaded.cs" />
    <Compile Include="InvalidParameterValueException.cs" />
    <Compile Include="LC.cs" />
    <Compile Include="ListOperators\FindUnderPath.cs" />
    <Compile Include="ListOperators\RemoveDuplicates.cs" />
    <Compile Include="MakeDir.cs" />
    <Compile Include="ManifestUtil\*.cs" Exclude="ManifestUtil\CngLightup.cs" />
    <Compile Include="Message.cs" />
    <Compile Include="Move.cs" />
    <Compile Include="MSBuild.cs" />
    <Compile Include="NativeMethods.cs" />
    <Compile Include="MSBuildInternalMessage.cs" />
    <Compile Include="ParserState.cs" />
    <Compile Include="AddToWin32Manifest.cs" />
    <Compile Include="RedistList.cs" />
    <Compile Include="RemoveDir.cs" />
    <Compile Include="ResGenDependencies.cs" />
    <Compile Include="ResolveCodeAnalysisRuleSet.cs" />
    <Compile Include="ResolveKeySource.cs" />
    <Compile Include="ResolveManifestFiles.cs" />
    <Compile Include="ResolveNonMSBuildProjectOutput.cs" />
    <Compile Include="ResolveProjectBase.cs" />
    <Compile Include="ResolveSDKReference.cs" />
    <Compile Include="RequiresFramework35SP1Assembly.cs" />
    <Compile Include="RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs" />
    <Compile Include="RoslynCodeTaskFactory\RoslynCodeTaskFactoryCodeType.cs" />
    <Compile Include="RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs" />
    <Compile Include="RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs" />
    <Compile Include="SdkToolsPathUtility.cs" />
    <Compile Include="SGen.cs" />
    <Compile Include="SignFile.cs" />
    <Compile Include="System.Design.cs" />
    <Compile Include="system.design\stronglytypedresourcebuilder.cs" />
    <Compile Include="TaskExtension.cs" />
    <Compile Include="TaskTranslatorHelpers.cs" />
    <Compile Include="Telemetry.cs" />
    <Compile Include="ToolTaskExtension.cs" />
    <Compile Include="Touch.cs" />
    <Compile Include="Unzip.cs" />
    <Compile Include="VisualBasicParserUtilities.cs" />
    <Compile Include="Warning.cs" />
    <Compile Include="XslTransformation.cs" />
    <Compile Include="AssignCulture.cs" />
    <Compile Include="Culture.cs" />
    <Compile Include="CultureInfoCache.cs" />
    <Compile Include="WriteCodeFragment.cs" />
    <Compile Include="XmlPeek.cs" />
    <Compile Include="XmlPoke.cs" />
    <Compile Include="CodeTaskFactory.cs" />
    <Compile Include="XamlTaskFactory\XamlTaskFactory.cs" />
    <Compile Include="StateFileBase.cs" />
    <Compile Include="SystemState.cs" />
    <Compile Include="DependencyFile.cs" />
    <Compile Include="ZipDirectory.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="TaskRequiresFramework.cs" />
    <!-- Tasks with NET/NETSTANDARD stubs -->
    <Compile Include="Al.cs" />
    <Compile Include="AspNetCompiler.cs" />
    <Compile Include="GenerateBootstrapper.cs" />
    <Compile Include="GenerateTrustInfo.cs" />
    <Compile Include="GetFrameworkSDKPath.cs" />
    <Compile Include="RegisterAssembly.cs" />
    <Compile Include="ResolveComReference.cs" />
    <Compile Include="ResolveNativeReference.cs" />
    <Compile Include="UnregisterAssembly.cs" />
    <Compile Include="UpdateManifest.cs" />
    <Compile Include="WinMDExp.cs" />
  </ItemGroup>
  <ItemGroup Condition="$(TargetFrameworkIdentifier) == '.NETFramework'">
    <Compile Include="AppDomainIsolatedTaskExtension.cs" />
    <Compile Include="AssemblyDependency\GacResolver.cs" />
    <Compile Include="AssemblyDependency\GlobalAssemblyCache.cs" />
    <Compile Include="AssemblyRegistrationCache.cs" />
    <Compile Include="AxImp.cs" />
    <Compile Include="AxReference.cs" />
    <Compile Include="AxTlbBaseReference.cs" />
    <Compile Include="AxTlbBaseTask.cs" />
    <Compile Include="GetAssembliesMetadata.cs" />
    <Compile Include="ComDependencyWalker.cs" />
    <Compile Include="ComReference.cs" />
    <Compile Include="ComReferenceInfo.cs" />
    <Compile Include="ComReferenceItemAttributes.cs" />
    <Compile Include="ComReferenceResolutionException.cs" />
    <Compile Include="ComReferenceTypes.cs" />
    <Compile Include="ComReferenceWrapperInfo.cs" />
    <Compile Include="IComReferenceResolver.cs" />
    <Compile Include="ManifestUtil\CngLightup.cs" />
    <Compile Include="RCWForCurrentContext.cs" />
    <Compile Include="PiaReference.cs" />
    <Compile Include="ResGen.cs" />
    <Compile Include="ResolveComReferenceCache.cs" />
    <Compile Include="StrongNameException.cs" />
    <Compile Include="StrongNameUtils.cs" />
    <Compile Include="TlbImp.cs" />
    <Compile Include="TlbReference.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Compile Include="XamlTaskFactory\CommandLineGenerator.cs" />
    <Compile Include="XamlTaskFactory\CommandLineToolSwitch.cs" />
    <Compile Include="XamlTaskFactory\RelationsParser.cs" />
    <Compile Include="XamlTaskFactory\Property.cs" />
    <Compile Include="XamlTaskFactory\TaskGenerator.cs" />
    <Compile Include="XamlTaskFactory\TaskParser.cs" />
    <Compile Include="XamlTaskFactory\XamlDataDrivenToolTask.cs" />
  </ItemGroup>
  <ItemGroup Condition="$(TargetFrameworkIdentifier) == '.NETFramework'">
    <!-- Shim targets only work when the destination targets are installed. -->
    <Content Include="Microsoft.Data.Entity.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <SubType>Designer</SubType>
    </Content>
    <Content Include="Microsoft.Common.CrossTargeting.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.ServiceModel.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.WinFx.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.WorkflowBuildExtensions.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Xaml.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Workflow.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Workflow.VisualBasic.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Microsoft.Common.CurrentVersion.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Common.CrossTargeting.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <SubType>Designer</SubType>
    </Content>
    <Content Include="Microsoft.Common.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Managed.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Managed.Before.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Managed.After.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.CSharp.CurrentVersion.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.CSharp.CrossTargeting.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.CSharp.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.NETFramework.CurrentVersion.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.NETFramework.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualBasic.CurrentVersion.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualBasic.CrossTargeting.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualBasic.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Common.overridetasks">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <SubType>Designer</SubType>
    </Content>
    <Content Include="Microsoft.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Common.tasks">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.Common.Test.targets">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.NET.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.NETFramework.CurrentVersion.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.NETFramework.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualStudioVersion.v11.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualStudioVersion.v12.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualStudioVersion.v14.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualStudioVersion.v15.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualStudioVersion.v16.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Microsoft.VisualStudioVersion.v17.Common.props">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <!-- Resource Files -->
    <EmbeddedResource Include="Resources\Strings.resx">
      <LogicalName>$(AssemblyName).Strings.resources</LogicalName>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="..\Shared\Resources\Strings.shared.resx">
      <Link>Resources\Strings.shared.resx</Link>
      <SubType>Designer</SubType>
      <LogicalName>$(AssemblyName).Strings.shared.resources</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="ManifestUtil\Resources\Strings.ManifestUtilities.resx">
      <LogicalName>$(AssemblyName).Strings.ManifestUtilities.resources</LogicalName>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <!-- The manifest is needed when PreferNativeArm64 is enabled in Unix environments. -->
    <EmbeddedResource Include="Resources\default.win32manifest" />
    <!-- Other Source Files -->
    <EmbeddedResource Include="ManifestUtil\manifest.xml">
      <LogicalName>Microsoft.Build.Tasks.Deployment.ManifestUtilities.manifest.xml</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="ManifestUtil\merge.xsl">
      <LogicalName>Microsoft.Build.Tasks.Deployment.ManifestUtilities.merge.xsl</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="ManifestUtil\read2.xsl">
      <LogicalName>Microsoft.Build.Tasks.Deployment.ManifestUtilities.read2.xsl</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="ManifestUtil\trustinfo2.xsl">
      <LogicalName>Microsoft.Build.Tasks.Deployment.ManifestUtilities.trustinfo2.xsl</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="ManifestUtil\write2.xsl">
      <LogicalName>Microsoft.Build.Tasks.Deployment.ManifestUtilities.write2.xsl</LogicalName>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="ManifestUtil\write3.xsl">
      <LogicalName>Microsoft.Build.Tasks.Deployment.ManifestUtilities.write3.xsl</LogicalName>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="BootstrapperUtil\xmltoconfig.xsl">
      <LogicalName>Microsoft.Build.Tasks.Deployment.Bootstrapper.xmltoconfig.xsl</LogicalName>
    </EmbeddedResource>
    <TextStringResource Include="system.design\System.Design.txt">
      <ResFile>System.Design</ResFile>
      <Sealed>true</Sealed>
      <Visibility>internal</Visibility>
      <GenerateResource>true</GenerateResource>
      <FullClassName>Microsoft.Build.Tasks.SR</FullClassName>
      <LogicalName>System.Design.resources</LogicalName>
    </TextStringResource>
    <!-- Files to copy -->
    <DataFile Include="Microsoft.Common.targets">
      <SubType>Designer</SubType>
    </DataFile>
    <DataFile Include="Microsoft.Common.CurrentVersion.targets">
      <SubType>Designer</SubType>
    </DataFile>
    <DataFile Include="Microsoft.Common.CrossTargeting.targets">
      <SubType>Designer</SubType>
    </DataFile>
    <DataFile Include="Microsoft.NETFramework.targets" />
    <DataFile Include="Microsoft.NETFramework.CurrentVersion.targets" />
    <DataFile Include="Microsoft.NETFramework.props">
      <SubType>Designer</SubType>
    </DataFile>
    <DataFile Include="Microsoft.NET.props">
      <SubType>Designer</SubType>
    </DataFile>
    <DataFile Include="Microsoft.NETFramework.CurrentVersion.props">
      <SubType>Designer</SubType>
    </DataFile>
    <DataFile Include="Microsoft.Managed.targets" />
    <DataFile Include="Microsoft.Managed.Before.targets" />
    <DataFile Include="Microsoft.Managed.After.targets" />
    <DataFile Include="Microsoft.CSharp.targets" />
    <DataFile Include="Microsoft.CSharp.CurrentVersion.targets" />
    <DataFile Include="Microsoft.CSharp.CrossTargeting.targets" />
    <DataFile Include="Microsoft.VisualBasic.targets" />
    <DataFile Include="Microsoft.VisualBasic.CurrentVersion.targets" />
    <DataFile Include="Microsoft.VisualBasic.CrossTargeting.targets" />
    <CopyFile Include="@(DataFile)">
      <DestFolder>$(SuiteBinPath)</DestFolder>
    </CopyFile>
    <CopyFile Include="Microsoft.VisualStudioVersion.v$(VsMajorVersion).Common.props">
      <DestFolder>$(AssetCompatPropsDir)</DestFolder>
    </CopyFile>
    <DataFile Include="Microsoft.Data.Entity.targets" />
    <DataFile Include="Microsoft.ServiceModel.targets" />
    <DataFile Include="Microsoft.WinFx.targets" />
    <DataFile Include="Microsoft.WorkflowBuildExtensions.targets" />
    <DataFile Include="Microsoft.Xaml.targets" />
    <DataFile Include="Workflow.targets" />
    <DataFile Include="Workflow.VisualBasic.targets" />
    <!-- CPS Xaml Rules-->
    <CopyFile Include="XamlRules\Content.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\CSharp.BrowseObject.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\CSharp.ProjectItemsSchema.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\CSharp.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\Debugger_General.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\Folder.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\SpecialFolder.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\General.BrowseObject.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\General.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\General_File.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\None.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\ProjectItemsSchema.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\Scc.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\SubProject.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\AssemblyReference.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\ResolvedAssemblyReference.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\comreference.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\ResolvedCOMReference.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\projectreference.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\ResolvedProjectReference.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\EmbeddedResource.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\VisualBasic.BrowseObject.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\VisualBasic.ProjectItemsSchema.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
    <CopyFile Include="XamlRules\VisualBasic.xaml">
      <DestFolder>$(XamlRulesOutputDir)</DestFolder>
    </CopyFile>
  </ItemGroup>
 
 
  <!-- ==========================================================================================-->
  <!-- Assemblies Files we depend on -->
  <!-- For perf, do not add more references (that will be loaded in common scenarios) without good reason -->
  <!-- ==========================================================================================-->
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.IO.Compression" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Reflection" />
    <Reference Include="System.Runtime.Serialization" />
    <!-- Needed by GenerateResource's ResXResourceReader: UNDONE: When CLR has moved this type to improve layering, remove this reference -->
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Security" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xml.Linq" />
    <!-- Needed by Xaml Task Factory -->
    <Reference Include="System.Xaml" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\default.win32manifest" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Framework\Microsoft.Build.Framework.csproj" SetTargetFramework="TargetFramework=netstandard2.0" OutputItemType="NetstandardRefAssemblies" />
    <ProjectReference Include="..\Utilities\Microsoft.Build.Utilities.csproj" SetTargetFramework="TargetFramework=netstandard2.0" OutputItemType="NetstandardRefAssemblies" />
    <ProjectReference Include="..\Framework\Microsoft.Build.Framework.csproj" />
    <ProjectReference Include="..\Utilities\Microsoft.Build.Utilities.csproj" />
    <ProjectReference Include="..\StringTools\StringTools.csproj" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.IO.Redist" Condition="'$(FeatureMSIORedist)' == 'true'" />
    <PackageReference Include="System.Collections.Immutable" />
    <PackageReference Include="System.Resources.Extensions" />
  </ItemGroup>
 
  <!-- Mimics AddRefAssemblies from MSBuild.csproj -->
  <Target Name="AddRefAssemblies" DependsOnTargets="ResolveAssemblyReferences" BeforeTargets="AssignTargetPaths">
    <ItemGroup>
      <Content Include="@(NetstandardRefAssemblies)" CopyToOutputDirectory="PreserveNewest" Link="ref\%(Filename)%(Extension)" />
    </ItemGroup>
  </Target>
 
  <!-- Tasks need to mimic redistributing the compilers, so add references to both full framework and .net core -->
  <ItemGroup>
    <!-- Reference this package to get binaries at runtime even when Arcade is not adding compiler references -->
    <PackageDownload Include="Microsoft.Net.Compilers.Toolset" Version="[$(MicrosoftNetCompilersToolsetVersion)]" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
    <PackageReference Include="System.Threading.Tasks.Dataflow" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(DotNetBuildSourceOnly)' != 'true'">
    <PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" PrivateAssets="all" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Content Include="$(NuGetPackageRoot)microsoft.net.compilers.toolset\$(MicrosoftNetCompilersToolsetVersion)\tasks\net472\**\*" CopyToOutputDirectory="PreserveNewest" LinkBase="Roslyn" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">
    <PackageReference Include="Microsoft.Win32.Registry" />
    <PackageReference Include="System.Reflection.Metadata" />
  </ItemGroup>
 
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'">
    <PackageReference Include="System.CodeDom" />
    <PackageReference Include="System.Security.Cryptography.Pkcs" />
    <PackageReference Include="System.Security.Cryptography.Xml" />
 
    <Content Include="$(NuGetPackageRoot)microsoft.net.compilers.toolset\$(MicrosoftNetCompilersToolsetVersion)\tasks\netcore\**\*" CopyToOutputDirectory="PreserveNewest" LinkBase="Roslyn" />
  </ItemGroup>
 
  <ItemGroup>
    <!--
      Content items in this project are used to copy files to the output directory but we don't
      want them included in the package.  We can't use IncludeContentInPack because we do need
      to include third party notices.
    -->
    <Content Update="@(Content)" Pack="false" />
  </ItemGroup>
</Project>