maui
maui copied to clipboard
App Manifest Validation Error: The attribute 'ShortName' with value '*' failed to parse.
Description
I am in developer mode on my machine(s) running
- Windows 10 21H2 (19044.2130)
- Visual Studio 2022 17.3.6
- .NET 6.0.402 (commit 6862418796) with win10-x64 and base path c:\Program Files\dotrnet\sdk\6.0.402
- maui-windows 6.0.541/6.0.400 VS 17.3.32929.385
When building a clean MAUI .NET template I get the following error:
DEP0700: Registration of the app failed. [0x80080204] error 0xC00CE16A: App manifest validation error: The app manifest must be valid as per schema: Line 27, Column 144, Reason: Union doesn't support this value.
The attribute 'ShortName' with value 'KodeFoxx.SimpleBroadcast.Presentation.App' failed to parse. KodeFoxx.SimpleBroadcast.Presentation.App
```
### Steps to Reproduce
1. Create File -> New MAUI .NET APP
2. Set to debug, select .net6.0-windows10.0.19041.0 as target to run
3. Press the green button
Expected outcome:
-> See a .NET MAUI app appear as it comes from the template
Current outcome:
-> Error on parsing, see below for output. Can't seem to find where to find or fix this file even.
**_The app manifest must be valid as per schema: Line 27, Column 144, Reason: Union doesn't support this value.
The attribute 'ShortName' with value 'KodeFoxx.SimpleBroadcast.Presentation.App' failed to parse._**
### Link to public reproduction project repository
https://github.com/KodeFoxx-Projects/KodeFoxx.SimpleBroadcast/tree/main/Source/Presentation/KodeFoxx.SimpleBroadcast.Presentation.App
### Version with bug
Unknown/Other (please specify)
### Last version that worked well
Unknown/Other
### Affected platforms
Windows, I was *not* able test on other platforms
### Affected platform versions
Windows 10 21H2 (19044.2130)
### Did you find any workaround?
Not yet.
### Relevant log output
```shell
Installed Workload Ids Manifest Version Installation Source
---------------------------------------------------------------------
maui-windows 6.0.541/6.0.400 VS 17.3.32929.385
maui-maccatalyst 6.0.541/6.0.400 VS 17.3.32929.385
maccatalyst 15.4.465/6.0.400 VS 17.3.32929.385
maui-ios 6.0.541/6.0.400 VS 17.3.32929.385
ios 16.0.517/6.0.400 VS 17.3.32929.385
maui-android 6.0.541/6.0.400 VS 17.3.32929.385
android 32.0.476/6.0.400 VS 17.3.32929.385