Hi @Dieter Decklar ,
Welcome to Microsoft Q&A forum.
Did you modify something in this file before this error appear?
To narrow down this issue, I suggest you create a new project, and check if in that project, the .appxmanifest
file can be opened with the App Manifest Designer
. If the newly created .appxmanifest
file still cannot be opened, please try to repair Visual Studio(VS) from VS Installer. If the newly created .appxmanifest
file can be opened, then the issue should be related to the project/file itself. If you changed something in this .appxmanifest
file, please check if the modification is correct.
Besides, please try to clean your project cache(.vs/obj/bin folder) and rebuild your project then try again. If you changed any VS configurations or have some extensions installed, please let me know.
- Update1:
Hi @Dieter Decklar , are you using the normal UWP project? If so, the .appxmanifest
file should be look like following:
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="XXX"
Publisher="XXX"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="XXX" PhonePublisherId="XXX"/>
<Properties>
<DisplayName>XXXXX</DisplayName>
<PublisherDisplayName>Administrator</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="xxx">
<uap:VisualElements
DisplayName="xxx"
Square150x150Logo="XXX"
Square44x44Logo="XXX"
Description="XXX"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="XXX"/>
<uap:SplashScreen Image="XXX" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.