Skip to content

Commit cd1d77b

Browse files
authored
Merge pull request #219 from reactivemarbles/RemoveXamarin
Remove Xamarin.Forms test projects and update dependencies
2 parents 63c42d4 + 23ca759 commit cd1d77b

File tree

110 files changed

+41
-42174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+41
-42174
lines changed

.github/workflows/BuildDeploy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ jobs:
5959
**/global.json
6060
**/nuget.config
6161
62-
- name: Get Latest Visual Studio Version
63-
shell: bash
64-
run: |
65-
dotnet tool update -g dotnet-vs
66-
vs where release
67-
vs update release Enterprise
68-
vs modify release Enterprise +mobile +desktop +uwp +web
69-
vs where release
62+
# - name: Get Latest Visual Studio Version
63+
# shell: bash
64+
# run: |
65+
# dotnet tool update -g dotnet-vs
66+
# vs where release
67+
# vs update release Enterprise
68+
# vs modify release Enterprise +mobile +desktop +uwp +web
69+
# vs where release
7070

7171
- name: 'Install DotNet workloads (explicit)'
7272
shell: bash

.github/workflows/BuildOnly.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
**/global.json
5454
**/nuget.config
5555
56-
- name: Get Latest Visual Studio Version
57-
shell: bash
58-
run: |
59-
dotnet tool update -g dotnet-vs
60-
vs where release
61-
vs update release Enterprise
62-
vs modify release Enterprise +mobile +desktop +uwp +web
63-
vs where release
56+
# - name: Get Latest Visual Studio Version
57+
# shell: bash
58+
# run: |
59+
# dotnet tool update -g dotnet-vs
60+
# vs where release
61+
# vs update release Enterprise
62+
# vs modify release Enterprise +mobile +desktop +uwp +web
63+
# vs where release
6464

6565
- name: 'Install DotNet workloads (explicit)'
6666
shell: bash

Directory.Build.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Nullable>enable</Nullable>
1515
<PackageIcon>CrissCross.png</PackageIcon>
1616
<PackageReadmeFile>README.md</PackageReadmeFile>
17-
<PackageReleaseNotes>Compatability with Net 8/9/10 and netstandard2.0</PackageReleaseNotes>
17+
<PackageReleaseNotes>Compatability with Net 8/9/10 and net4.7.2 / net4.8</PackageReleaseNotes>
1818
<PackageTags>ReactiveUI;Navigation;wpf;avalonia;winforms;maui;xamforms;webview2;rx;reactive;extensions;observable;LINQ;net;netstandard</PackageTags>
1919
<EnableNETAnalyzers>True</EnableNETAnalyzers>
2020
<AnalysisLevel>latest</AnalysisLevel>
@@ -32,7 +32,6 @@
3232
<AvaloniaVersion>11.3.10</AvaloniaVersion>
3333
<SplatVersion>17.1.1</SplatVersion>
3434
<ReactiveUIVersion>22.3.1</ReactiveUIVersion>
35-
<XamarinReactiveUIVersion>19.6.12</XamarinReactiveUIVersion>
3635
<WebViewVersion>1.0.3650.58</WebViewVersion>
3736
<CoreNetVersion>9.0.11</CoreNetVersion>
3837
<CrissCrossCoreTargetFrameworks>net8.0;net9.0;net10.0</CrissCrossCoreTargetFrameworks>
@@ -41,7 +40,7 @@
4140
<CrissCrossWebviewTargetFrameworks>net472;net48;net8.0-windows;net9.0-windows;net10.0-windows</CrissCrossWebviewTargetFrameworks>
4241
</PropertyGroup>
4342
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
44-
<CrissCrossCoreTargetFrameworks>$(CrissCrossCoreTargetFrameworks);net472;net48</CrissCrossCoreTargetFrameworks>
43+
<CrissCrossCoreTargetFrameworks>$(CrissCrossCoreTargetFrameworks);$(CrissCrossWinTargetFrameworks)</CrissCrossCoreTargetFrameworks>
4544
</PropertyGroup>
4645
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
4746
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>

src/CrissCross.Avalonia.UI/Controls/CardControl/CardControl.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,25 @@
77
namespace CrissCross.Avalonia.UI.Controls;
88

