Move TargetFrameworkVersion to .props

git blame didn't give a more specific reason for the comment. Builds just fine.
This commit is contained in:
Susko3
2022-02-11 23:02:06 +01:00
parent 4fa5553667
commit 3d3ec70a15
3 changed files with 3 additions and 6 deletions

View File

@@ -10,7 +10,6 @@
<AndroidApplication>True</AndroidApplication>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a</AndroidSupportedAbis>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="SampleGameActivity.cs" />
@@ -33,4 +32,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
</Project>

View File

@@ -11,8 +11,7 @@
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidApplication>True</AndroidApplication>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<!-- This does not take effect, unlike osu game repo. -->
<!--<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>-->
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a</AndroidSupportedAbis>

View File

@@ -10,7 +10,6 @@
<AssemblyName>osu.Framework.Tests.Android</AssemblyName>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a</AndroidSupportedAbis>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="TestGameActivity.cs" />
@@ -40,4 +39,4 @@
<Reference Include="System.Numerics" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
</Project>