I try to debug a UWP app that I developed, using UWP in VS 2015 Enterprise..
When I try to run it , I get the following message:
"Unable to activate windows store app (app name). The activation request failed with error 'Install failed'. Please contact your software vendor.
I know the question was asked before, I try the following:
Uninstall the app
Unistall VS
PC restart
Deleting all the build directories
Moreover, I checked and the app temporary file were created in
C:\Users(My User)\AppData\Local\Packages(App name)....
Any ideas?
Check this:
https://stackoverflow.com/a/20270214/6249148
And this:
https://stackoverflow.com/a/13405577/6249148
And make sure you activated Developer Mode from settings.
Related
I have an application that i want publish it using application packages file and install manually i don`t want to use Microsoft Store for publishing my app. I create my application package files as you can see below
After that when I want to install my application package from Windows 10 iot Device Portal I didn`t got any error but when application run it stucks on splash screen page.
Generally, if you encountered an app hung up when running, you can follow the below steps to troubleshoot.
Try to deploy/debug the app from Visual Studio;
Try to deploy/debug with a blank app;
Set break points or trace the event log to check if there is some exception or what code causes the hung up.
When debugging with Visual Studio, checked the Compile with .Net Native tool chain in Debug setting, by default, when the app runs in debug mode, it will not use Compile with .Net Native tool chain. Please see this blog.
If possible, you can share the code of your splash page.
In VS 2017 I have created new cross-platform project (Mobile App with Xamarin.Forms). Just after IDE finished creating all files, I tried to build solution and got this error:
Unable to open text symbol file obj\Debug\R.txt: Permission denied
"R.txt: Permission denied".
IDE has standard configuration, nothing was changed. Installed SDK are Android 7.1 (API level 25) and Android 8.1 (API level 27). My AVD is configured to Android 7.1, x86 processor and Nexus 6 base device, but I think it doesn't matter in this case, because I only want to build predefinied "Hello world" app. Target framework is set to Android 8.1.
Any idea why i'm still getting this error and how to solve this?
After few more minutes of research I ran VS 2017 with admin privileges and tried to build my app again. After that I've noticed BitDefender IS notofication about potential ransomware attack. It was false-positive ofcourse, but aapt.exe application has been blocked. Adding it to whitelist resolved all problems.
UWP program that used to work fine does not want to start. When starting the app from Visual Studio 2017 the error message is:
Unable to activate Windows Store app '{guid-name}'. The activation request failed with error 'Access is denied'.
Windows Event Viewer displays the following error:
Activation for {guid-name} failed. Error code: Access is denied.. Activation phase: COM ActivateExtension
The app deploys successfully, but then trying to start it (with or without debugging) it fails. When trying to start from Start menu, nothing happens when I click the app icon, but when trying to start from Visual Studio it produces an error message box. How to find out what is actually wrong?
I have tried the following:
Rebooting computer
Clean solution
Uninstall the deployed app
Delete bin folder
Compile with .NET Native toolchain
The solution is on C: drive
Change package name
Change to release profile and back to debug
When I try to create a new UWP app, it works fine, so this is most likely solution-specific error, not something wrong in the computer itself.
Usually this happens when there is an App with the same GUID as the one you are trying to Install/Debug. I would try to find the existing App, uninstall it, and try to deploy/debug again.
I had the same problem when creating a blank Xamarin.Forms app targeting UWP. The solution was to create an exception for my app in F-Sscure which would otherwise block it.
I had a similar error message to this, but my error was that a Nuget package had a different package version to my App.
"App" had dependency "B" version .14
Dependency "A" had dependency "B" version .13
i don't think this will solve this particular issue but it solved mine and i couldn't find solution to this anywhere.
I am using MS Visual Studio 2013 Professional Edition with Update 3. When I try to deply a WP 8.1 to the mobile device, I am facing the following errors.
Error: DEP3100: Attempts to stop the application on target machine "127.0.0.1" failed.
This may cause the deployment to fail.
The network connection to the Visual Studio Remote Debugger has been closed.
Error DEP2300: The deployment tool (TailoredDeploy.exe) failed to run on the target machine "127.0.0.1".
The object invoked has disconnected from its clients.
I have earlier deployed application to this mobile device.
Why am I facing such an error now?
I manually uninstalled the app. And when I tried to re-install the app, the same error occurred. But the solution was more simpler than I thought. I restarted the phone after switching it off. Voila. Worked. I installed the app once again. Successfully debugged the application & was able to deploy it to the device.
PS: But still I don't know why this error occurred.
I have programed one c# windows application and i am trying to run that on my clients(customer's) machine.
First>>>I tried to publish that application.
Whie publshing it is giving me two errors
1.cannot publish because project failed to build
2.signingtool.exe not found.
Event though searching on web , i did not get appropriate solution for this problem.
Then i tried to make exe of the application by releasing the application in x86 mode.
When i double clicks on application file(exe)...it gets opened and gives me error
1.microsoft.ace.oledb.12.0' provider is not registered on the local machine
After this error i installed the setup for AccessDatabaseEngine.
Although installing this...it gives me error...
what should i do for these errors???
Help me out for both the problems of same case...
i have refered this post
ClickOnce - Cannot publish because a project failed to build
and tried to build and publish the project via menus on the top....but still the problem is same...
Don't worry, I had this problem.
It's quite an easy process:
Open Programs and Features
Select Microsoft Visual Studio
Click Change
Select Modify if prompted (depends on your VS version)
Choose ClickOnce publishing tools and install them
Also, I found a bunch of cool stuff that you can install from there.