Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Peppers c0aff44b08
Use TargetFramework=net5.0-android/ios and other cleanup (#33)
* Use macOS 10.15 pool with Xcode 12 installed
* Bump to .NET 5.0.100-rc.2.20459.1
* Bump to Microsoft.Android.Sdk 11.0.100-ci.master.127
* Bump to Microsoft.iOS.Sdk 13.6.100-ci.main.374
* Consolidate `@(PackageReference)` needed for Xamarin.Forms projects
  in `Directory.Build.targets`.
* No need to declare `$(RuntimeIdentifier)` in Android projects. Use
  the defaults for these samples.
* `Hello, .NET 6!`
* `ProduceReferenceAssembly=true` is default in .NET 5+, not needed in
  `HelloForms.csproj`.
* Update `README.md` for Android specifics.
* Set VSMac's Xcode to the system Xcode.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-09-24 08:23:30 -05:00
Jonathan Peppers 60660dc24d
[android] update Xamarin.AndroidX.VectorDrawable (#19)
Context: https://github.com/xamarin/AndroidX/pull/103

We removed the .NET framework 4.5 MSBuild task from VectorDrawable.

The Android projects in this repo no longer need any temporary workarounds.
2020-06-08 10:17:19 -05:00
Jonathan Peppers fcf4d58c32 Added `Run` target for Android
* split up `Directory.Build.targets` into iOS and Android files
* did this so the Android `Run` target won't interfere with iOS
2020-04-23 08:27:47 -05:00
Jonathan Peppers 4b450bc0de Xamarin.Forms sample is now working on Android
I added a `Workarounds` section that explains a bit better on what we
had to do to get Xamarin.Forms projects working.
2020-04-21 12:24:33 -05:00
Jonathan Dick db38da69ad
Move some msbuild properties into directory build props (#5)
This sets several properties by default for iOS projects. This makes the command-line to build a bit simpler.

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
2020-04-17 13:53:01 -05:00
Jonathan Peppers 08791588c4
Add Xamarin.Forms samples (#3)
As a starting point, I've added Xamarin.Forms projects are able to build. We can verify they actually run soon.

It was a bit difficult to trick NuGet into referencing existing Xamarin.Android packages. I had to use `$(AssetTargetFallback)` and list every transitive dependency. I also found that since the Xamarin.Forms NuGet package contains both `netstandard2.0` and `MonoAndroid10.0` directories, I had to manually reference `Xamarin.Forms.Platform.Android.dll`.

iOS was a lot easier to get working, I just had to add a manual reference to `Xamarin.Forms.Platform.iOS.dll`.
2020-04-17 07:53:36 -05:00