build: centralize app version in Directory.Build.props\n\n- Define AppVersion + PrereleaseLabel as single source of truth\n- Derive Version, AssemblyVersion, FileVersion, InformationalVersion\n- Map Android: ApplicationDisplayVersion (versionName) and ApplicationVersion (versionCode)\n- Remove version fields from Android csproj and manifest
This commit is contained in:
parent
88589fd654
commit
a64cc5a683
3 changed files with 29 additions and 4 deletions
|
@ -5,8 +5,7 @@
|
|||
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<ApplicationId>com.jordanwages.advanced_calculator</ApplicationId>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
<ApplicationDisplayVersion>1.1</ApplicationDisplayVersion>
|
||||
<!-- Version info is centralized in src/Directory.Build.props -->
|
||||
<AndroidPackageFormat>apk</AndroidPackageFormat>
|
||||
<AndroidEnableProfiledAot>False</AndroidEnableProfiledAot>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="com.jordanwages.advanced_calculator" android:versionCode="2" android:versionName="1.1.0">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="com.jordanwages.advanced_calculator">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<application android:label="Advanced Calculator" android:icon="@drawable/icon" />
|
||||
</manifest>
|
||||
</manifest>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue