Migrate Regions to core #67
build_maui.yml
on: pull_request
build-prism-maui
/
Build Prism.Maui
5m 34s
Annotations
2 errors and 10 warnings
Prism.DryIoc.Maui.Tests.Fixtures.Regions.RegionFixture.RegionWithDefaultView_IsAutoPopulated:
tests/Maui/Prism.DryIoc.Maui.Tests/Fixtures/Regions/RegionFixture.cs#L164
System.AggregateException : One or more errors occurred. (Assert.Null() Failure: Value is not null
Expected: null
Actual: Prism.Navigation.NavigationException: An error occurred while resolving the page. This is most likely the result of invalid XAML or other type initialization exception
---> Prism.Mvvm.ViewCreationException: Unable to create Page 'MainPage'.
---> Prism.Regions.Behaviors.RegionCreationException: An exception occurred while creating a region with name 'Demo'. The exception was: System.Exception: The view must inherit from VisualElement.
at Prism.Regions.Region.InnerAdd(Object view, String viewName, IRegionManager scopedRegionManager) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Region.cs:line 268
at Prism.Regions.Region.Add(Object view, String viewName, Boolean createRegionManagerScope) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Region.cs:line 260
at Prism.Regions.Region.Add(Object view) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Region.cs:line 231
at Prism.Regions.Behaviors.AutoPopulateRegionBehavior.StartPopulatingContent() in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Behaviors\AutoPopulateRegionBehavior.cs:line 54
at Prism.Regions.Behaviors.AutoPopulateRegionBehavior.OnAttach() in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Behaviors\AutoPopulateRegionBehavior.cs:line 39
at Prism.Regions.RegionBehavior.Attach() in D:\a\Prism\Prism\src\Prism.Core\Regions\RegionBehavior.cs:line 49
at Prism.Regions.RegionBehaviorCollection.Add(String key, IRegionBehavior regionBehavior) in D:\a\Prism\Prism\src\Prism.Core\Regions\RegionBehaviorCollection.cs:line 54
at Prism.Regions.Adapters.RegionAdapterBase`1.AttachDefaultBehaviors(IRegion region, T regionTarget) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Adapters\RegionAdapterBase.cs:line 102
at Prism.Regions.Adapters.RegionAdapterBase`1.Initialize(T regionTarget, String regionName) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Adapters\RegionAdapterBase.cs:line 53
at Prism.Regions.Adapters.RegionAdapterBase`1.Prism.Regions.Adapters.IRegionAdapter.Initialize(VisualElement regionTarget, String regionName) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Adapters\RegionAdapterBase.cs:line 69
at Prism.Regions.Behaviors.DelayedRegionCreationBehavior.CreateRegion(VisualElement targetElement, String regionName) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Behaviors\DelayedRegionCreationBehavior.cs:line 136.
---> System.Exception: The view must inherit from VisualElement.
at Prism.Regions.Region.InnerAdd(Object view, String viewName, IRegionManager scopedRegionManager) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Region.cs:line 268
at Prism.Regions.Region.Add(Object view, String viewName, Boolean createRegionManagerScope) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Region.cs:line 260
at Prism.Regions.Region.Add(Object view) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Region.cs:line 231
at Prism.Regions.Behaviors.AutoPopulateRegionBehavior.StartPopulatingContent() in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Behaviors\AutoPopulateRegionBehavior.cs:line 54
at Prism.Regions.Behaviors.AutoPopulateRegionBehavior.OnAttach() in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Behaviors\AutoPopulateRegionBehavior.cs:line 39
at Prism.Regions.RegionBehavior.Attach() in D:\a\Prism\Prism\src\Prism.Core\Regions\RegionBehavior.cs:line 49
at Prism.Regions.RegionBehaviorCollection.Add(String key, IRegionBehavior regionBehavior) in D:\a\Prism\Prism\src\Prism.Core\Regions\RegionBehaviorCollection.cs:line 54
at Prism.Regions.Adapters.RegionAdapterBase`1.AttachDefaultBehaviors(IRegion region, T regionTarget) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Adapters\RegionAdapterBase.cs:line 102
at Prism.Regions.Adapters.RegionAdapterBase`1.Initialize(T regionTarget, String regionName) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Regions\Adapters\RegionAdapterBase.cs:line 53
at Prism.Regions.Adapters.RegionAdapterBase`1.Prism.Regions.Adapters.IRegionAdapter.Initialize(VisualE
|
build-prism-maui / Build Prism.Maui
Process completed with exit code 1.
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Commands/AsyncDelegateCommand{T}.cs#L246
Converting null literal or possible null value to non-nullable type.
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Commands/AsyncDelegateCommand{T}.cs#L246
Possible null reference argument for parameter 'parameter' in 'Task AsyncDelegateCommand<T>.Execute(T parameter, CancellationToken cancellationToken = default(CancellationToken))'.
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Commands/AsyncDelegateCommand{T}.cs#L262
Converting null literal or possible null value to non-nullable type.
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Commands/AsyncDelegateCommand{T}.cs#L262
Possible null reference argument for parameter 'parameter' in 'Task AsyncDelegateCommand<T>.Execute(T parameter, CancellationToken cancellationToken = default(CancellationToken))'.
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Common/IRegistryAware.cs#L5
Missing XML comment for publicly visible type or member 'IRegistryAware'
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Common/IRegistryAware.cs#L7
Missing XML comment for publicly visible type or member 'IRegistryAware.Registry'
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Common/MulticastExceptionHandler.cs#L23
Missing XML comment for publicly visible type or member 'MulticastExceptionHandler.Register<TException>(MulticastDelegate)'
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Common/MulticastExceptionHandler.cs#L45
Missing XML comment for publicly visible type or member 'MulticastExceptionHandler.HandleAsync(Exception, object?)'
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Mvvm/ViewCreationException.cs#L5
Missing XML comment for publicly visible type or member 'ViewCreationException'
|
build-prism-maui / Build Prism.Maui:
src/Prism.Core/Mvvm/ViewCreationException.cs#L7
Missing XML comment for publicly visible type or member 'ViewCreationException.ViewCreationException(string, ViewType)'
|