Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tests/dotnet/size-comparison/MauiForms/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace MauiForms;

public partial class App : Application {
public App ()
{
InitializeComponent ();
}

protected override Window CreateWindow (IActivationState? activationState)
{
return new Window (new MainPage ());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public MainPage ()
InitializeComponent ();
}

private void OnCounterClicked (object sender, EventArgs e)
private void OnCounterClicked (object? sender, EventArgs e)
{
count++;
CounterLabel.Text = $"Current count: {count}";
Expand Down
3 changes: 0 additions & 3 deletions tests/dotnet/size-comparison/MauiForms/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
PROJECT=MauiForms

PROJECT_OLD_FILE=./oldnet/MauiForms.iOS/MauiForms.iOS.csproj
PROJECT_OLD_APP=./oldnet//MauiForms.iOS/bin/iPhone/Release/MauiForms.app

include ../common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)-ios</TargetFramework>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net$(BundledNETCoreAppTargetFrameworkVersion)-windows10.0.19041</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>MauiForms</RootNamespace>
<UseMaui>true</UseMaui>
Expand All @@ -14,16 +13,12 @@
<ApplicationTitle>MauiForms</ApplicationTitle>

<!-- App Identifier -->
<ApplicationId>com.companyname.mauiforms</ApplicationId>
<ApplicationId>com.xamarin.mauiforms</ApplicationId>

<!-- Versions -->
<ApplicationVersion>1</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$(TargetFramework.EndsWith('-ios'))">14.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.EndsWith('-maccatalyst'))">14.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.EndsWith('-android'))">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</TargetPlatformMinVersion>
<CustomBeforeMicrosoftCommonTargets>$(CustomBeforeMicrosoftCommonTargets);$(MSBuildThisFileDirectory)../../../tests/common/SupportedOSPlatformVersions.targets</CustomBeforeMicrosoftCommonTargets>
</PropertyGroup>

<ItemGroup>
Expand All @@ -43,15 +38,13 @@
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<!-- Required - WinUI does not yet have buildTransitive for everything -->
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
</ItemGroup>

<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
<OutputType>WinExe</OutputType>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
</PropertyGroup>

</Project>
5 changes: 0 additions & 5 deletions tests/dotnet/size-comparison/MauiForms/MauiForms.map

This file was deleted.

10 changes: 0 additions & 10 deletions tests/dotnet/size-comparison/MauiForms/dotnet/App.xaml.cs

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading