From 410903868fe40659235315c40d04236fe9cad245 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Sat, 5 Mar 2022 18:25:32 +0000 Subject: [PATCH 01/17] update existing projects and remove traces of reactiveui --- .../xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj | 4 +--- templates/csharp/xplat/AvaloniaTest.NetCore/Program.cs | 3 +-- templates/csharp/xplat/AvaloniaTest.Web/App.razor.cs | 2 -- .../csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj | 3 ++- templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj b/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj index a68cfbc1..81ca759b 100644 --- a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj +++ b/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj @@ -3,8 +3,7 @@ WinExe net6.0 enable - AvaloniaTest.NetCore - 0.10.12 + 0.10.13 copyused true @@ -20,7 +19,6 @@ - diff --git a/templates/csharp/xplat/AvaloniaTest.NetCore/Program.cs b/templates/csharp/xplat/AvaloniaTest.NetCore/Program.cs index 715cbc3b..d85bcdda 100644 --- a/templates/csharp/xplat/AvaloniaTest.NetCore/Program.cs +++ b/templates/csharp/xplat/AvaloniaTest.NetCore/Program.cs @@ -17,7 +17,6 @@ public static void Main(string[] args) => BuildAvaloniaApp() public static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure() .UsePlatformDetect() - .LogToTrace() - .UseReactiveUI(); + .LogToTrace(); } } diff --git a/templates/csharp/xplat/AvaloniaTest.Web/App.razor.cs b/templates/csharp/xplat/AvaloniaTest.Web/App.razor.cs index 7aca99da..e761ee8c 100644 --- a/templates/csharp/xplat/AvaloniaTest.Web/App.razor.cs +++ b/templates/csharp/xplat/AvaloniaTest.Web/App.razor.cs @@ -1,4 +1,3 @@ -using Avalonia.ReactiveUI; using Avalonia.Web.Blazor; namespace AvaloniaTest.Web; @@ -10,7 +9,6 @@ protected override void OnParametersSet() base.OnParametersSet(); WebAppBuilder.Configure() - .UseReactiveUI() .SetupWithSingleViewLifetime(); } } \ No newline at end of file diff --git a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj index c3afe2ea..e7329867 100644 --- a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj @@ -4,6 +4,7 @@ enable true + 0.10.13 @@ -24,7 +25,7 @@ - + diff --git a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj index 4f03d491..13dcdaa8 100644 --- a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj +++ b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj @@ -3,7 +3,7 @@ netstandard2.0 enable latest - 0.10.12 + 0.10.13 From 6ffa6263d8ad17441832e7513219f9bea084dff5 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Sat, 5 Mar 2022 18:34:40 +0000 Subject: [PATCH 02/17] add ios project template. also updates to 0.10.13. --- .../xplat/AvaloniaTest.iOS/AppDelegate.cs | 18 +++++++ .../AvaloniaTest.iOS/AvaloniaTest.iOS.csproj | 23 +++++++++ .../xplat/AvaloniaTest.iOS/Entitlements.plist | 5 ++ .../csharp/xplat/AvaloniaTest.iOS/Info.plist | 47 +++++++++++++++++++ .../csharp/xplat/AvaloniaTest.iOS/Main.cs | 15 ++++++ .../Resources/LaunchScreen.xib | 43 +++++++++++++++++ templates/csharp/xplat/AvaloniaTest.sln | 6 +++ 7 files changed, 157 insertions(+) create mode 100644 templates/csharp/xplat/AvaloniaTest.iOS/AppDelegate.cs create mode 100644 templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj create mode 100644 templates/csharp/xplat/AvaloniaTest.iOS/Entitlements.plist create mode 100644 templates/csharp/xplat/AvaloniaTest.iOS/Info.plist create mode 100644 templates/csharp/xplat/AvaloniaTest.iOS/Main.cs create mode 100644 templates/csharp/xplat/AvaloniaTest.iOS/Resources/LaunchScreen.xib diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/AppDelegate.cs b/templates/csharp/xplat/AvaloniaTest.iOS/AppDelegate.cs new file mode 100644 index 00000000..045f65c4 --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.iOS/AppDelegate.cs @@ -0,0 +1,18 @@ +using Foundation; +using UIKit; +using Avalonia; +using Avalonia.Controls; +using Avalonia.iOS; +using Avalonia.Media; + +namespace AvaloniaTest.iOS +{ + // The UIApplicationDelegate for the application. This class is responsible for launching the + // User Interface of the application, as well as listening (and optionally responding) to + // application events from iOS. + [Register("AppDelegate")] + public partial class AppDelegate : AvaloniaAppDelegate + { + + } +} diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj new file mode 100644 index 00000000..ec3819be --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj @@ -0,0 +1,23 @@ + + + Exe + net6.0-ios + 0.10.999-cibuild0019029-beta + 10.0 + manual + enable + iossimulator-x64 + + + + + + + + + + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/Entitlements.plist b/templates/csharp/xplat/AvaloniaTest.iOS/Entitlements.plist new file mode 100644 index 00000000..0c67376e --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.iOS/Entitlements.plist @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist b/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist new file mode 100644 index 00000000..d3674e9c --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDisplayName + IosTest1 + CFBundleIdentifier + Avalonia.IosTest1 + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + MinimumOSVersion + 10.0 + UIDeviceFamily + + 1 + 2 + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIStatusBarHidden + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/Main.cs b/templates/csharp/xplat/AvaloniaTest.iOS/Main.cs new file mode 100644 index 00000000..6e975ef4 --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.iOS/Main.cs @@ -0,0 +1,15 @@ +using UIKit; + +namespace AvaloniaTest.iOS +{ + public class Application + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/Resources/LaunchScreen.xib b/templates/csharp/xplat/AvaloniaTest.iOS/Resources/LaunchScreen.xib new file mode 100644 index 00000000..5d3ccc97 --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.iOS/Resources/LaunchScreen.xib @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.sln b/templates/csharp/xplat/AvaloniaTest.sln index f2967be6..23b0d713 100644 --- a/templates/csharp/xplat/AvaloniaTest.sln +++ b/templates/csharp/xplat/AvaloniaTest.sln @@ -6,6 +6,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaTest.NetCore", "Ava EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaTest.Web", "AvaloniaTest.Web\AvaloniaTest.Web.csproj", "{1C1A049E-235C-4CD0-B6FA-D53AC418F4DA}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaTest.iOS", "AvaloniaTest.iOS\AvaloniaTest.iOS.csproj", "{EBD9022F-BC83-4846-9A11-6F7F3772DC64}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -24,5 +26,9 @@ Global {1C1A049E-235C-4CD0-B6FA-D53AC418F4DA}.Debug|Any CPU.Build.0 = Debug|Any CPU {1C1A049E-235C-4CD0-B6FA-D53AC418F4DA}.Release|Any CPU.ActiveCfg = Release|Any CPU {1C1A049E-235C-4CD0-B6FA-D53AC418F4DA}.Release|Any CPU.Build.0 = Release|Any CPU + {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal From 52ee9bb1eb2c8d22f35c7b004137e5492d8eef9d Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Sat, 5 Mar 2022 18:40:00 +0000 Subject: [PATCH 03/17] fix plist bundle identifier. --- templates/csharp/xplat/AvaloniaTest.iOS/Info.plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist b/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist index d3674e9c..ee5f7cb4 100644 --- a/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist +++ b/templates/csharp/xplat/AvaloniaTest.iOS/Info.plist @@ -3,9 +3,9 @@ CFBundleDisplayName - IosTest1 + AvaloniaTest CFBundleIdentifier - Avalonia.IosTest1 + companyName.AvaloniaTest CFBundleShortVersionString 1.0 CFBundleVersion From 19604d86224471341a936faeb825d7e843b37ca1 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Sat, 5 Mar 2022 19:27:06 +0000 Subject: [PATCH 04/17] bump version --- Avalonia.Templates.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Avalonia.Templates.csproj b/Avalonia.Templates.csproj index 7787ae40..e64f788c 100644 --- a/Avalonia.Templates.csproj +++ b/Avalonia.Templates.csproj @@ -2,7 +2,7 @@ Template - 0.10.12.1 + 0.10.13 Avalonia.Templates Avalonia Templates Templates for creating Avalonia applications and libraries. From b13eb3e3c072dcc63dc22c839950fbb6754aa7e3 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Tue, 8 Mar 2022 22:48:41 +0000 Subject: [PATCH 05/17] add android. --- .../AvaloniaTest.Android.csproj | 45 ++++++++++++++++++ .../xplat/AvaloniaTest.Android/Icon.png | Bin 0 -> 14349 bytes .../AvaloniaTest.Android/MainActivity.cs | 16 +++++++ .../Properties/AndroidManifest.xml | 5 ++ .../Resources/drawable/splash_screen.xml | 13 +++++ .../Resources/values/colors.xml | 4 ++ .../Resources/values/styles.xml | 17 +++++++ .../AvaloniaTest.Android/SplashActivity.cs | 17 +++++++ templates/csharp/xplat/AvaloniaTest.sln | 6 +++ 9 files changed, 123 insertions(+) create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/Icon.png create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/MainActivity.cs create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/Properties/AndroidManifest.xml create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/splash_screen.xml create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/Resources/values/colors.xml create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/Resources/values/styles.xml create mode 100644 templates/csharp/xplat/AvaloniaTest.Android/SplashActivity.cs diff --git a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj new file mode 100644 index 00000000..e4841c2a --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj @@ -0,0 +1,45 @@ + + + Exe + net6.0-android + 21 + enable + com.CompanyName.AvaloniaTest + 1 + 1.0 + apk + true + 0.10.999-cibuild0019067-beta + + + + + + + + Resources\drawable\Icon.png + + + + + True + True + True + + + + False + False + + + + + + + + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Icon.png b/templates/csharp/xplat/AvaloniaTest.Android/Icon.png new file mode 100644 index 0000000000000000000000000000000000000000..41a2a618fb02e4cb7f6a15caf572b693bfe1ebb1 GIT binary patch literal 14349 zcmdtJ^EU0vMF0h26NSCC5pomCGr^Esh3km|#NF&{iw9?Wnjl|N@ z`CNWJ_xJlef5G#^&FjT4v*$W9bLKr~&Ybg}2rW%D5<&(-5C}x_NFAXA0)gZH{o~^T zErD&~zd#^~-;WTAdY)f*(0E^|PA(JdJoCHg9rW(}-q6s{ z#*KHDghqFB4W6%q0k{gg|^3gd>rC)VTQMFLhj#M%Yxxfs$Hp@c8So3dxQzuFO6D`+4HKNdX3 zU$5ATBk*Iq3h=^S&l?Fl7GP}W<6 z!%2fSTZ=YX;Xa}7q3U>`3qD>$uw??ic;UcQ;9H#~hXP-|5dmoD!@!eAn4`WPE8Fhp zy2m^eUcq1`spUO?vi%Bn9Z$EuO(AZVukaXyO(D>WJHqBYfuJ(b8>&849Q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oD+x=dfe6^lf7x_MmttX)Yh1m+zHQg92@wyF5yO>-ZLH7_B^knD!_lB@ zZ*kVrRi{Cy;wp6tBWzLmkQQ<+RB3pg{I5PgQO=3-0iJ8r;}qw;0UxOEEUv4(w^}$u zrI(kqW=oQ_AL`e=KxQ5i4xJzr!Uo0(9k$Y+w+5itNgh80o{nq>3Hv+@q@K8Y+uWGr zR~?dlN3`^W)4Qn8oEQ~C{X#btr)WY6m1CycdkbOV3N-6`B=2~jq`4n6<%mJ$#H0_gIS%X}Q?yUOy z>zK$%jq{64(yU(D!KHc1Jz~Q8?6^JWbR0gI`~gf^)MU%_Gr6f`m$_Od#d&(iOC;B} zG&Q%Otz8H^MTSYUa@<4Iv}nI#Ppq995Q4D2uAz-?10juGKD5+-drp0>iJ + { + protected override AppBuilder CustomizeAppBuilder(AppBuilder builder) + { + return base.CustomizeAppBuilder(builder); + } + } +} diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Properties/AndroidManifest.xml b/templates/csharp/xplat/AvaloniaTest.Android/Properties/AndroidManifest.xml new file mode 100644 index 00000000..a561c56a --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.Android/Properties/AndroidManifest.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/splash_screen.xml b/templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/splash_screen.xml new file mode 100644 index 00000000..2e920b4b --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/splash_screen.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Resources/values/colors.xml b/templates/csharp/xplat/AvaloniaTest.Android/Resources/values/colors.xml new file mode 100644 index 00000000..59279d5d --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.Android/Resources/values/colors.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Resources/values/styles.xml b/templates/csharp/xplat/AvaloniaTest.Android/Resources/values/styles.xml new file mode 100644 index 00000000..2759d290 --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.Android/Resources/values/styles.xml @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/templates/csharp/xplat/AvaloniaTest.Android/SplashActivity.cs b/templates/csharp/xplat/AvaloniaTest.Android/SplashActivity.cs new file mode 100644 index 00000000..0f1be4c3 --- /dev/null +++ b/templates/csharp/xplat/AvaloniaTest.Android/SplashActivity.cs @@ -0,0 +1,17 @@ +using Android.App; +using Android.Content; +using Application = Android.App.Application; + +namespace AvaloniaTest.Android +{ + [Activity(Theme = "@style/MyTheme.Splash", MainLauncher = true, NoHistory = true)] + public class SplashActivity : Activity + { + protected override void OnResume() + { + base.OnResume(); + + StartActivity(new Intent(Application.Context, typeof(MainActivity))); + } + } +} diff --git a/templates/csharp/xplat/AvaloniaTest.sln b/templates/csharp/xplat/AvaloniaTest.sln index 23b0d713..530b0938 100644 --- a/templates/csharp/xplat/AvaloniaTest.sln +++ b/templates/csharp/xplat/AvaloniaTest.sln @@ -8,6 +8,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaTest.Web", "Avaloni EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaTest.iOS", "AvaloniaTest.iOS\AvaloniaTest.iOS.csproj", "{EBD9022F-BC83-4846-9A11-6F7F3772DC64}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaTest.Android", "AvaloniaTest.Android\AvaloniaTest.Android.csproj", "{7AD1DAC8-7FBE-49D5-8614-7321233DB82E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -30,5 +32,9 @@ Global {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Debug|Any CPU.Build.0 = Debug|Any CPU {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Release|Any CPU.ActiveCfg = Release|Any CPU {EBD9022F-BC83-4846-9A11-6F7F3772DC64}.Release|Any CPU.Build.0 = Release|Any CPU + {7AD1DAC8-7FBE-49D5-8614-7321233DB82E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7AD1DAC8-7FBE-49D5-8614-7321233DB82E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7AD1DAC8-7FBE-49D5-8614-7321233DB82E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7AD1DAC8-7FBE-49D5-8614-7321233DB82E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal From 04305090834d98bbfb846226b38c0bc70542437a Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Tue, 8 Mar 2022 22:55:18 +0000 Subject: [PATCH 06/17] workloads for ios and android. update avalonia --- azure-pipelines.yml | 2 +- nuget.config | 2 +- .../AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj | 2 +- .../xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj | 2 +- .../xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj | 2 +- .../csharp/xplat/AvaloniaTest/AvaloniaTest.csproj | 2 +- templates/csharp/xplat/global.json | 12 ++++++++++++ 7 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 templates/csharp/xplat/global.json diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 04461cce..6ab088bf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,7 +20,7 @@ steps: - task: CmdLine@2 displayName: 'Install WASM workload' inputs: - script: 'dotnet workload install wasm-tools' + script: 'dotnet workload install --no-cache --disable-parallel ios android wasm-tools --skip-manifest-update --source "https://api.nuget.org/v3/index.json"' - task: PowerShell@2 displayName: 'Run Tests' inputs: diff --git a/nuget.config b/nuget.config index 6c273ab3..9b43eeb0 100644 --- a/nuget.config +++ b/nuget.config @@ -6,6 +6,6 @@ - + diff --git a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj b/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj index 81ca759b..e7b1ceaa 100644 --- a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj +++ b/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj @@ -3,7 +3,7 @@ WinExe net6.0 enable - 0.10.13 + 0.10.999-cibuild0019067-beta copyused true diff --git a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj index e7329867..5c57ff51 100644 --- a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj @@ -4,7 +4,7 @@ enable true - 0.10.13 + 0.10.999-cibuild0019067-beta diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj index ec3819be..20c5ce7e 100644 --- a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj +++ b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj @@ -2,7 +2,7 @@ Exe net6.0-ios - 0.10.999-cibuild0019029-beta + 0.10.999-cibuild0019067-beta 10.0 manual enable diff --git a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj index 13dcdaa8..29b95bcc 100644 --- a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj +++ b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj @@ -3,7 +3,7 @@ netstandard2.0 enable latest - 0.10.13 + 0.10.999-cibuild0019067-beta diff --git a/templates/csharp/xplat/global.json b/templates/csharp/xplat/global.json new file mode 100644 index 00000000..30265268 --- /dev/null +++ b/templates/csharp/xplat/global.json @@ -0,0 +1,12 @@ +{ + "sdk": { + "version": "6.0.200", + "rollForward": "latestFeature" + }, + "msbuild-sdks": { + "Microsoft.Build.Traversal": "1.0.43", + "Xamarin.Legacy.Sdk": "0.1.2-alpha6", + "MSBuild.Sdk.Extras": "3.0.22", + "AggregatePackage.NuGet.Sdk" : "0.1.12" + } +} From 18236e52bf42b0817ee071183e54d8ab271daefc Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Tue, 8 Mar 2022 23:22:57 +0000 Subject: [PATCH 07/17] use nightly package for avalonia. --- .../xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj | 2 +- .../xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj | 2 +- templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj | 2 +- templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj | 2 +- templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj index e4841c2a..75864ac1 100644 --- a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj @@ -9,7 +9,7 @@ 1.0 apk true - 0.10.999-cibuild0019067-beta + 0.10.999-cibuild0019088-beta diff --git a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj b/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj index e7b1ceaa..7c90d851 100644 --- a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj +++ b/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj @@ -3,7 +3,7 @@ WinExe net6.0 enable - 0.10.999-cibuild0019067-beta + 0.10.999-cibuild0019088-beta copyused true diff --git a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj index 5c57ff51..dd3d32e1 100644 --- a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj @@ -4,7 +4,7 @@ enable true - 0.10.999-cibuild0019067-beta + 0.10.999-cibuild0019088-beta diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj index 20c5ce7e..2378570f 100644 --- a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj +++ b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj @@ -2,7 +2,7 @@ Exe net6.0-ios - 0.10.999-cibuild0019067-beta + 0.10.999-cibuild0019088-beta 10.0 manual enable diff --git a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj index 29b95bcc..7633e422 100644 --- a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj +++ b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj @@ -3,7 +3,7 @@ netstandard2.0 enable latest - 0.10.999-cibuild0019067-beta + 0.10.999-cibuild0019088-beta From f47c26ab07308772a7c71fd17cfca12c3eac1970 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Tue, 8 Mar 2022 23:32:22 +0000 Subject: [PATCH 08/17] rename to desktop. --- .../AvaloniaTest.Desktop.csproj} | 1 + .../{AvaloniaTest.NetCore => AvaloniaTest.Desktop}/Program.cs | 0 2 files changed, 1 insertion(+) rename templates/csharp/xplat/{AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj => AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj} (94%) rename templates/csharp/xplat/{AvaloniaTest.NetCore => AvaloniaTest.Desktop}/Program.cs (100%) diff --git a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj b/templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj similarity index 94% rename from templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj rename to templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj index 7c90d851..196d32b5 100644 --- a/templates/csharp/xplat/AvaloniaTest.NetCore/AvaloniaTest.NetCore.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj @@ -7,6 +7,7 @@ copyused true + AvaloniaTest.NetCore copyused true - AvaloniaTest.NetCore diff --git a/templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj b/templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj index 7c90d851..6e6308eb 100644 --- a/templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Desktop/AvaloniaTest.Desktop.csproj @@ -3,7 +3,6 @@ WinExe net6.0 enable - 0.10.999-cibuild0019088-beta copyused true diff --git a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj index dd3d32e1..255735e9 100644 --- a/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Web/AvaloniaTest.Web.csproj @@ -4,7 +4,6 @@ enable true - 0.10.999-cibuild0019088-beta diff --git a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj index 2378570f..0de38723 100644 --- a/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj +++ b/templates/csharp/xplat/AvaloniaTest.iOS/AvaloniaTest.iOS.csproj @@ -2,7 +2,6 @@ Exe net6.0-ios - 0.10.999-cibuild0019088-beta 10.0 manual enable diff --git a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj index 7633e422..6b439f0e 100644 --- a/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj +++ b/templates/csharp/xplat/AvaloniaTest/AvaloniaTest.csproj @@ -3,7 +3,6 @@ netstandard2.0 enable latest - 0.10.999-cibuild0019088-beta diff --git a/templates/csharp/xplat/Directory.Build.props b/templates/csharp/xplat/Directory.Build.props new file mode 100644 index 00000000..bcf2da33 --- /dev/null +++ b/templates/csharp/xplat/Directory.Build.props @@ -0,0 +1,5 @@ + + + 0.10.999-cibuild0019213-beta + + \ No newline at end of file diff --git a/templates/csharp/xplat/nuget.config b/templates/csharp/xplat/nuget.config new file mode 100644 index 00000000..ad73f0a5 --- /dev/null +++ b/templates/csharp/xplat/nuget.config @@ -0,0 +1,11 @@ + + + + + + + + + From cd21731fc1193ea9f7e7b3e6f771b0179b61b151 Mon Sep 17 00:00:00 2001 From: Tako Date: Fri, 11 Mar 2022 18:38:23 +0200 Subject: [PATCH 14/17] minor fixes --- .../AvaloniaTest.Android.csproj | 3 --- .../{ => Resources/drawable}/Icon.png | Bin 2 files changed, 3 deletions(-) rename templates/csharp/xplat/AvaloniaTest.Android/{ => Resources/drawable}/Icon.png (100%) diff --git a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj index 5b908d86..e636e195 100644 --- a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj @@ -12,9 +12,6 @@ - - - Resources\drawable\Icon.png diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Icon.png b/templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/Icon.png similarity index 100% rename from templates/csharp/xplat/AvaloniaTest.Android/Icon.png rename to templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/Icon.png From dc842d1e56d6952b97ff57b7912a81ecd7cba7a9 Mon Sep 17 00:00:00 2001 From: Tako Date: Fri, 11 Mar 2022 18:50:16 +0200 Subject: [PATCH 15/17] Revert "minor fixes" This reverts commit cd21731fc1193ea9f7e7b3e6f771b0179b61b151. --- .../AvaloniaTest.Android.csproj | 3 +++ .../{Resources/drawable => }/Icon.png | Bin 2 files changed, 3 insertions(+) rename templates/csharp/xplat/AvaloniaTest.Android/{Resources/drawable => }/Icon.png (100%) diff --git a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj index e636e195..5b908d86 100644 --- a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj @@ -12,6 +12,9 @@ + + + Resources\drawable\Icon.png diff --git a/templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/Icon.png b/templates/csharp/xplat/AvaloniaTest.Android/Icon.png similarity index 100% rename from templates/csharp/xplat/AvaloniaTest.Android/Resources/drawable/Icon.png rename to templates/csharp/xplat/AvaloniaTest.Android/Icon.png From 1019a3583f0c8a153a5ad497dcebd3e066e38169 Mon Sep 17 00:00:00 2001 From: Tako Date: Fri, 11 Mar 2022 18:50:32 +0200 Subject: [PATCH 16/17] cleanup --- .../xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj index 5b908d86..e636e195 100644 --- a/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj +++ b/templates/csharp/xplat/AvaloniaTest.Android/AvaloniaTest.Android.csproj @@ -12,9 +12,6 @@ - - - Resources\drawable\Icon.png From e5ffcb08080921fc619b92e84725c7e6a5ce6370 Mon Sep 17 00:00:00 2001 From: Tako Date: Fri, 11 Mar 2022 18:53:04 +0200 Subject: [PATCH 17/17] bump versions --- templates/csharp/app-mvvm/AvaloniaAppTemplate.csproj | 8 ++++---- templates/csharp/app/AvaloniaAppTemplate.csproj | 6 +++--- templates/fsharp/app-mvvm/AvaloniaAppTemplate.fsproj | 8 ++++---- templates/fsharp/app/AvaloniaAppTemplate.fsproj | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/csharp/app-mvvm/AvaloniaAppTemplate.csproj b/templates/csharp/app-mvvm/AvaloniaAppTemplate.csproj index 1671bcca..4c3de01f 100644 --- a/templates/csharp/app-mvvm/AvaloniaAppTemplate.csproj +++ b/templates/csharp/app-mvvm/AvaloniaAppTemplate.csproj @@ -20,11 +20,11 @@ - - + + - - + + diff --git a/templates/csharp/app/AvaloniaAppTemplate.csproj b/templates/csharp/app/AvaloniaAppTemplate.csproj index 0ed3c5ef..5b314cf2 100644 --- a/templates/csharp/app/AvaloniaAppTemplate.csproj +++ b/templates/csharp/app/AvaloniaAppTemplate.csproj @@ -18,10 +18,10 @@ - - + + - + diff --git a/templates/fsharp/app-mvvm/AvaloniaAppTemplate.fsproj b/templates/fsharp/app-mvvm/AvaloniaAppTemplate.fsproj index ddf3cadb..96b7c00c 100644 --- a/templates/fsharp/app-mvvm/AvaloniaAppTemplate.fsproj +++ b/templates/fsharp/app-mvvm/AvaloniaAppTemplate.fsproj @@ -27,10 +27,10 @@ - - + + - - + + diff --git a/templates/fsharp/app/AvaloniaAppTemplate.fsproj b/templates/fsharp/app/AvaloniaAppTemplate.fsproj index a8ff5640..851fc755 100644 --- a/templates/fsharp/app/AvaloniaAppTemplate.fsproj +++ b/templates/fsharp/app/AvaloniaAppTemplate.fsproj @@ -22,9 +22,9 @@ - - + + - +