Support -Anwendung drucken - ungültiges Appx ManifestC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 Support -Anwendung drucken - ungültiges Appx Manifest

Post by Anonymous »

Ich möchte eine PSA (Drucksupportanwendung drucken) mit Dotnet 9.0.300 und Windows 11 SDK erstellen. Ich benutze gegen Professional 17.14.2. OS ist Windows 11 Pro Version 10.0.26100.

Code: Select all

DEP0700: Registration of the app failed. [0x80073CF6] Error 0x80080204: The package "617e6418-6847-4fa1-bec6-3a3668d09f6d_1.0.0.0_x86__g0j7nbxh9a4mw" cannot be registered due to the following error: The appx package manifest is invalid.
< /code>
Ich brauche Hilfe, um dieses Problem zu verstehen, da ich keine weiteren Informationen über das Problem habe. Hopfen Sie, Sie können helfen. Thx < /p>
Ich habe ein einfaches leeres UWP -Anwendungsprojekt mit dem folgenden Paket.AppxManifest < /p>

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"
xmlns:uap11="http://schemas.microsoft.com/appx/manifest/uap/windows10/11"
xmlns:printsupport="http://schemas.microsoft.com/appx/manifest/printsupport/windows10"
xmlns:printsupport2="http://schemas.microsoft.com/appx/manifest/printsupport/windows10/2"
IgnorableNamespaces="uap mp printsupport printsupport2 uap11">






PrintingApp
patrick
Assets\StoreLogo.png












































Die Einstiegspunktklassen befinden sich innerhalb des definierten Namespace und als öffentlich versiegelter Teilklasse , z. B.

Code: Select all

using Windows.ApplicationModel.Background;
using Windows.Graphics.Printing.PrintSupport;

namespace PrintingApp.Tasks
{
/// 
/// Background-Task für PrintTicket-Validierung und -Erweiterungen.
/// 
public sealed partial class PrintSupportExtensionBackgroundTask : IBackgroundTask
{
public void Run(IBackgroundTaskInstance taskInstance)
{
var deferral = taskInstance.GetDeferral();

deferral.Complete();
}
}
}
Beachten

Code: Select all







A4


B5


Letter






Hochformat


Querformat






Farbe


Schwarzweiß






Einseitig


Beidseitig (lange Kante)


Beidseitig (kurze Kante)









Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post