File: D\a\_work\1\s\bin_\repo\msbuild\src\Package\GetBinPaths.targets
Web Access
Project: ..\..\..\src\Package\MSBuild.VSSetup\MSBuild.VSSetup.csproj (MSBuildFiles)
<Project>
 
  <ItemGroup>
    <!-- Reference projects whose outputs are used in the package.  Use OutputItemType to get the path to the output assembly,
         from which we will later derive the path to the output folder, which is passed as a variable to the .swr file. -->
    <ProjectReference Include="$(MSBuildThisFileDirectory)\..\MSBuild\MSBuild.csproj"
                      Private="false"
                      ReferenceOutputAssembly="false"
                      OutputItemType="MSBuildResolvedProjectReferencePath"
                      SetTargetFramework="TargetFramework=$(TargetFramework)"/>
 
    <ProjectReference Include="$(MSBuildThisFileDirectory)\..\Framework\Microsoft.Build.Framework.csproj"
                      Private="false"
                      ReferenceOutputAssembly="false"
                      OutputItemType="FrameworkResolvedProjectReferencePath" />
 
    <ProjectReference Include="$(MSBuildThisFileDirectory)\..\MSBuildTaskHost\MSBuildTaskHost.csproj"
                      Private="false"
                      ReferenceOutputAssembly="false"
                      OutputItemType="MSBuildTaskHostResolvedProjectReferencePath" />
 
    <ProjectReference Include="$(MSBuildThisFileDirectory)\..\Deprecated\Conversion\Microsoft.Build.Conversion.csproj"
                      Private="false"
                      ReferenceOutputAssembly="false"
                      OutputItemType="MSBuildConversionResolvedProjectReferencePath" />
 
    <!-- Set up items to build projects where the Platform is set to x64, when we need the x64 versions of the files.
         We have to treat these separately from normal project references, as the AssignProjectConfiguration task would overwrite
         the SetPlatform item metadata if they were ProjectReferences.
    -->
    <X64ProjectReference Include="$(MSBuildThisFileDirectory)\..\MSBuild\MSBuild.csproj"
                         SetPlatform="Platform=x64"
                         SetTargetFramework="TargetFramework=$(FullFrameworkTFM)"
                         OutputItemType="MSBuildX64ResolvedProjectReferencePath" />
    <X64ProjectReference Include="$(MSBuildThisFileDirectory)\..\MSBuildTaskHost\MSBuildTaskHost.csproj"
                         SetPlatform="Platform=x64"
                         OutputItemType="MSBuildTaskHostX64ResolvedProjectReferencePath"
                         GlobalPropertiesToRemove="TargetFramework" />
  </ItemGroup>
 
  <Target Name="SetBinPaths" DependsOnTargets="ResolveProjectReferences">
    <MSBuild
        Projects="@(X64ProjectReference)"
        BuildInParallel="$(BuildInParallel)"
        Properties="Configuration=$(Configuration); %(X64ProjectReference.SetPlatform); %(X64ProjectReference.SetTargetFramework)"
        RemoveProperties="%(X64ProjectReference.GlobalPropertiesToRemove)">
 
      <Output TaskParameter="TargetOutputs" ItemName="%(X64ProjectReference.OutputItemType)" />
    </MSBuild>
 
    <PropertyGroup>
      <X86BinPath>@(MSBuildResolvedProjectReferencePath->'%(RootDir)%(Directory)')</X86BinPath>
      <X64BinPath>@(MSBuildX64ResolvedProjectReferencePath->'%(RootDir)%(Directory)')</X64BinPath>
      <FrameworkBinPath>@(FrameworkResolvedProjectReferencePath->'%(RootDir)%(Directory)')</FrameworkBinPath>
      <MSBuildTaskHostBinPath>@(MSBuildTaskHostResolvedProjectReferencePath->'%(RootDir)%(Directory)')</MSBuildTaskHostBinPath>
      <MSBuildTaskHostX64BinPath>@(MSBuildTaskHostX64ResolvedProjectReferencePath->'%(RootDir)%(Directory)')</MSBuildTaskHostX64BinPath>
      <MSBuildConversionBinPath>@(MSBuildConversionResolvedProjectReferencePath->'%(RootDir)%(Directory)')</MSBuildConversionBinPath>
    </PropertyGroup>
  </Target>
 
 
</Project>