Skip to content

Commit b3029d9

Browse files
committed
WIP
1 parent 90957a0 commit b3029d9

File tree

8 files changed

+14
-9
lines changed

8 files changed

+14
-9
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
dotnet-version: '8.0.201'
3737

3838
- name: Add .NET Workloads
39-
run: dotnet workload install maui
39+
run: dotnet workload install maui macos
4040

4141
- name: Build
4242
run: dotnet build Build.slnf /restore -m -property:Configuration=Release -property:PublicRelease=true

sample/Sample/Pages/MainPage.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<TabbedPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4-
xmlns:samples="clr-namespace:Samples;"
4+
xmlns:samples="clr-namespace:Samples"
55
x:Class="Samples.MainPage"
66
Title="ACR UserDialogs">
77
<TabbedPage.Children>

sample/Sample/Pages/ProgressPage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace=Samples.ViewModels"
45
x:Class="Samples.ProgressPage"
56
Title="Progress">
67
<ContentPage.Content>

sample/Sample/Pages/SettingsPage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace=Samples.ViewModels"
45
x:Class="Samples.SettingsPage"
56
Title="Settings/Themes">
67
<ContentPage.Content>

sample/Sample/Pages/SpecificCasesPage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace=Samples.ViewModels"
45
x:Class="Samples.SpecificCasesPage"
56
Title="Specific Cases">
67
<ContentPage.Content>

sample/Sample/Pages/StandardPage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace=Samples.ViewModels"
45
x:Class="Samples.StandardPage"
56
Title="Standard Dialogs">
67
<ContentPage.Content>

sample/Sample/Pages/ToastsPage.xaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace=Samples.ViewModels"
45
x:Class="Samples.ToastsPage"
56
Title="Toasts">
67
<ContentPage.Content>

src/Acr.UserDialogs/Acr.UserDialogs.csproj

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net8.0;net8.0-ios;net8.0-android;net8.0-maccatalyst;net8.0-macos</TargetFrameworks>
4-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows</TargetFrameworks>
55
<PackageProjectUrl>https://github.com/aritchie/userdialogs</PackageProjectUrl>
66
<Product>$(AssemblyName) ($(TargetFramework))</Product>
77
<Authors>Allan Ritchie</Authors>
@@ -28,8 +28,8 @@
2828
</PropertyGroup>
2929

3030
<ItemGroup>
31-
<None Include="$(MSBuildThisFileDirectory)nuget.png" Pack="true" PackagePath="icon.png" />
32-
<None Include="$(MSBuildThisFileDirectory)nuget.txt" Pack="true" PackagePath="readme.txt" />
31+
<None Include="$(SolutionDir)icon.png" Pack="true" PackagePath="icon.png" />
32+
<None Include="$(SolutionDir)readme.md" Pack="true" PackagePath="readme.md" />
3333
<None Include="Platforms\**\*.*" />
3434
<Compile Remove="Platforms\**\*.*" />
3535
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
@@ -39,25 +39,25 @@
3939
</PackageReference>
4040
</ItemGroup>
4141

42-
<ItemGroup Condition=" $(TargetFramework.Contains('android')) ">
42+
<ItemGroup Condition="$(TargetFramework.Contains('android'))">
4343
<Compile Include="Platforms\Shared\**\*.cs" />
4444
<Compile Include="Platforms\Android\**\*.cs" />
4545
<PackageReference Include="AndHUD" Version="2.0.1" />
4646
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.9.0.2" />
4747
</ItemGroup>
4848

49-
<ItemGroup Condition=" $(TargetFramework.Contains('ios')) OR $(TargetFramework.Contains('catalyst')) ">
49+
<ItemGroup Condition="$(TargetFramework.Contains('ios')) OR $(TargetFramework.Contains('catalyst'))">
5050
<Compile Include="Platforms\Shared\**\*.cs" />
5151
<Compile Include="Platforms\ios\**\*.cs" />
5252
<PackageReference Include="BTProgressHUD" Version="2.0.1" />
5353
</ItemGroup>
5454

55-
<ItemGroup Condition=" $(TargetFramework.StartsWith('macos')) ">
55+
<ItemGroup Condition="$(TargetFramework.StartsWith('macos'))">
5656
<Compile Include="Platforms\Shared\**\*.cs" />
5757
<Compile Include="Platforms\macOS\**\*.cs" />
5858
</ItemGroup>
5959

60-
<ItemGroup Condition=" $(TargetFramework.StartsWith('windows')) ">
60+
<ItemGroup Condition="$(TargetFramework.StartsWith('windows'))">
6161
<Compile Include="Platforms\Shared\**\*.cs" />
6262
<Compile Include="Platforms\Windows\**\*.cs" />
6363
<Page Include="Platforms\Windows\**\*.xaml" SubType="Designer" Generator="MSBuild:Compile" />

0 commit comments

Comments
 (0)