dotnet/maui

Documented errors, page 2 of 4. Back to dotnet/maui

Code / MessageTypeSeverityTags
You MUST invoke LoadApplication () before calling…
exception critical maui, xamarin-forms, ios, appdelegate, lifecycle, startup, invalidoperation
Failed to install app MSIX
exception error cake, windows, msix, appx, powershell, install
IItemsViewSource is empty
exception error android, collectionview, emptysource, bounds-check, internal
The PropertyName of . is not
exception error maui, xaml, bindableproperty, converter, rename, obsolete
Unhandled expression type
exception error wpf, expressions, linq, expression-tree, visitor-pattern
Unable to combine two HRGNs.
exception error wpf, windowchrome, gdi, hrgn, win32, native-interop
EnumPicker: EnumType property must be enumeration type
exception error maui, controls, picker, enum, argument, validation, sample
PopToRootAsync is not supported globally on macOS, please…
exception error macos, navigation, navigationpage, platform-limitation, maui, xamarin
The stream doesn't support modifications.
exception error stream, io, read-only, notsupported
Element must be a TabbedPage
exception error gtk, renderer, tabbedpage, type-mismatch, maui, xamarin
this element is not in a namescope
exception error maui, namescope, element-tree, findbyname, invalidoperation
There is no root component with selector
exception error blazor, blazorwebview, winforms, rootcomponent, validation, collection
No devices found for version
exception error cake, ios, physical-device, version-mismatch, xharness
uniqueName must not contain a .
exception error maui, effects, attributes, configuration
Either set or override .
exception critical application, window, startup, not-implemented
Unable to find Application Services
exception critical windows, maui-host, di, dispatcher, startup, maui-compat
Can't set CarouselView to position
exception error android, carouselview, position, itemssource, collectionview
XC0100
Syntax for x:Static is "[Member=][prefix:]typeName.staticMemberName".
exception error xaml, xamlc, x-static, markup-extension, build-time
Element is not of type
exception error tizen, renderer, type-mismatch, argument, registrar
No device was found to run tests on.
exception error cake, ios, xharness, physical-device, udid
Push is not supported globally on Windows, please use a…
exception error wpf, navigation, not-supported, light-navigation-page
You are using an instance of
exception error bindable-layout, datatemplate, datatemplateselector, not-supported
Changing the current page is only allowed if it's being…
exception error threading, ui-thread, concurrency, winui, uwp, maui-compatibility
mainRenderer
exception error macos, argument-null, modal, internal, maui
XC0124
Resource " " not found.
error_code error xaml, maui, xamlc, resourcedictionary, resource-missing, assembly-reference, build-time
Element is not of type CheckBox
exception error android, renderer, checkbox, type-mismatch, registration
Pin must have a Label to be added to a map
exception error maui, maps, pin, argument, validation, collection-changed
This is a test exception thrown from C# code!
exception error maui, hybridwebview, sample, demo, javascript-interop, intentional
Failed to download the package.
exception error nuget, download, network, package, dependency
Renderer's container element must be a Panel
exception error rendering, type-mismatch, layout, winui, panel
No UIViewController found to present.
exception error maui, xamarin-forms, ios, context-actions, uiviewcontroller, invalidoperation
Please provide a main window in your app
exception critical macos, window, startup, storyboard, lifecycle, maui
The layout is not implemented
exception error wpf, maui-compatibility, collectionview, itemslayout, renderer
Error: Building dotnet-samples with NativeAOT is only…
exception error nativeaot, configuration, cake, build, maui-samples
indexPath
exception error maui, xamarin-forms, ios, uicollectionview, observablecollection, argument-validation
All key generation methods failed. Unable to create ADB…
exception error android, adb, adb-keys, openssl, crypto, authorization
InsertPageBefore is not supported globally on Windows…
exception error wpf, navigation, not-supported, light-navigation-page
XC0101
x:Static: unable to find a public -- or accessible internal -- static field…
exception error xaml, xamlc, x-static, member-resolution, api-versioning, build-time
Category discovery run did not complete successfully
exception error cake, windows, winui, packaged, app-activation, timeout
Invalid Debian version format
exception error python, cross-build, rootfs, debian
self
exception error maui, binding, argument-null, extension-method, nullable
The property cannot be null at this time.
exception error validation, invalid-operation, state, property, verify
Expected VisualStateGroup but found
exception error xaml, xamlc, visualstate, compilation
throw new ArgumentNullException(nameof(type));
exception error maui, argumentnull, datatemplate, controltemplate, reflection
XC0066
Invalid Xaml "Protected Xmlns
exception error xaml, xmlns, build-task, protected-namespace, xc0066
' ' Transition could not be found!
exception error wpf, transitions, visual-state, storyboard, argument
PushAsync is not supported globally on GTK, please use a…
exception error gtk, navigation, navigationpage, platform-limitation, maui, xamarin
targetProperty
exception error maui, binding, argument-null, bindableproperty, extension-method
XC0020
The name of the BindableProperty
exception error xaml, xamlc, bindableproperty, compilation
XC0126
Resources in ResourceDictionary require a x:Key attribute.
exception error xaml, resource-dictionary, build-task, missing-key, xc0126
_ = args ?? throw new ArgumentNullException(nameof(args));
exception error draganddrop, argumentnull, gesturerecognizer, internal
StackDepth is not supported globally on Windows, please use…
exception error wpf, navigation, not-supported, light-navigation-page, property
void ICollection .CopyTo(Element[] array, int arrayIndex)…
exception warning maui, readonly-collection, logicalchildren, notsupported, copyto
Glx entry point not found!
exception critical gtk, opengl, x11, glx, native-library, linux, glwidget, maui-compat
The emulator did not finish booting in time.
exception error android, emulator, boot-timeout, adb, ci
Visible item not found
exception error wpf, maui-compatibility, carouselview, collectionview, virtualization
PopAsync is not supported globally on GTK, please use a…
exception error gtk, navigation, navigationpage, not-supported, maui-compat
The property must be null at this time.
exception error validation, invalid-operation, state, lifecycle, verify
Element is not of type " + typeof(Image)
exception error android, renderer, type-mismatch, image, fast-renderer, maui-compat
Invalid Uri
exception error android, uri, ms-appdata, file-path, platform
The element must be a DependencyObject
validation error wpf, dependency-object, argument, window-chrome, attached-property
Cannot attach Effect to multiple sources
exception error maui, effects, invalidoperation, sharing, instance-reuse
HTTP error
exception error hybridwebview, javascript, http, fetch, assets, sample
No devices found
exception error cake, ios, physical-device, xharness, usb
OpenGL dll not found!
exception critical gtk, opengl, x11, native-library, linux, glwidget, maui-compat
_ = view ?? throw new ArgumentNullException(nameof(view));
exception error draganddrop, argumentnull, eventargs, constructor
XC0065
Cannot set the content of
exception error xaml, xamlc, content-property, custom-control
PushAsync is not supported globally on Windows, please use…
exception error navigation, winui, uwp, maui-compatibility, platform-limitation
Can't resolve on
exception error maui, xaml, bindableproperty, converter, type-resolution
Element must be of type Frame
exception error android, renderer, type-mismatch, frame, fast-renderer, maui-compat
The current platform does not implement the…
exception error device, dependencyservice, font, platform, notimplemented, obsolete
If no app was specified, an app must be provided.
exception error cake, build, windows, configuration, test-runner
Could not find or create a renderer for the Page
exception error wpf, maui-compatibility, embedded, renderer-registration, page-extensions
No device was found to install the app on. See the Setup…
exception error cake, ios, xharness, physical-device, udid
Bad value for origin
exception error stream, enum, validation, interop
internal ElementTemplate
exception error maui, argumentnull, datatemplate, controltemplate, factory
No Modal pages found in the stack, make sure you pushed a…
exception error macos, modal, navigation, validation, maui, xamarin
application
exception error macos, argument-null, lifecycle, forms, maui, xamarin
MinimumDate must be lower than MaximumDate
exception error gtk, datepicker, validation, date-range, maui-compat
The type of this parameter does not support a required…
validation error validation, reflection, interface, type, verify
Call Forms.Init() before this
exception error wpf, initialization, startup-order, page-extensions
element is not of type " + typeof(TElement)
exception error android, renderer, type-mismatch, generic, base-renderer, maui-compat
InsertPageBefore is not supported globally on iOS, please…
exception error maui, xamarin-forms, ios, navigation, navigationpage, invalidoperation
newElement
exception error argumentnullexception, ios, renderer-pool, element-changed
InsertPageBefore is not supported globally on GTK, please…
exception error gtk, navigation, navigationpage, not-supported, maui-compat
uri
exception error android, uri, ms-appdata, scheme, platform
view
exception error argumentnullexception, ios, renderer-pool, lifecycle
Error: Running UI tests with NativeAOT is only supported in…
exception error cake, ios, nativeaot, configuration, build
Header cells do not support context actions
exception error notsupportedexception, ios, listview, grouping, context-actions
Invalid enumeration value
validation error enum, validation, io, file-copy
The parameter must implement interface
validation error validation, reflection, interface, argument, verify
Cannot navigate to FormsEmbeddedPageWrapper without…
exception error wpf, maui-compatibility, embedded, navigation, page-extensions
The URI must be absolute.
validation error validation, argument, uri, relative-uri, verify
Resolved instance is not of the correct type.
exception error dependencyresolver, di, invalidcast, type-mismatch
UIThreadRequired
exception error wpf, threading, dispatcher, content-loader, ui-thread
path cannot be an empty string
exception error maui, data-binding, argument-validation, nullable
bool ICollection .Remove(Element item) => throw new…
exception warning maui, readonly-collection, logicalchildren, notsupported
Setting a Parent on Application is invalid.
exception error application, parenting, invalid-operation, logical-tree
Loop Manager expects a UICollectionViewFlowLayout
exception error carousel, collectionview, ios, null-argument, layout
The dispatcher was not found and the current application…
exception error dispatcher, threading, invalidoperation, uithread