As I am upgrading my uwp app to WindowsAppSDK and WinUI3 desktop app, I got this exception of Permission denied on PublisherCacheFolder. And it was working fine in uwp. I intend to package the app with msix so I will still technically upload it to store.
Just to clarify I do have folder names in package file in Extensions thats how it was working fine in uwp
Fixed it by reinstalling the app, dont know why but it had to do something with existing uwp version of the app being overriden with this windowsAppSDK version of the app under same publisher
Related
I followed these two docs (Doc1, Doc2) to integrate Feedback hub in my app. I used NuGet to install the Microsoft Store Services SDK.
As recommended I am using StoreServicesFeedbackLauncher.IsSupported() to check if the Feedback hub is available or not. This works locally on my machine, but in production all customers hit System.Exception with message "Method 'StoreServicesFeedbackLauncher.IsSupported()' was not included in compilation, but was referenced in HomePage.<feedback_tapped>d__23.MoveNext(). There may have been a missing assembly."
I have read the docs again and don't seem to have missed any of mentioned the steps.
Edit
This app is a Desktop Bridge app. The solution has a UWP app which communicates with a win32 exe. I am trying to launch the app from UWP app. The solution has a Windows Application Packaging project to package the app.
I have a UWP app. I'm using Visual Studio 2017 15.4.1. The UWP app is a store app and has been deployed to the Microsoft Store. My app was working fine in the store, and it was also working fine when I hit play in Visual Studio. Then recently, an isolated storage issue started occurring so I went in to the app in "Apps & Features" and hit Advanced Options -> Reset. Somehow this has fried my app installation on my machine. Our app no longer shows up as an installed app, and when I try to install the app from the store, I get an error with a code of 0x80073CF9. So, I can't uninstall, or reinstall on my machine. I've tried running sfc /scannow etc. to find out what's wrong, but nothing seems to help.
This wouldn't even worry me too much, but I can't even develop right now because when I try to run the app from Visual Studio, I get this error:
In order to debug this project, you must consume it from a Windows
Store app project that creates a package and is marked as the Startup
Project
I'm getting this error in the output window from the build
4>DEP0700: Registration of the app failed. [0x80073CF9] Another user
has already installed an unpackaged version of this app. The current
user cannot replace this with a packaged version. The conflicting
package is [APP NAME] and it was published
by CN=[Publisher].
What did I do wrong?
You can use Get-appxpackage -allusers *<appname>* | Remove-AppxPackage
The allusers option is important here.
You can also try to manually remove the content of the application cache folder in C:\Users\\AppData\Local\Packages\. If you have one locked file here, the whole deployment will fail.
I have a application UWP that I downloaded for to check how managed UWP with SQLServer from here: https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/SQLServer
When I try to Build the application I got so many errors about the Windows resource is not found,,, I have the last version of VS2017 and also W10 Pro SO....
I tried to add references and reinstall nugets, change the debug type, change the Frameworks... and I don't get works....
Can you tell me what more to do?? Maybe you can download the Project and see the same error than me...
This reference is used to call UWP APIs in "SqlBridge" windows console project.
To call UWP APIs from a classic .NET Framework application, you could install UWPDesktop NuGet package
For more info, please see Calling Windows 10 APIs From a Desktop Application.
The following is in regards to Xamarin.
I recently deployed my app to my phone using Free Provisioning.
So my app is pulling data from a directory inside of the projects directory called [projectname]datafiles, although when I deploy it to my phone, when I search/query the data it crashes the app, so I'm guessing that the data is not actually there so my guess is that it actually hasn't even been deployed to the device within the package contents of the app, my question is...
Does anyone know how to add these data files to the deployment of the app so I can use the app fully functioning?
Thank you,
Luke.
You can deploy files with your app package by marking them as Build Action "Content" or by placing them in the Resources folder as "Bundled Resources".
See the File System docs for more info.
I wanted to load my universal windows app into the app store. So i create my app packages. The problem was now, that i got a few build errors that the namespace of my custom control cannot be found. This is interesting because I can start my app in debug and release mode on my computer and on my mobile.
I hope you know what my problem is and you can help me.