Share via

Which settings should I use in my Android project when I want to submit it for Google Play Store review?

Kim Strasser 2,366 Reputation points
2026-03-29T11:31:57.22+00:00

I don´t know if I use the correct settings in my Android project when I want to submit my game for Google Play Store review. Currently, I´m only using Google Play Console Internal Testing.

Can I submit my game for Google Play Store review with the following .csproj file or is it necessary to change something in the .csproj file or Visual Studio project settings?

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net10.0-android36.1</TargetFramework>
    <SupportedOSPlatformVersion>31.0</SupportedOSPlatformVersion>
    <OutputType>Exe</OutputType>
    <ApplicationId>com.companyname.MyProjectAndroid</ApplicationId>
    <ApplicationVersion>10</ApplicationVersion>
    <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
    <!-- Signing -->
    <AndroidKeyStore>true</AndroidKeyStore>
    <AndroidSigningKeyStore>mykeystore.keystore</AndroidSigningKeyStore>
    <AndroidSigningKeyAlias>mykeystore</AndroidSigningKeyAlias>
    <AndroidSigningStorePass>...</AndroidSigningStorePass>
    <AndroidSigningKeyPass>...</AndroidSigningKeyPass>
    <!-- Architecture (keep only what you need) -->
    <RuntimeIdentifiers>android-arm64</RuntimeIdentifiers>
    <!-- Linking (safe baseline) -->
    <AndroidLinkMode>SdkOnly</AndroidLinkMode>
    <DebugType>portable</DebugType>
    <DebugSymbols>true</DebugSymbols>
  </PropertyGroup>
 <PropertyGroup Condition="'$(Configuration)'=='Release'">
    <AndroidGenerateNativeDebugSymbols>true</AndroidGenerateNativeDebugSymbols>
    <AndroidStripNativeDebugSymbols>true</AndroidStripNativeDebugSymbols>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Debug'">
    <RuntimeIdentifiers>android-arm64;android-x64</RuntimeIdentifiers>
    <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
  </PropertyGroup>
    <ItemGroup>
    <None Remove="google-services.json" />
  </ItemGroup>
  <ItemGroup>
    <GoogleServicesJson Include="google-services.json" />
  </ItemGroup>
  <ItemGroup>
    <!-- Exclude duplicate JVM packages to resolve D8 compilation conflicts with Android variants -->
    <PackageReference Include="Xamarin.AndroidX.Compose.Runtime.Annotation.Jvm" Version="1.10.4.1" ExcludeAssets="all" />
    <PackageReference Include="Xamarin.AndroidX.Datastore.Preferences.Core.Jvm" Version="1.2.0.2" ExcludeAssets="all" />
    <PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
    <PackageReference Include="Microsoft.Maui.Controls" Version="10.0.51" />
    <PackageReference Include="Microsoft.Maui.Core" Version="10.0.51" />
    <PackageReference Include="Microsoft.Maui.Essentials" Version="10.0.51" />
    <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
    <PackageReference Include="MonoGame.Framework.Android" Version="3.8.4.1" />
    <PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
    <PackageReference Include="PlayFabAllSDK" Version="1.220.260313" />
    <PackageReference Include="Plugin.InAppBilling" Version="10.0.0" />
    <PackageReference Include="Plugin.MediaManager" Version="1.2.2" />
    <PackageReference Include="Xamarin.AndroidX.Activity" Version="1.12.4.1" />
    <PackageReference Include="Xamarin.AndroidX.Activity.Ktx" Version="1.12.4.1" />
    <PackageReference Include="Xamarin.AndroidX.Collection.Jvm" Version="1.5.0.5" />
    <PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.5.0.5" />
    <PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.2.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Fragment.Ktx" Version="1.8.9.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.Process" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Android" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel.Ktx" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModelSavedState" Version="2.10.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Preference" Version="1.2.1.17" />
    <PackageReference Include="Xamarin.AndroidX.SavedState.SavedState.Ktx" Version="1.4.0.2" />
    <PackageReference Include="Xamarin.Firebase.Messaging" Version="125.0.1.2" />
    <PackageReference Include="Xamarin.Google.Guava" Version="33.5.0.2" />
    <PackageReference Include="Xamarin.GooglePlayServices.Base" Version="118.10.0.1" />
  </ItemGroup>
  <Target Name="RestoreDotnetTools" BeforeTargets="Restore">
    <Message Text="Restoring dotnet tools" Importance="High" />
    <Exec Command="dotnet tool restore" />
  </Target>
  <Import Project="..\FarseerPhysicsCode\FarseerPhysicsCode.projitems" Label="Shared" />
  <Import Project="..\FarseerPhysicsDebug\FarseerPhysicsDebug.projitems" Label="Shared" />
  <Import Project="..\SharedCode\SharedCode.projitems" Label="Shared" />
</Project>

Developer technologies | .NET | .NET MAUI
0 comments No comments

Answer accepted by question author
  1. Nancy Vo (WICLOUD CORPORATION) 1,985 Reputation points Microsoft External Staff Moderator
    2026-03-30T04:01:11.39+00:00

    Hi @Kim Strasser ,

    Thanks for your question.

    Your current settings are mostly fine for Google Play Store review. You can submit with this file, but I suggest making these small adjustments:

    • Increase <ApplicationVersion> (e.g. from 10 to 11) every time before uploading.
    • For project settings: Right-click your Android project -> Properties -> Android tab -> Options section. For Release configuration, make sure Package format is set to bundle.

    You can build with this command:

    dotnet publish -f net10.0-android -c Release -p:AndroidPackageFormat=aab
    

    Upload first to Internal Testing to check if Google Play Console shows any warnings.

    Base on Publish an Android app for Google Play distribution.

    I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-29T11:32:08.9033333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The provided context only covers high-level publishing to Google Play from Visual Studio and general Android/MSBuild property behavior. It does not define or validate specific .csproj settings like those in the question (TargetFramework net10.0-android36.1, specific package set, or exact signing/linking/debug properties) for Google Play review.

    Because of that, no statement can be made from the context about whether the shown .csproj is correct or needs changes for Google Play Store review.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.