csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.7 KiB
32 lines
1.7 KiB
<Project Sdk="Microsoft.Build.Traversal">
|
|
<ItemGroup>
|
|
<!-- Build Avalonia.Build.Tasks first because everything depends on it -->
|
|
<ProjectReference Include="src/Avalonia.Build.Tasks/Avalonia.Build.Tasks.csproj" />
|
|
<ProjectReference Include="src/**/*.*proj" />
|
|
<ProjectReference Include="samples/**/*.*proj" />
|
|
<ProjectReference Include="tests/**/*.*proj" />
|
|
<ProjectReference Include="packages/**/*.*proj" />
|
|
<ProjectReference Remove="**/*.shproj" />
|
|
<ProjectReference Remove="src/Markup/Avalonia.Markup.Xaml/PortableXaml/**/*.*proj" />
|
|
<ProjectReference Remove="src/Markup/Avalonia.Markup.Xaml.Loader/xamlil.github/**/*.*proj" />
|
|
<!-- Exclude iOS, Android and Web samples from build -->
|
|
<ProjectReference Remove="samples/*.iOS/*.csproj" />
|
|
<ProjectReference Remove="samples/*.Android/*.csproj" />
|
|
<ProjectReference Remove="samples/*.Web/*.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="!$([MSBuild]::IsOsPlatform('Windows')) OR '$(MSBuildRuntimeType)' != 'Full'">
|
|
<ProjectReference Remove="src/Windows/Avalonia.Win32.Interop/Avalonia.Win32.Interop.csproj" />
|
|
<ProjectReference Remove="samples/interop/**/*.*proj" />
|
|
<ProjectReference Remove="samples/ControlCatalog.Desktop/*.*proj" />
|
|
</ItemGroup>
|
|
|
|
<!-- Build android and iOS projects only on Windows, where we have installed android workload -->
|
|
<ItemGroup Condition="!$([MSBuild]::IsOsPlatform('Windows'))">
|
|
<ProjectReference Remove="src/Android/**/*.*proj" />
|
|
<ProjectReference Remove="src/iOS/**/*.*proj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.VisualStudio.SlnGen" Version="8.5.17" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
</Project>
|
|
|