Backgroundtask wird nicht gefunden Backgroundtask wird nicht gefunden
Danke Danke:  0
Ergebnis 1 bis 2 von 2
  1. 13.01.2013, 19:41
    #1
    Hallo, ich möchte einen ScheduledTaskAgent generieren, der meine Livetile aktualisieren soll. Der Assemblyname des ScheduledTaskAgents lautet "ScheduledTaskAgentTileClock" und ist Bestandteil meines Projekts. Zur Manifestdatei der App, von der aus der Taks aus gestartet werden soll habe ich den folgenden Eintrag hinzugefügt:
    Code:
    [FONT=Consolas][FONT=Consolas][FONT=Consolas]<[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Tasks[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]>[/FONT][/FONT][/FONT]
    [FONT=Consolas][FONT=Consolas][FONT=Consolas]
    [/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]      <[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]DefaultTask[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Name[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]_default[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]NavigationPage[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]MainPage.xaml[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas] />[/FONT][/FONT][/FONT]
    [FONT=Consolas][FONT=Consolas][FONT=Consolas]
    [/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]      <[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]ExtendedTask[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Name[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]BackgroundTask[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]>[/FONT][/FONT][/FONT]
    [FONT=Consolas][FONT=Consolas][FONT=Consolas]
    [/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]        <[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]BackgroundServiceAgent[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Specifier[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]ScheduledTaskAgent[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Name[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]ScheduledTaskAgentTileClock[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Source[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]ScheduledTaskAgentTileClock[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Type[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]=[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]ScheduledTaskAgentTileClock.ScheduledAgent[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas]"[/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas] />[/FONT][/FONT][/FONT]
    [FONT=Consolas][FONT=Consolas][FONT=Consolas]
    [/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]      </[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]ExtendedTask[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]>[/FONT][/FONT][/FONT]
    [FONT=Consolas][FONT=Consolas][FONT=Consolas]
    [/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]    </[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]Tasks[/FONT][/FONT][/FONT][FONT=Consolas][FONT=Consolas][FONT=Consolas]>[/FONT][/FONT][/FONT]
    Wenn ich jetzt versuche, den Task von meiner App aus zu starten, bekomme ich die Exception: System.IO.FileNotFoundException. Der Task scheint also nicht gefunden zu werden. Kann mir evtl. jemand sagen, was ich falsch mache?
    0
     

  2. 15.01.2013, 07:04
    #2
    Habe den Fehler gefunden. Ich hatte vergessen eine Verweis vom Background Task in meinem App-Projekt einzufügen.
    0
     

Ähnliche Themen

  1. Netz wird nicht gefunden
    Von Pirandello im Forum Samsung Omnia 7
    Antworten: 8
    Letzter Beitrag: 02.05.2012, 19:59
  2. Musik wird nicht gefunden
    Von HTC-Anfänger im Forum HTC Desire HD
    Antworten: 2
    Letzter Beitrag: 12.05.2011, 03:16
  3. WLAN wird nicht gefunden?
    Von puzzlespider im Forum Google Nexus One
    Antworten: 6
    Letzter Beitrag: 20.03.2010, 23:21
  4. Speicherkarte wird nicht gefunden???
    Von Manfred 40 im Forum Touch HD Zubehör
    Antworten: 18
    Letzter Beitrag: 11.03.2009, 07:40
  5. Musik wird nicht gefunden
    Von Sirius Diamond im Forum HTC Touch Diamond
    Antworten: 8
    Letzter Beitrag: 26.01.2009, 20:30