windows-store

How to debug memory leaks in Windows Store apps?

感情迁移 提交于 2019-11-27 02:52:45
问题 So I have a .NET Windows Store app that is leaking memory. What can I do about it? The profiler tools I used for desktop apps from jetBrains or Red-Gate/ANTS don't support Metro Apps (or do they now?) 回答1: For the simplest approach - skip to the bottom to read about the description of doing that with Visual Studio 2013. Now there might be some new tools - perhaps something in the updated Visual Studio and I would love to find about these, but I tried WinDbg before with some success. Here are

FileNotFoundException reading JSON file from Assets folder in Windows Store app

别等时光非礼了梦想. 提交于 2019-11-26 21:47:57
问题 I'm trying to read a json file from my Assets folder. I've tried numerous code examples, and all are variations on the same thing. I feel like I must be doing something stupid, but I just can't see it. string filepath = @"Assets\resources.json"; StorageFolder folder = Windows.ApplicationModel.Package.Current.InstalledLocation; StorageFile file = await folder.GetFileAsync(filepath); // error here var data = await Windows.Storage.FileIO.ReadTextAsync(file); Every time I run the above code I get

How to uninstall an app that another user installed?

梦想的初衷 提交于 2019-11-26 12:03:35
问题 I keep hitting this problem when I try to debug my Windows 8 apps and there is a copy already installed on another user account: DEP0700 : Registration of the app failed. Another user has already installed a packaged version of this app. An unpackaged version cannot replace this. The conflicting package is {{{PackageName}}} and it was published by CN={{{Certificate Stuff}}}. (0x80073cf9) Sometimes I can just log in or ask someone else to log in to the machine and uninstall the app.