xamarin-android/tools/xabuild/xabuild.csproj

46 строки
2.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>Xamarin.Android.Build</RootNamespace>
<AssemblyName>xabuild</AssemblyName>
<PlatformTarget>x86</PlatformTarget>
<TargetFramework>net472</TargetFramework>
<OutputPath>..\..\bin\$(Configuration)\bin</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<_MSBuildExtension Condition=" '$(OS)' == 'Windows_NT' ">exe</_MSBuildExtension>
<_MSBuildExtension Condition=" '$(OS)' != 'Windows_NT' ">dll</_MSBuildExtension>
</PropertyGroup>
<Import Project="..\..\Configuration.props" />
<ItemGroup>
<PackageReference Include="System.Buffers" Version="4.5.1" />
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" />
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.1" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<Reference Include="MSBuild">
<HintPath>$(MSBuildToolsPath)\MSBuild.$(_MSBuildExtension)</HintPath>
</Reference>
<Reference Include="Microsoft.Build">
<HintPath>$(MSBuildToolsPath)\Microsoft.Build.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Framework">
<HintPath>$(MSBuildToolsPath)\Microsoft.Build.Framework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Tasks.Core">
<HintPath>$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Utilities.Core">
<HintPath>$(MSBuildToolsPath)\Microsoft.Build.Utilities.Core.dll</HintPath>
</Reference>
<ProjectReference Include="..\vswhere\vswhere.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\scripts\xabuild">
<Link>xabuild</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Target Name="_AfterBuild" AfterTargets="Build">
<Delete Files="$(OutputPath)MSBuild.$(_MSBuildExtension).config" />
</Target>
</Project>