Domanda

Ottengo l'errore "Impossibile attivare l'applicazione su misura di Windows" nell'app Metro quando lo eseguo sotto il debugger di Visual Studio 11. Ho installato l'anteprima dello sviluppatore di Windows 8 X64 sul mio laptop Dell E6510.

L'ho cercato su Google e ho scoperto che molte persone dicono che succede quando la risoluzione dello schermo è inferiore a 800x600 ma è 1920x1280 nel mio caso.

L'app stessa non contiene nulla. È solo un'applicazione creata dalla procedura guidata vuota che non è altro che finestre con sfondo nero.

Qualche idea? Sembra un problema molto comune.

È stato utile?

Soluzione

The solution was quite bizarre but I figured it out.

It turns out not a single Metro application works under Administrator account including my apps. I'm talking about built-in Administrator account that is disabled by default (but which I enabled).

It gives "Access denied" error so I suspect it's somehow related to the way WinRT COM objects were registered or something like that. Go figure.

I hope somebody from Microsoft is reading this.

Altri suggerimenti

Best solution is to wait 2 weeks for the next release. The developer preview is full of fun bugs like this. I've seen this error caused by invalid app.xaml. Double check that you really haven't changed anything. I've also seen this error sometimes resolved by rebooting. Have fun!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top