Skip to content

Commit a4c1246

Browse files
authored
Merge main into net10 (#32079)
2 parents c9292e2 + c94dbee commit a4c1246

File tree

89 files changed

+848
-196
lines changed

Some content is hidden

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

89 files changed

+848
-196
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ body:
4242
label: Version with bug
4343
description: In what version do you see this issue? Run `dotnet workload list` to find your version.
4444
options:
45+
- 10.0.0-rc.2
4546
- 10.0.0-rc.1
4647
- 10.0.0-preview.7
4748
- 10.0.0-preview.6
@@ -50,6 +51,8 @@ body:
5051
- 10.0.0-preview.3
5152
- 10.0.0-preview.2
5253
- 10.0.0-preview.1
54+
- 9.0.110 SR12
55+
- 9.0.111 SR11.1
5356
- 9.0.110 SR11
5457
- 9.0.100 SR10
5558
- 9.0.90 SR9
@@ -133,6 +136,8 @@ body:
133136
- 9.0.90 SR9
134137
- 9.0.100 SR10
135138
- 9.0.110 SR11
139+
- 9.0.111 SR11.1
140+
- 9.0.120 SR12
136141
- 10.0.0-preview.1
137142
- 10.0.0-preview.2
138143
- 10.0.0-preview.3
@@ -141,6 +146,7 @@ body:
141146
- 10.0.0-preview.6
142147
- 10.0.0-preview.7
143148
- 10.0.0-rc.1
149+
- 10.0.0-rc.2
144150
validations:
145151
required: true
146152
- type: dropdown

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* [.NET MAUI Samples](https://github.com/dotnet/maui-samples)
1212
* [Development Guide](./.github/DEVELOPMENT.md)
1313

14+
Create a new app with `dotnet new maui -n NewApp` or a [sample app](https://github.com/dotnet/maui-samples/tree/main/10.0/Apps/DeveloperBalance#developer-balance) with `dotnet new maui -n NewApp -sc` that includes the [open-source Syncfusion Toolkit for .NET MAUI](https://www.syncfusion.com/net-maui-toolkit?utm_source=msftdotnet&utm_medium=banner&utm_campaign=mauipremium_sep25) with over 30 additional controls, the [.NET MAUI Community Toolkit](https://github.com/CommunityToolkit/Maui) with tons of helpers and views, and [MVVM Toolkit](https://github.com/CommunityToolkit/dotnet).
15+
1416
## Overview
1517

1618
.NET Multi-platform App UI (.NET MAUI) is the evolution of Xamarin.Forms that expand capabilities beyond mobile Android and iOS into desktop apps for Windows and macOS. With .NET MAUI, you can build apps that perform great on any device that runs Windows, macOS, Android, & iOS from a single codebase. Coupled with Visual Studio productivity tools and emulators, .NET and Visual Studio significantly speed up the development process for building apps that target the widest possible set of devices. Use a single development stack that supports the best-of-breed solutions for all modern workloads with a unified SDK, base class libraries, and a toolchain. [Read More](https://docs.microsoft.com/dotnet/maui/what-is-maui)

coverage.runsettings

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RunSettings>
3+
<DataCollectionRunSettings>
4+
<DataCollectionProviders>
5+
<DataCollectionProvider friendlyName="Code Coverage">
6+
<Configuration>
7+
<Module>
8+
<Exclude>
9+
<Module name="*" />
10+
</Exclude>
11+
<Include>
12+
<Module name="Microsoft.Maui*.dll" />
13+
</Include>
14+
</Module>
15+
</Configuration>
16+
</DataCollectionProvider>
17+
</DataCollectionProviders>
18+
</DataCollectionRunSettings>
19+
</RunSettings>

eng/common/core-templates/job/source-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ parameters:
3434
# container and pool.
3535
platform: {}
3636

37+
# Optional list of directories to ignore for component governance scans.
38+
componentGovernanceIgnoreDirectories: []
39+
3740
is1ESPipeline: ''
3841

3942
# If set to true and running on a non-public project,
@@ -94,3 +97,4 @@ jobs:
9497
parameters:
9598
is1ESPipeline: ${{ parameters.is1ESPipeline }}
9699
platform: ${{ parameters.platform }}
100+
componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}

eng/common/core-templates/jobs/source-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ parameters:
1515
# one job runs on 'defaultManagedPlatform'.
1616
platforms: []
1717

18+
# Optional list of directories to ignore for component governance scans.
19+
componentGovernanceIgnoreDirectories: []
20+
1821
is1ESPipeline: ''
1922

2023
# If set to true and running on a non-public project,
@@ -31,6 +34,7 @@ jobs:
3134
is1ESPipeline: ${{ parameters.is1ESPipeline }}
3235
jobNamePrefix: ${{ parameters.jobNamePrefix }}
3336
platform: ${{ platform }}
37+
componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
3438
enableInternalSources: ${{ parameters.enableInternalSources }}
3539

3640
- ${{ if eq(length(parameters.platforms), 0) }}:
@@ -39,4 +43,5 @@ jobs:
3943
is1ESPipeline: ${{ parameters.is1ESPipeline }}
4044
jobNamePrefix: ${{ parameters.jobNamePrefix }}
4145
platform: ${{ parameters.defaultManagedPlatform }}
46+
componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
4247
enableInternalSources: ${{ parameters.enableInternalSources }}

eng/common/core-templates/steps/get-delegation-sas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ steps:
2626
inputs:
2727
azureSubscription: ${{ parameters.federatedServiceConnection }}
2828
scriptType: 'pscore'
29+
addSpnToEnvironment: true
2930
scriptLocation: 'inlineScript'
3031
inlineScript: |
3132
# Calculate the expiration of the SAS token and convert to UTC

eng/common/core-templates/steps/get-federated-access-token.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ steps:
3131
inputs:
3232
azureSubscription: ${{ parameters.federatedServiceConnection }}
3333
scriptType: 'pscore'
34+
addSpnToEnvironment: true
3435
scriptLocation: 'inlineScript'
3536
inlineScript: |
3637
$accessToken = az account get-access-token --query accessToken --resource ${{ parameters.resource }} --output tsv

eng/pipelines/arcade/setup-test-env.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ steps:
2828
xcrun xcode-select --print-path
2929
xcodebuild -version
3030
sudo xcodebuild -license accept
31-
sudo xcodebuild -downloadPlatform iOS
31+
if [[ ${XCODE_VERSION/\.*/} -ge 26 ]]; then
32+
sudo xcodebuild -downloadPlatform iOS -architectureVariant universal
33+
else
34+
sudo xcodebuild -downloadPlatform iOS
35+
fi
3236
sudo xcodebuild -runFirstLaunch
3337
displayName: Select Xcode Version
3438
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))

eng/pipelines/maui-release-internal.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ extends:
7474
${{ else }}:
7575
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
7676
parameters:
77+
settings:
78+
networkIsolationPolicy: Permissive
7779
pool: ${{ parameters.VM_IMAGE_HOST }}
7880
sdl:
7981
binskim:

src/Controls/src/Core/Compatibility/Handlers/FlyoutPage/iOS/PhoneFlyoutPageRenderer.cs

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ public override void ViewDidAppear(bool animated)
124124
{
125125
base.ViewDidAppear(animated);
126126
Page.SendAppearing();
127+
if (!_intialLayoutFinished)
128+
{
129+
_intialLayoutFinished = true;
130+
SetInitialPresented();
131+
}
127132
}
128133

129134
public override void ViewDidDisappear(bool animated)
@@ -158,19 +163,6 @@ void SetInitialPresented()
158163
UpdateLeftBarButton();
159164
}
160165

161-
public override void ViewWillLayoutSubviews()
162-
{
163-
// Orientation doesn't seem to be set to a stable correct value until here.
164-
// So, we officially process orientation here.
165-
if (!_intialLayoutFinished)
166-
{
167-
_intialLayoutFinished = true;
168-
SetInitialPresented();
169-
}
170-
171-
base.ViewWillLayoutSubviews();
172-
}
173-
174166
public override void ViewDidLoad()
175167
{
176168
base.ViewDidLoad();

0 commit comments

Comments
 (0)