Skip to content

[Windows] Fix for Runtime error when closing external window with WPF Webview Control#34006

Merged
kubaflo merged 13 commits into
dotnet:inflight/currentfrom
BagavathiPerumal:fix-32944
Apr 7, 2026
Merged

[Windows] Fix for Runtime error when closing external window with WPF Webview Control#34006
kubaflo merged 13 commits into
dotnet:inflight/currentfrom
BagavathiPerumal:fix-32944

fix-32944-Removed the unnecessary null check.

23434b1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr failed Apr 7, 2026 in 4h 4m 11s

Build #10.0.60-ci+pr.34006.azdo.1368516 had test failures

Details

Tests

  • Failed: 16 (5.02%)
  • Passed: 303 (94.98%)
  • Other: 0 (0.00%)
  • Total: 319

Annotations

Check failure on line 220 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L220

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(220,86): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 233 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L233

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(233,21): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 236 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L236

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(236,41): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 242 in src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs#L242

src\Controls\tests\TestCases.HostApp\Issues\Issue34310.cs(242,44): error CS0104: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Grid' is an ambiguous reference between 'Microsoft.Maui.Controls.Grid' and 'Microsoft.UI.Xaml.Controls.Grid'

Check failure on line 1 in Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Release")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Release")

Project Controls.TestCases.HostApp.csproj failed to build. Check test output/attachments for errors.
Raw output
   at Microsoft.Maui.IntegrationTests.SampleTests.Build(String relativeProj, String config) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/SampleTests.cs:line 45
   at InvokeStub_SampleTests.Build(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Debug")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Debug")

Project Controls.TestCases.HostApp.csproj failed to build. Check test output/attachments for errors.
Raw output
   at Microsoft.Maui.IntegrationTests.SampleTests.Build(String relativeProj, String config) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/SampleTests.cs:line 45
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Release")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Release")

Project Controls.TestCases.HostApp.csproj failed to build. Check test output/attachments for errors.
Raw output
   at Microsoft.Maui.IntegrationTests.SampleTests.Build(String relativeProj, String config) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/SampleTests.cs:line 45
   at InvokeStub_SampleTests.Build(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Debug")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr

Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Debug")

Project Controls.TestCases.HostApp.csproj failed to build. Check test output/attachments for errors.
Raw output
   at Microsoft.Maui.IntegrationTests.SampleTests.Build(String relativeProj, String config) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/SampleTests.cs:line 45
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)