99
/// <summary>
10-
/// Inherited from the <see cref="Avalonia.Controls.Primitives.ButtonBase"/> control which displays an additional control on the right side of the card.
10+
/// Represents a button control that displays a header, an optional icon, and supports customizable corner radius.
1111
/// </summary>
1212
public class CardControl : global::Avalonia.Controls.Button, IIconControl
1313
{
1414
/// <summary>
1515
/// Property for <see cref="Header"/>.
1616
/// </summary>
17-
public static readonly StyledProperty<object> HeaderProperty = AvaloniaProperty.Register<CardControl, object>(
18-
nameof(Header), null);
17+
public static readonly StyledProperty<object> HeaderProperty = AvaloniaProperty.Register<CardControl, object>(nameof(Header));
1918

2019
/// <summary>
2120
/// Property for <see cref="Icon"/>.
2221
/// </summary>
23-
public static readonly StyledProperty<object> IconProperty = AvaloniaProperty.Register<CardControl, object>(
22+
public static readonly StyledProperty<object?> IconProperty = AvaloniaProperty.Register<CardControl, object?>(
2423
nameof(Icon), null);
2524

2625
/// <summary>
2726
/// Property for <see cref="CornerRadius"/>.
2827
/// </summary>
29-
public static readonly StyledProperty<CornerRadius> CornerRadiusProperty = AvaloniaProperty.Register<CardControl, CornerRadius>(
28+
public static new readonly StyledProperty<CornerRadius> CornerRadiusProperty = AvaloniaProperty.Register<CardControl, CornerRadius>(
3029
nameof(CornerRadius), new CornerRadius(0));
3130

3231
/// <summary>
@@ -50,7 +49,7 @@ public object? Icon
5049
/// <summary>
5150
/// Gets or sets the corner radius of the control.
5251
/// </summary>
53-
public CornerRadius CornerRadius
52+
public new CornerRadius CornerRadius
5453
{
5554
get => GetValue(CornerRadiusProperty);
5655
set => SetValue(CornerRadiusProperty, value);

src/CrissCross.Avalonia.UI/Controls/IconElement/IconElement.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public abstract class IconElement : Control
1616
/// <summary>
1717
/// Property for <see cref="Foreground"/>.
1818
/// </summary>
19-
public static new readonly StyledProperty<IBrush?> ForegroundProperty = AvaloniaProperty.Register<IconElement, IBrush?>(
19+
public static readonly StyledProperty<IBrush?> ForegroundProperty = AvaloniaProperty.Register<IconElement, IBrush?>(
2020
nameof(Foreground), defaultValue: Brushes.Black);
2121

2222
static IconElement()
@@ -27,7 +27,7 @@ static IconElement()
2727
/// <summary>
2828
/// Gets or sets the foreground brush.
2929
/// </summary>
30-
public new IBrush? Foreground
30+
public IBrush? Foreground
3131
{
3232
get => GetValue(ForegroundProperty);
3333
set => SetValue(ForegroundProperty, value);

src/CrissCross.Avalonia.UI/Controls/SplitButton/SplitButton.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// See the LICENSE file in the project root for full license information.
44

55
using Avalonia;
6-
using Avalonia.Controls;
7-
using Avalonia.Controls.Primitives;
86

97
namespace CrissCross.Avalonia.UI.Controls;
108

@@ -16,13 +14,13 @@ public class SplitButton : global::Avalonia.Controls.SplitButton
1614
/// <summary>
1715
/// Property for <see cref="CornerRadius"/>.
1816
/// </summary>
19-
public static readonly StyledProperty<CornerRadius> CornerRadiusProperty =
17+
public static new readonly StyledProperty<CornerRadius> CornerRadiusProperty =
2018
AvaloniaProperty.Register<SplitButton, CornerRadius>(nameof(CornerRadius));
2119

2220
/// <summary>
2321
/// Gets or sets the corner radius.
2422
/// </summary>
25-
public CornerRadius CornerRadius
23+
public new CornerRadius CornerRadius
2624
{
2725
get => GetValue(CornerRadiusProperty);
2826
set => SetValue(CornerRadiusProperty, value);

src/CrissCross.Avalonia.UI/Controls/TimePicker/TimePicker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class TimePicker : global::Avalonia.Controls.TimePicker
2727
/// <summary>
2828
/// Property for <see cref="ClockIdentifier"/>.
2929
/// </summary>
30-
public static readonly StyledProperty<ClockIdentifier> ClockIdentifierProperty = AvaloniaProperty.Register<TimePicker, ClockIdentifier>(
30+
public static new readonly StyledProperty<ClockIdentifier> ClockIdentifierProperty = AvaloniaProperty.Register<TimePicker, ClockIdentifier>(
3131
nameof(ClockIdentifier), ClockIdentifier.Clock24Hour);
3232

3333
/// <summary>
@@ -74,7 +74,7 @@ public TimeSpan Time
7474
/// <summary>
7575
/// Gets or sets the clock system to use (12-hour or 24-hour).
7676
/// </summary>
77-
public ClockIdentifier ClockIdentifier
77+
public new ClockIdentifier ClockIdentifier
7878
{
7979
get => GetValue(ClockIdentifierProperty);
8080
set => SetValue(ClockIdentifierProperty, value);

src/CrissCross.Avalonia.UI/CrissCross.Avalonia.UI.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@
4141
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
4242
<PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)" />
4343
<PackageReference Include="ReactiveUI" Version="$(ReactiveUIVersion)" />
44-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.*" />
45-
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.*" />
4644
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.*" />
47-
<PackageReference Include="ReactiveList" Version="3.0.2" />
45+
<PackageReference Include="ReactiveList" Version="3.0.5" />
4846
<PackageReference Include="AngleSharp" Version="1.4.0" />
4947
<PackageReference Include="Markdig" Version="0.44.0" />
5048
<!-- Source generators / analyzers isolated from consumers -->

src/CrissCross.Avalonia/CrissCross.Avalonia.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<TargetFrameworks>$(CrissCrossAvaloniaTargetFrameworks);</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
87
</PropertyGroup>
98

109
<ItemGroup>

src/CrissCross.MAUI/CrissCross.MAUI.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<UseMaui>true</UseMaui>
77
<SingleProject>true</SingleProject>
88
<ImplicitUsings>enable</ImplicitUsings>
9-
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
109

1110
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
1211
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>

0 commit comments

Comments
 (0)