CommunityToolkit icon indicating copy to clipboard operation
CommunityToolkit copied to clipboard

Following Directions Leads to Warnings

Open Mike-E-angelo opened this issue 5 months ago • 1 comments

Type of issue

Missing information

Description

Following the directions provided I get two warnings:

The element 'Capabilities' in namespace 'http://schemas.microsoft.com/appx/manifest/foundation/windows10' has invalid child element 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities'. List of possible elements expected: 'CapabilityChoice' in namespace 'http://schemas.microsoft.com/appx/manifest/foundation/windows10' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/foundation/windows10' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/4' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/11' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/2' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/6' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/7' as well as 'Capability' in namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/3' as well as 'CustomCapabilityChoice' in namespace 'http://schemas.microsoft.com/appx/manifest/foundation/windows10' as well as 'CustomCa....
The 'Executable' attribute is invalid - The value 'YOUR-PATH-TO-EXECUTABLE' is invalid according to its datatype 'http://schemas.microsoft.com/appx/manifest/types:ST_ExecutableAnyCase' - The Pattern constraint failed.

The document does not mention YOUR-PATH-TO-EXECUTABLE except for the code it refers to copy/paste, or how to determine it.

Page URL

https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/alerts/toast?tabs=windows%2Candroid

Content source URL

https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/maui/alerts/toast.md

Document Version Independent Id

8536c827-5a35-ebdd-51fd-0a184bfe1d69

Platform Id

c1e8a685-717d-0e87-f2d2-8c76d3281b2a

Article author

@VladislavAntonyuk

Metadata

  • ID: 8536c827-5a35-ebdd-51fd-0a184bfe1d69
  • PlatformId: c1e8a685-717d-0e87-f2d2-8c76d3281b2a
  • Service: dotnet-communitytoolkit
  • Sub-service: dotnet-maui-community-toolkit

Mike-E-angelo avatar May 01 '25 18:05 Mike-E-angelo