File: MSBuild.VSSetup.Arm64.csproj
Web Access
Project: ..\..\..\src\Package\MSBuild.VSSetup.Arm64\MSBuild.VSSetup.Arm64.csproj (MSBuild.VSSetup.Arm64)
<!-- Copyright (c)  Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>$(FullFrameworkTFM)</TargetFramework>
    <!-- VS Insertion -->
    <TargetVsixContainerName>Microsoft.Build.Arm64.vsix</TargetVsixContainerName>
    <VisualStudioInsertionComponent>Microsoft.Build.Arm64</VisualStudioInsertionComponent>
    <ShouldSkipProject>false</ShouldSkipProject>
    <ShouldSkipProject Condition="'$(MSBuildRuntimeType)' != 'Full'">true</ShouldSkipProject>
  </PropertyGroup>
 
  <ItemGroup>
    <ProjectReference Include="..\..\Build\Microsoft.Build.csproj" PrivateAssets="All" />
  </ItemGroup>
 
  <ItemGroup>
    <SwrProperty Include="ThirdPartyNotice=$(ThirdPartyNotice)" />
    <SwrProperty Include="SourceDir=$(RepoRoot)\src\" />
 
    <!-- Only add the swr file when building on full framework msbuild, otherwise,
    this triggers a build of the swixproj, which is not supported in core msbuild. -->
    <SwrFile Include="files.arm64.swr" Condition=" '$(MSBuildRuntimeType)' == 'Full' " />
  </ItemGroup>
 
  <Import Project="..\GetBinPaths.Arm64.targets" Condition="!$(ShouldSkipProject)" />
 
  <Target Name="SetVsixProperties" BeforeTargets="Build" DependsOnTargets="SetBinPathsArm64" Condition="!$(ShouldSkipProject)">
    <ItemGroup>
      <SwrProperty Include="Version=$(VsixVersion)" />
      <SwrProperty Include="FrameworkBinPath=$(FrameworkBinPath)" />
      <SwrProperty Include="Arm64BinPath=$(Arm64BinPath)" />
    </ItemGroup>
  </Target>
 
  <Import Project="$(RepoRoot)eng\ProducesNoOutput.Settings.props" Condition="$(ShouldSkipProject)" />
</Project>