dofdemo/Projects/Android/slash.Android.csproj
2024-11-29 13:06:28 -05:00

53 lines
No EOL
2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0-android</TargetFramework>
<RuntimeIdentifiers>android-arm64</RuntimeIdentifiers>
<SupportedOSPlatformVersion>29</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType>
<ApplicationId>com.dofdev.slash</ApplicationId>
<ApplicationVersion>1</ApplicationVersion>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<RootNamespace>slash</RootNamespace>
<ReadOnlyProject>true</ReadOnlyProject>
<SKOpenXRLoader>Standard</SKOpenXRLoader>
<SKAssetFolder>..\..\Assets</SKAssetFolder>
<SKAssetDestination>Assets</SKAssetDestination>
<!--Suppress targetSdkVersion 29 warnings. XR devices use old versions
of Android.-->
<NoWarn>XA4211;XA1006;XA4301</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StereoKit" Version="0.3.9" />
</ItemGroup>
<!--Point Android to the right folders, otherwise these default to the root
directory.-->
<PropertyGroup>
<AndroidManifest>..\..\Platforms\Android\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>..\..\Platforms\Android\Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>..\..\Platforms\Android\Assets</MonoAndroidAssetsPrefix>
</PropertyGroup>
<!-- In .csproj -->
<Import Project="$(MSBuildProjectDirectory)\signing.private.props" Condition="Exists('$(MSBuildProjectDirectory)\signing.private.props')" />
<ItemGroup>
<Compile Include="..\..\**\*.cs" Exclude="..\..\obj\**;..\..\bin\**;..\..\Projects\**" />
<!--Don't compile .NET Core code in this project.-->
<Compile Remove="..\..\**\*.Net.cs" />
<Compile Remove="..\..\Platforms\Net\**\*.cs" />
<!--Hide everything in this project, otherwise it's a lot of
duplication that creates noise.-->
<Compile Update="..\..\**" Visible="false" />
<None Update="..\..\**" Visible="false" />
<Content Update="..\..\**" Visible="false" />
<Compile Update="..\..\**\*.Android.cs" Visible="true" />
<Compile Update="..\..\Platforms\Android\**\*.cs" Visible="true" />
</ItemGroup>
</Project>