├── README.md
├── XamarinSemVer
├── XamarinSemVer
│ ├── AssemblyInfo.cs
│ ├── App.xaml
│ ├── XamarinSemVer.csproj
│ ├── MainPage.xaml
│ ├── App.xaml.cs
│ └── MainPage.xaml.cs
├── XamarinSemVer.iOS
│ ├── Resources
│ │ ├── Default.png
│ │ ├── Default@2x.png
│ │ ├── Default-568h@2x.png
│ │ ├── Default-Portrait.png
│ │ ├── Default-Portrait@2x.png
│ │ └── LaunchScreen.storyboard
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon120.png
│ │ │ ├── Icon152.png
│ │ │ ├── Icon167.png
│ │ │ ├── Icon180.png
│ │ │ ├── Icon20.png
│ │ │ ├── Icon29.png
│ │ │ ├── Icon40.png
│ │ │ ├── Icon58.png
│ │ │ ├── Icon60.png
│ │ │ ├── Icon76.png
│ │ │ ├── Icon80.png
│ │ │ ├── Icon87.png
│ │ │ ├── Icon1024.png
│ │ │ └── Contents.json
│ ├── Entitlements.plist
│ ├── Main.cs
│ ├── AppDelegate.cs
│ ├── Info.plist
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── XamarinSemVer.iOS.csproj
└── XamarinSemVer.Android
│ ├── Resources
│ ├── mipmap-hdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-mdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-xhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-xxhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-xxxhdpi
│ │ ├── icon.png
│ │ └── launcher_foreground.png
│ ├── mipmap-anydpi-v26
│ │ ├── icon.xml
│ │ └── icon_round.xml
│ ├── values
│ │ ├── colors.xml
│ │ └── styles.xml
│ ├── layout
│ │ ├── Toolbar.xml
│ │ └── Tabbar.xml
│ └── AboutResources.txt
│ ├── Properties
│ ├── AndroidManifest.xml
│ └── AssemblyInfo.cs
│ ├── Assets
│ └── AboutAssets.txt
│ ├── MainActivity.cs
│ └── XamarinSemVer.Android.csproj
├── Pipfile
├── Pipfile.lock
├── Makefile
├── .bumpversion.cfg
├── LICENSE
├── XamarinSemVer.sln
└── .gitignore
/README.md:
--------------------------------------------------------------------------------
1 | # xamarin-semver
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms.Xaml;
2 |
3 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Resources/Default.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-hdpi/icon.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-mdpi/icon.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xhdpi/icon.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxhdpi/icon.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png
--------------------------------------------------------------------------------
/Pipfile:
--------------------------------------------------------------------------------
1 | [[source]]
2 | name = "pypi"
3 | url = "https://pypi.org/simple"
4 | verify_ssl = true
5 |
6 | [dev-packages]
7 | advbumpversion = "*"
8 |
9 | [packages]
10 |
11 | [requires]
12 | python_version = "3.6"
13 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-hdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-hdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-mdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-mdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thatcsharpguy/xamarin-semver/master/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-anydpi-v26/icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 | #3F51B5
5 | #303F9F
6 | #FF4081
7 |
8 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/mipmap-anydpi-v26/icon_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/layout/Toolbar.xml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer/XamarinSemVer.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 | pdbonly
9 | true
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace XamarinSemVer.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/layout/Tabbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Essentials;
2 | using Xamarin.Forms;
3 |
4 | namespace XamarinSemVer
5 | {
6 | public partial class App : Application
7 | {
8 | public App()
9 | {
10 | InitializeComponent();
11 | VersionTracking.Track();
12 | MainPage = new MainPage();
13 | }
14 |
15 | protected override void OnStart()
16 | {
17 | // Handle when your app starts
18 | }
19 |
20 | protected override void OnSleep()
21 | {
22 | // Handle when your app sleeps
23 | }
24 |
25 | protected override void OnResume()
26 | {
27 | // Handle when your app resumes
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Pipfile.lock:
--------------------------------------------------------------------------------
1 | {
2 | "_meta": {
3 | "hash": {
4 | "sha256": "e83da0f23043b86ec436fc16397c968b98feef5e5727a415709bfff1b3952e27"
5 | },
6 | "pipfile-spec": 6,
7 | "requires": {
8 | "python_version": "3.6"
9 | },
10 | "sources": [
11 | {
12 | "name": "pypi",
13 | "url": "https://pypi.org/simple",
14 | "verify_ssl": true
15 | }
16 | ]
17 | },
18 | "default": {},
19 | "develop": {
20 | "advbumpversion": {
21 | "hashes": [
22 | "sha256:87445c9c755b2155f3ccf03c3cd9b2d94589b044d38cbdda775c315397c934d1",
23 | "sha256:a605d545ca4153c38b82c994729b1bc11b7d23bff4226e45440bbbc1881df8a5"
24 | ],
25 | "index": "pypi",
26 | "version": "==1.2.0"
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | CURRENT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>&1)
2 | MASTER_BRANCH := master
3 | PIPENV := pipenv
4 | WITH_PIPENV := $(PIPENV) run
5 |
6 | .EXPORT_ALL_VARIABLES:
7 | PIPENV_VENV_IN_PROJECT=1
8 |
9 | setup:
10 | $(PIPENV) install --dev
11 |
12 | check-on-master:
13 | ifneq ($(CURRENT_BRANCH),$(MASTER_BRANCH))
14 | $(error This operation is only available on the master branch)
15 | else
16 | @echo "Working on master"
17 | endif
18 |
19 | increase-build:
20 | $(WITH_PIPENV) bumpversion build --no-tag
21 |
22 | release-patch: check-on-master increase-build
23 | $(WITH_PIPENV) bumpversion patch --verbose
24 | git push --follow-tags
25 |
26 | release-minor: check-on-master increase-build
27 | $(WITH_PIPENV) bumpversion minor --verbose
28 | git push --follow-tags
29 |
30 | release-major: check-on-master increase-build
31 | $(WITH_PIPENV) bumpversion major --verbose
32 | git push --follow-tags
33 |
34 | .PHONY: setup check-on-master release-patch release-minor release-major increase-build
35 |
--------------------------------------------------------------------------------
/.bumpversion.cfg:
--------------------------------------------------------------------------------
1 | [bumpversion]
2 | current_version = 1.0.0-3
3 | serialize = {major}.{minor}.{patch}-{build}
4 | parse = (?P\d+)\.(?P\d+)\.(?P\d+)-(?P\d+)
5 | commit = True
6 | tag = True
7 |
8 | [bumpversion:file:XamarinSemVer\XamarinSemVer.iOS\Info.plist:0]
9 | serialize = {major}.{minor}.{patch}
10 | search = {current_version}
11 | replace = {new_version}
12 |
13 | [bumpversion:file:XamarinSemVer\XamarinSemVer.iOS\Info.plist:1]
14 | serialize = {build}
15 | search = {current_version}
16 | replace = {new_version}
17 |
18 | [bumpversion:file:XamarinSemVer\XamarinSemVer.Android\Properties\AndroidManifest.xml:0]
19 | serialize = {major}.{minor}.{patch}
20 | search = android:versionName="{current_version}"
21 | replace = android:versionName="{new_version}"
22 |
23 | [bumpversion:file:XamarinSemVer\XamarinSemVer.Android\Properties\AndroidManifest.xml:1]
24 | serialize = {build}
25 | search = android:versionCode="{current_version}"
26 | replace = android:versionCode="{new_version}"
27 |
28 | [bumpversion:part:build]
29 | independent = True
30 |
31 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 That CS Guy
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace XamarinSemVer.iOS
9 | {
10 | // The UIApplicationDelegate for the application. This class is responsible for launching the
11 | // User Interface of the application, as well as listening (and optionally responding) to
12 | // application events from iOS.
13 | [Register("AppDelegate")]
14 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
15 | {
16 | //
17 | // This method is invoked when the application has loaded and is ready to run. In this
18 | // method you should instantiate the window, load the UI into it and then make the window
19 | // visible.
20 | //
21 | // You have 17 seconds to return from this method, or iOS will terminate your application.
22 | //
23 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
24 | {
25 | global::Xamarin.Forms.Forms.Init();
26 | LoadApplication(new App());
27 |
28 | return base.FinishedLaunching(app, options);
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 |
10 | namespace XamarinSemVer.Droid
11 | {
12 | [Activity(Label = "XamarinSemVer", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
13 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
14 | {
15 | protected override void OnCreate(Bundle savedInstanceState)
16 | {
17 | TabLayoutResource = Resource.Layout.Tabbar;
18 | ToolbarResource = Resource.Layout.Toolbar;
19 |
20 | base.OnCreate(savedInstanceState);
21 |
22 | Xamarin.Essentials.Platform.Init(this, savedInstanceState);
23 | global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
24 | LoadApplication(new App());
25 | }
26 | public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
27 | {
28 | Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
29 |
30 | base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using Android.App;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("XamarinSemVer.Android")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("XamarinSemVer.Android")]
14 | [assembly: AssemblyCopyright("Copyright © 2014")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | [assembly: ComVisible(false)]
18 |
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Build and Revision Numbers
27 | // by using the '*' as shown below:
28 | // [assembly: AssemblyVersion("1.0.*")]
29 | [assembly: AssemblyVersion("1.0.0.0")]
30 | [assembly: AssemblyFileVersion("1.0.0.0")]
31 |
32 | // Add some common permissions, these can be removed if not needed
33 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
35 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | UIDeviceFamily
6 |
7 | 1
8 | 2
9 |
10 | UISupportedInterfaceOrientations
11 |
12 | UIInterfaceOrientationPortrait
13 | UIInterfaceOrientationLandscapeLeft
14 | UIInterfaceOrientationLandscapeRight
15 |
16 | UISupportedInterfaceOrientations~ipad
17 |
18 | UIInterfaceOrientationPortrait
19 | UIInterfaceOrientationPortraitUpsideDown
20 | UIInterfaceOrientationLandscapeLeft
21 | UIInterfaceOrientationLandscapeRight
22 |
23 | MinimumOSVersion
24 | 8.0
25 | CFBundleDisplayName
26 | XamarinSemVer
27 | CFBundleIdentifier
28 | com.companyname.XamarinSemVer
29 | CFBundleVersion
30 | 3
31 | CFBundleShortVersionString
32 | 1.0.0
33 | UILaunchStoryboardName
34 | LaunchScreen
35 | CFBundleName
36 | XamarinSemVer
37 | XSAppIconAssets
38 | Assets.xcassets/AppIcon.appiconset
39 |
40 |
41 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("XamarinSemVer.iOS")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("XamarinSemVer.iOS")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Resources/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
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 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images": [
3 | {
4 | "scale": "2x",
5 | "size": "20x20",
6 | "idiom": "iphone",
7 | "filename": "Icon40.png"
8 | },
9 | {
10 | "scale": "3x",
11 | "size": "20x20",
12 | "idiom": "iphone",
13 | "filename": "Icon60.png"
14 | },
15 | {
16 | "scale": "2x",
17 | "size": "29x29",
18 | "idiom": "iphone",
19 | "filename": "Icon58.png"
20 | },
21 | {
22 | "scale": "3x",
23 | "size": "29x29",
24 | "idiom": "iphone",
25 | "filename": "Icon87.png"
26 | },
27 | {
28 | "scale": "2x",
29 | "size": "40x40",
30 | "idiom": "iphone",
31 | "filename": "Icon80.png"
32 | },
33 | {
34 | "scale": "3x",
35 | "size": "40x40",
36 | "idiom": "iphone",
37 | "filename": "Icon120.png"
38 | },
39 | {
40 | "scale": "2x",
41 | "size": "60x60",
42 | "idiom": "iphone",
43 | "filename": "Icon120.png"
44 | },
45 | {
46 | "scale": "3x",
47 | "size": "60x60",
48 | "idiom": "iphone",
49 | "filename": "Icon180.png"
50 | },
51 | {
52 | "scale": "1x",
53 | "size": "20x20",
54 | "idiom": "ipad",
55 | "filename": "Icon20.png"
56 | },
57 | {
58 | "scale": "2x",
59 | "size": "20x20",
60 | "idiom": "ipad",
61 | "filename": "Icon40.png"
62 | },
63 | {
64 | "scale": "1x",
65 | "size": "29x29",
66 | "idiom": "ipad",
67 | "filename": "Icon29.png"
68 | },
69 | {
70 | "scale": "2x",
71 | "size": "29x29",
72 | "idiom": "ipad",
73 | "filename": "Icon58.png"
74 | },
75 | {
76 | "scale": "1x",
77 | "size": "40x40",
78 | "idiom": "ipad",
79 | "filename": "Icon40.png"
80 | },
81 | {
82 | "scale": "2x",
83 | "size": "40x40",
84 | "idiom": "ipad",
85 | "filename": "Icon80.png"
86 | },
87 | {
88 | "scale": "1x",
89 | "size": "76x76",
90 | "idiom": "ipad",
91 | "filename": "Icon76.png"
92 | },
93 | {
94 | "scale": "2x",
95 | "size": "76x76",
96 | "idiom": "ipad",
97 | "filename": "Icon152.png"
98 | },
99 | {
100 | "scale": "2x",
101 | "size": "83.5x83.5",
102 | "idiom": "ipad",
103 | "filename": "Icon167.png"
104 | },
105 | {
106 | "scale": "1x",
107 | "size": "1024x1024",
108 | "idiom": "ios-marketing",
109 | "filename": "Icon1024.png"
110 | }
111 | ],
112 | "properties": {},
113 | "info": {
114 | "version": 1,
115 | "author": "xcode"
116 | }
117 | }
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using Xamarin.Essentials;
8 | using Xamarin.Forms;
9 |
10 | namespace XamarinSemVer
11 | {
12 | // Learn more about making custom code visible in the Xamarin.Forms previewer
13 | // by visiting https://aka.ms/xamarinforms-previewer
14 | [DesignTimeVisible(false)]
15 | public partial class MainPage : ContentPage
16 | {
17 | public MainPage()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 | protected override void OnAppearing()
23 | {
24 | base.OnAppearing();
25 |
26 | var sb = new StringBuilder();
27 |
28 | // First time ever launched application
29 | var firstLaunch = VersionTracking.IsFirstLaunchEver;
30 | sb.AppendLine($"First launch ever {firstLaunch}");
31 |
32 | // Current app version
33 | var currentVersion = VersionTracking.CurrentVersion;
34 | sb.AppendLine($"Current version {currentVersion}");
35 |
36 | // First time launching current version
37 | var firstLaunchCurrent = VersionTracking.IsFirstLaunchForCurrentVersion;
38 | sb.AppendLine($"First launch current version {firstLaunchCurrent}");
39 |
40 | // Current build
41 | var currentBuild = VersionTracking.CurrentBuild;
42 | sb.AppendLine($"Current build {currentBuild}");
43 |
44 | // First time launching current build
45 | var firstLaunchBuild = VersionTracking.IsFirstLaunchForCurrentBuild;
46 | sb.AppendLine($"First launch current build {firstLaunchBuild}");
47 |
48 | // Previous app version
49 | var previousVersion = VersionTracking.PreviousVersion;
50 | sb.AppendLine($"Previous version {previousVersion}");
51 |
52 | // Previous app build
53 | var previousBuild = VersionTracking.PreviousBuild;
54 | sb.AppendLine($"Previous build {previousBuild}");
55 |
56 | // First version of app installed (1.0.0)
57 | var firstVersion = VersionTracking.FirstInstalledVersion;
58 | sb.AppendLine($"First installed version {firstVersion}");
59 |
60 | // First build of app installed
61 | var firstBuild = VersionTracking.FirstInstalledBuild;
62 | sb.AppendLine($"First installed build {firstBuild}");
63 |
64 | // List of versions installed (1.0.0, 2.0.0)
65 | var versionHistory = VersionTracking.VersionHistory;
66 | sb.AppendLine($"All installed versions {String.Join(", ", versionHistory)}");
67 |
68 | // List of builds installed (1, 2)
69 | var buildHistory = VersionTracking.BuildHistory;
70 | sb.AppendLine($"All installed builds {String.Join(", ", buildHistory)}");
71 |
72 | Label.Text = sb.ToString();
73 | }
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.Android/XamarinSemVer.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}
7 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {c9e5eea5-ca05-42a1-839b-61506e0a37df}
9 | Library
10 | XamarinSemVer.Droid
11 | XamarinSemVer.Android
12 | True
13 | Resources\Resource.designer.cs
14 | Resource
15 | Properties\AndroidManifest.xml
16 | Resources
17 | Assets
18 | false
19 | v9.0
20 | true
21 | true
22 | Xamarin.Android.Net.AndroidClientHandler
23 |
24 |
25 |
26 |
27 | true
28 | portable
29 | false
30 | bin\Debug
31 | DEBUG;
32 | prompt
33 | 4
34 | None
35 |
36 |
37 | true
38 | portable
39 | true
40 | bin\Release
41 | prompt
42 | 4
43 | true
44 | false
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 | {A59F5094-3DE4-467B-835C-B2D4B2A23CAD}
104 | XamarinSemVer
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/XamarinSemVer.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29123.88
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamarinSemVer.Android", "XamarinSemVer\XamarinSemVer.Android\XamarinSemVer.Android.csproj", "{E49D7576-FCF1-46E7-A749-D0A0C3207748}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamarinSemVer.iOS", "XamarinSemVer\XamarinSemVer.iOS\XamarinSemVer.iOS.csproj", "{BA56F344-628C-4A46-9F41-117E3C9AD1A2}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamarinSemVer", "XamarinSemVer\XamarinSemVer\XamarinSemVer.csproj", "{869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Debug|iPhone = Debug|iPhone
16 | Debug|iPhoneSimulator = Debug|iPhoneSimulator
17 | Release|Any CPU = Release|Any CPU
18 | Release|iPhone = Release|iPhone
19 | Release|iPhoneSimulator = Release|iPhoneSimulator
20 | EndGlobalSection
21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
22 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
25 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|iPhone.ActiveCfg = Debug|Any CPU
26 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|iPhone.Build.0 = Debug|Any CPU
27 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|iPhone.Deploy.0 = Debug|Any CPU
28 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
29 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
30 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
31 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|Any CPU.ActiveCfg = Release|Any CPU
32 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|Any CPU.Build.0 = Release|Any CPU
33 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|Any CPU.Deploy.0 = Release|Any CPU
34 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|iPhone.ActiveCfg = Release|Any CPU
35 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|iPhone.Build.0 = Release|Any CPU
36 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|iPhone.Deploy.0 = Release|Any CPU
37 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
38 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
39 | {E49D7576-FCF1-46E7-A749-D0A0C3207748}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
40 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
41 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
42 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|Any CPU.Deploy.0 = Debug|iPhoneSimulator
43 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|iPhone.ActiveCfg = Debug|iPhone
44 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|iPhone.Build.0 = Debug|iPhone
45 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|iPhone.Deploy.0 = Debug|iPhone
46 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
47 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
48 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Debug|iPhoneSimulator.Deploy.0 = Debug|iPhoneSimulator
49 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|Any CPU.ActiveCfg = Release|iPhone
50 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|Any CPU.Build.0 = Release|iPhone
51 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|Any CPU.Deploy.0 = Release|iPhone
52 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|iPhone.ActiveCfg = Release|iPhone
53 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|iPhone.Build.0 = Release|iPhone
54 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|iPhone.Deploy.0 = Release|iPhone
55 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
56 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
57 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}.Release|iPhoneSimulator.Deploy.0 = Release|iPhoneSimulator
58 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
59 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
60 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
61 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|iPhone.ActiveCfg = Debug|Any CPU
62 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|iPhone.Build.0 = Debug|Any CPU
63 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|iPhone.Deploy.0 = Debug|Any CPU
64 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
65 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
66 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
67 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
68 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|Any CPU.Build.0 = Release|Any CPU
69 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|Any CPU.Deploy.0 = Release|Any CPU
70 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|iPhone.ActiveCfg = Release|Any CPU
71 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|iPhone.Build.0 = Release|Any CPU
72 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|iPhone.Deploy.0 = Release|Any CPU
73 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
74 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
75 | {869FAD75-CDFA-4C0A-BBC0-D60F4EAC96D7}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
76 | EndGlobalSection
77 | GlobalSection(SolutionProperties) = preSolution
78 | HideSolutionNode = FALSE
79 | EndGlobalSection
80 | GlobalSection(ExtensibilityGlobals) = postSolution
81 | SolutionGuid = {4411CD99-CA56-421A-B869-BDE36088921E}
82 | EndGlobalSection
83 | EndGlobal
84 |
--------------------------------------------------------------------------------
/XamarinSemVer/XamarinSemVer.iOS/XamarinSemVer.iOS.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | 8.0.30703
7 | 2.0
8 | {BA56F344-628C-4A46-9F41-117E3C9AD1A2}
9 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {6143fdea-f3c2-4a09-aafa-6e230626515e}
11 | Exe
12 | XamarinSemVer.iOS
13 | Resources
14 | XamarinSemVer.iOS
15 | true
16 | NSUrlSessionHandler
17 |
18 |
19 | true
20 | full
21 | false
22 | bin\iPhoneSimulator\Debug
23 | DEBUG
24 | prompt
25 | 4
26 | x86_64
27 | None
28 | true
29 |
30 |
31 | none
32 | true
33 | bin\iPhoneSimulator\Release
34 | prompt
35 | 4
36 | None
37 | x86_64
38 |
39 |
40 | true
41 | full
42 | false
43 | bin\iPhone\Debug
44 | DEBUG
45 | prompt
46 | 4
47 | ARM64
48 | iPhone Developer
49 | true
50 | Entitlements.plist
51 |
52 |
53 | none
54 | true
55 | bin\iPhone\Release
56 | prompt
57 | 4
58 | ARM64
59 | iPhone Developer
60 | Entitlements.plist
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 | false
73 |
74 |
75 | false
76 |
77 |
78 | false
79 |
80 |
81 | false
82 |
83 |
84 | false
85 |
86 |
87 | false
88 |
89 |
90 | false
91 |
92 |
93 | false
94 |
95 |
96 | false
97 |
98 |
99 | false
100 |
101 |
102 | false
103 |
104 |
105 | false
106 |
107 |
108 | false
109 |
110 |
111 | false
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 | {A59F5094-3DE4-467B-835C-B2D4B2A23CAD}
130 | XamarinSemVer
131 |
132 |
133 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Created by https://www.gitignore.io/api/visualstudio,xamarinstudio
3 | # Edit at https://www.gitignore.io/?templates=visualstudio,xamarinstudio
4 |
5 | ### XamarinStudio ###
6 | bin/
7 | obj/
8 | *.userprefs
9 | .packages
10 |
11 | ### VisualStudio ###
12 | ## Ignore Visual Studio temporary files, build results, and
13 | ## files generated by popular Visual Studio add-ons.
14 | ##
15 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
16 |
17 | # User-specific files
18 | *.rsuser
19 | *.suo
20 | *.user
21 | *.userosscache
22 | *.sln.docstates
23 |
24 | # User-specific files (MonoDevelop/Xamarin Studio)
25 |
26 | # Mono auto generated files
27 | mono_crash.*
28 |
29 | # Build results
30 | [Dd]ebug/
31 | [Dd]ebugPublic/
32 | [Rr]elease/
33 | [Rr]eleases/
34 | x64/
35 | x86/
36 | [Aa][Rr][Mm]/
37 | [Aa][Rr][Mm]64/
38 | bld/
39 | [Bb]in/
40 | [Oo]bj/
41 | [Ll]og/
42 |
43 | # Visual Studio 2015/2017 cache/options directory
44 | .vs/
45 | # Uncomment if you have tasks that create the project's static files in wwwroot
46 | #wwwroot/
47 |
48 | # Visual Studio 2017 auto generated files
49 | Generated\ Files/
50 |
51 | # MSTest test Results
52 | [Tt]est[Rr]esult*/
53 | [Bb]uild[Ll]og.*
54 |
55 | # NUnit
56 | *.VisualState.xml
57 | TestResult.xml
58 | nunit-*.xml
59 |
60 | # Build Results of an ATL Project
61 | [Dd]ebugPS/
62 | [Rr]eleasePS/
63 | dlldata.c
64 |
65 | # Benchmark Results
66 | BenchmarkDotNet.Artifacts/
67 |
68 | # .NET Core
69 | project.lock.json
70 | project.fragment.lock.json
71 | artifacts/
72 |
73 | # StyleCop
74 | StyleCopReport.xml
75 |
76 | # Files built by Visual Studio
77 | *_i.c
78 | *_p.c
79 | *_h.h
80 | *.ilk
81 | *.meta
82 | *.obj
83 | *.iobj
84 | *.pch
85 | *.pdb
86 | *.ipdb
87 | *.pgc
88 | *.pgd
89 | *.rsp
90 | *.sbr
91 | *.tlb
92 | *.tli
93 | *.tlh
94 | *.tmp
95 | *.tmp_proj
96 | *_wpftmp.csproj
97 | *.log
98 | *.vspscc
99 | *.vssscc
100 | .builds
101 | *.pidb
102 | *.svclog
103 | *.scc
104 |
105 | # Chutzpah Test files
106 | _Chutzpah*
107 |
108 | # Visual C++ cache files
109 | ipch/
110 | *.aps
111 | *.ncb
112 | *.opendb
113 | *.opensdf
114 | *.sdf
115 | *.cachefile
116 | *.VC.db
117 | *.VC.VC.opendb
118 |
119 | # Visual Studio profiler
120 | *.psess
121 | *.vsp
122 | *.vspx
123 | *.sap
124 |
125 | # Visual Studio Trace Files
126 | *.e2e
127 |
128 | # TFS 2012 Local Workspace
129 | $tf/
130 |
131 | # Guidance Automation Toolkit
132 | *.gpState
133 |
134 | # ReSharper is a .NET coding add-in
135 | _ReSharper*/
136 | *.[Rr]e[Ss]harper
137 | *.DotSettings.user
138 |
139 | # JustCode is a .NET coding add-in
140 | .JustCode
141 |
142 | # TeamCity is a build add-in
143 | _TeamCity*
144 |
145 | # DotCover is a Code Coverage Tool
146 | *.dotCover
147 |
148 | # AxoCover is a Code Coverage Tool
149 | .axoCover/*
150 | !.axoCover/settings.json
151 |
152 | # Visual Studio code coverage results
153 | *.coverage
154 | *.coveragexml
155 |
156 | # NCrunch
157 | _NCrunch_*
158 | .*crunch*.local.xml
159 | nCrunchTemp_*
160 |
161 | # MightyMoose
162 | *.mm.*
163 | AutoTest.Net/
164 |
165 | # Web workbench (sass)
166 | .sass-cache/
167 |
168 | # Installshield output folder
169 | [Ee]xpress/
170 |
171 | # DocProject is a documentation generator add-in
172 | DocProject/buildhelp/
173 | DocProject/Help/*.HxT
174 | DocProject/Help/*.HxC
175 | DocProject/Help/*.hhc
176 | DocProject/Help/*.hhk
177 | DocProject/Help/*.hhp
178 | DocProject/Help/Html2
179 | DocProject/Help/html
180 |
181 | # Click-Once directory
182 | publish/
183 |
184 | # Publish Web Output
185 | *.[Pp]ublish.xml
186 | *.azurePubxml
187 | # Note: Comment the next line if you want to checkin your web deploy settings,
188 | # but database connection strings (with potential passwords) will be unencrypted
189 | *.pubxml
190 | *.publishproj
191 |
192 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
193 | # checkin your Azure Web App publish settings, but sensitive information contained
194 | # in these scripts will be unencrypted
195 | PublishScripts/
196 |
197 | # NuGet Packages
198 | *.nupkg
199 | # NuGet Symbol Packages
200 | *.snupkg
201 | # The packages folder can be ignored because of Package Restore
202 | **/[Pp]ackages/*
203 | # except build/, which is used as an MSBuild target.
204 | !**/[Pp]ackages/build/
205 | # Uncomment if necessary however generally it will be regenerated when needed
206 | #!**/[Pp]ackages/repositories.config
207 | # NuGet v3's project.json files produces more ignorable files
208 | *.nuget.props
209 | *.nuget.targets
210 |
211 | # Microsoft Azure Build Output
212 | csx/
213 | *.build.csdef
214 |
215 | # Microsoft Azure Emulator
216 | ecf/
217 | rcf/
218 |
219 | # Windows Store app package directories and files
220 | AppPackages/
221 | BundleArtifacts/
222 | Package.StoreAssociation.xml
223 | _pkginfo.txt
224 | *.appx
225 | *.appxbundle
226 | *.appxupload
227 |
228 | # Visual Studio cache files
229 | # files ending in .cache can be ignored
230 | *.[Cc]ache
231 | # but keep track of directories ending in .cache
232 | !?*.[Cc]ache/
233 |
234 | # Others
235 | ClientBin/
236 | ~$*
237 | *~
238 | *.dbmdl
239 | *.dbproj.schemaview
240 | *.jfm
241 | *.pfx
242 | *.publishsettings
243 | orleans.codegen.cs
244 |
245 | # Including strong name files can present a security risk
246 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
247 | #*.snk
248 |
249 | # Since there are multiple workflows, uncomment next line to ignore bower_components
250 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
251 | #bower_components/
252 |
253 | # RIA/Silverlight projects
254 | Generated_Code/
255 |
256 | # Backup & report files from converting an old project file
257 | # to a newer Visual Studio version. Backup files are not needed,
258 | # because we have git ;-)
259 | _UpgradeReport_Files/
260 | Backup*/
261 | UpgradeLog*.XML
262 | UpgradeLog*.htm
263 | ServiceFabricBackup/
264 | *.rptproj.bak
265 |
266 | # SQL Server files
267 | *.mdf
268 | *.ldf
269 | *.ndf
270 |
271 | # Business Intelligence projects
272 | *.rdl.data
273 | *.bim.layout
274 | *.bim_*.settings
275 | *.rptproj.rsuser
276 | *- [Bb]ackup.rdl
277 | *- [Bb]ackup ([0-9]).rdl
278 | *- [Bb]ackup ([0-9][0-9]).rdl
279 |
280 | # Microsoft Fakes
281 | FakesAssemblies/
282 |
283 | # GhostDoc plugin setting file
284 | *.GhostDoc.xml
285 |
286 | # Node.js Tools for Visual Studio
287 | .ntvs_analysis.dat
288 | node_modules/
289 |
290 | # Visual Studio 6 build log
291 | *.plg
292 |
293 | # Visual Studio 6 workspace options file
294 | *.opt
295 |
296 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
297 | *.vbw
298 |
299 | # Visual Studio LightSwitch build output
300 | **/*.HTMLClient/GeneratedArtifacts
301 | **/*.DesktopClient/GeneratedArtifacts
302 | **/*.DesktopClient/ModelManifest.xml
303 | **/*.Server/GeneratedArtifacts
304 | **/*.Server/ModelManifest.xml
305 | _Pvt_Extensions
306 |
307 | # Paket dependency manager
308 | .paket/paket.exe
309 | paket-files/
310 |
311 | # FAKE - F# Make
312 | .fake/
313 |
314 | # CodeRush personal settings
315 | .cr/personal
316 |
317 | # Python Tools for Visual Studio (PTVS)
318 | __pycache__/
319 | *.pyc
320 |
321 | # Cake - Uncomment if you are using it
322 | # tools/**
323 | # !tools/packages.config
324 |
325 | # Tabs Studio
326 | *.tss
327 |
328 | # Telerik's JustMock configuration file
329 | *.jmconfig
330 |
331 | # BizTalk build output
332 | *.btp.cs
333 | *.btm.cs
334 | *.odx.cs
335 | *.xsd.cs
336 |
337 | # OpenCover UI analysis results
338 | OpenCover/
339 |
340 | # Azure Stream Analytics local run output
341 | ASALocalRun/
342 |
343 | # MSBuild Binary and Structured Log
344 | *.binlog
345 |
346 | # NVidia Nsight GPU debugger configuration file
347 | *.nvuser
348 |
349 | # MFractors (Xamarin productivity tool) working folder
350 | .mfractor/
351 |
352 | # Local History for Visual Studio
353 | .localhistory/
354 |
355 | # BeatPulse healthcheck temp database
356 | healthchecksdb
357 |
358 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
359 | MigrationBackup/
360 |
361 | # End of https://www.gitignore.io/api/visualstudio,xamarinstudio
362 |
363 | # Pipenv
364 | .venv/
365 |
--------------------------------------------------------------------------------