-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForza6Client.csproj
More file actions
29 lines (25 loc) · 1.23 KB
/
Copy pathForza6Client.csproj
File metadata and controls
29 lines (25 loc) · 1.23 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework Condition="'$(IncludeAndroid)' != 'true'">net9.0</TargetFramework>
<TargetFrameworks Condition="'$(IncludeAndroid)' == 'true'">net9.0;net9.0-android</TargetFrameworks>
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest Condition="'$(TargetFramework)' == 'net9.0-android'">Android\AndroidManifest.xml</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.2.3" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.3" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0' Or '$(IncludeAndroid)' != 'true'">
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0-android'">
<PackageReference Include="Avalonia.Android" Version="11.2.3" />
<Compile Remove="Program.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net9.0-android'">
<Compile Remove="Android\**" />
</ItemGroup>
</Project>