diff --git a/PKHeX.Mobile/ViewModels/LoadableViewModel.cs b/PKHeX.Mobile/ViewModels/LoadableViewModel.cs index b171c28..66f0a13 100644 --- a/PKHeX.Mobile/ViewModels/LoadableViewModel.cs +++ b/PKHeX.Mobile/ViewModels/LoadableViewModel.cs @@ -8,7 +8,7 @@ namespace PKHeX.ViewModels { public class LoadableViewModel : BaseViewModel { - public ObservableCollection Saves { get; set; } = new(); + public ObservableCollection Saves { get; set; } = new ObservableCollection(); public ObservableCollection Filtered { get; set; } public ICommand SearchCommand => new Command(SearchItems); diff --git a/PKHeX.Mobile/ViewModels/SaveFileViewModel.cs b/PKHeX.Mobile/ViewModels/SaveFileViewModel.cs index c26f879..654e14e 100644 --- a/PKHeX.Mobile/ViewModels/SaveFileViewModel.cs +++ b/PKHeX.Mobile/ViewModels/SaveFileViewModel.cs @@ -94,7 +94,7 @@ public string ShowdownText { } } - public ObservableRangeCollection BoxNames { get; } = new(); + public ObservableRangeCollection BoxNames { get; } = new ObservableRangeCollection(); public int CurrentBox { diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..c3a3164 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,34 @@ +# Xamarin.Android +# Build a Xamarin.Android project. +# Add steps that test, sign, and distribute an app, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin + +trigger: +- master + +pool: + vmImage: 'windows-latest' + +variables: + buildConfiguration: 'Release' + outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)' + +steps: +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '**/*.sln' + +- task: XamarinAndroid@1 + inputs: + projectFile: '**/*droid*.csproj' + outputDirectory: '$(outputDirectory)' + configuration: '$(buildConfiguration)' + +- task: PublishBuildArtifacts@1 + displayName: 'Publish Artifact: PKHeX.Mobile' + inputs: + pathtoPublish: '$(outputDirectory)' + ArtifactName: PKHeX.Android + condition: succeededOrFailed()