/
Maui.Controls.Sample.Profiling.csproj
45 lines (38 loc) · 2.44 KB
/
Maui.Controls.Sample.Profiling.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(IncludeAndroidTargetFrameworks)' == 'true'">net$(_MauiDotNetVersion)-android;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition="'$(IncludeMacCatalystTargetFrameworks)' == 'true'">net$(_MauiDotNetVersion)-maccatalyst;$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition="'$(IncludeIosTargetFrameworks)' == 'true'">net$(_MauiDotNetVersion)-ios;$(TargetFrameworks)</TargetFrameworks>
<OutputType>Exe</OutputType>
<SingleProject>true</SingleProject>
<ApplicationTitle>Profiling</ApplicationTitle>
<ApplicationId>com.microsoft.maui.profiling</ApplicationId>
<ApplicationVersion>1</ApplicationVersion>
<IsPackable>false</IsPackable>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<!-- Disable multi-RID builds to workaround a parallel build issue -->
<RuntimeIdentifier Condition="$(TargetFramework.Contains('-maccatalyst'))">maccatalyst-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="$(TargetFramework.Contains('-maccatalyst')) and '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'arm64'">maccatalyst-arm64</RuntimeIdentifier>
</PropertyGroup>
<PropertyGroup>
<IsEmulator Condition="'$(IsEmulator)' == ''">true</IsEmulator>
<AndroidEnableProfiler>true</AndroidEnableProfiler>
<AndroidLinkResources>true</AndroidLinkResources>
</PropertyGroup>
<ItemGroup>
<AndroidEnvironment Condition="'$(IsEmulator)' == 'true'" Include="Platforms\Android\environment.emulator.txt" />
<AndroidEnvironment Condition="'$(IsEmulator)' != 'true'" Include="Platforms\Android\environment.device.txt" />
</ItemGroup>
<ItemGroup Condition=" '$(UseMaui)' != 'true' ">
<ProjectReference Include="..\..\..\Core\src\Core.csproj" />
<ProjectReference Include="..\..\src\Xaml\Controls.Xaml.csproj" />
<ProjectReference Include="..\..\src\Core\Controls.Core.csproj" />
</ItemGroup>
<ItemGroup>
<MauiIcon Include="Resources\AppIcons\appicon.svg" ForegroundFile="Resources\AppIcons\appicon_foreground.svg" Color="#512BD4" />
<MauiSplashScreen Include="Resources\AppIcons\appicon_foreground.svg" Color="#512BD4" BaseSize="128,128" />
<MauiImage Include="Resources\Images\*" />
<MauiFont Include="Resources\Fonts\*" />
</ItemGroup>
<Import Project="$(MauiSrcDirectory)Maui.InTree.props" Condition=" '$(UseMaui)' != 'true' " />
</Project>