windows - Error_ Registration of the app failed - Stack Overflow
windows - Error_ Registration of the app failed - Stack Overflow
Just browsing Stack Overflow? Help us improve your experience. Sign up for research
While trying to deploy an app from Visual Studio, I'm getting an error. I have already set
developer mode and also deleted the app package from the packages folder, but it still won't
15 work.
Error : DEP0700 : Registration of the app failed. Deployment Register operation with
target volume C: on Package App_1.0.0.2_x64__m0fsgersa29a0 from: (AppxManifest.xml)
failed with error 0x80070002. See http://go.microsoft.com/fwlink/?LinkId=235160 for
help diagnosing app deployment issues. (0x80073cf9)
Share Improve this question Follow edited Aug 8, 2015 at 7:50 asked Aug 8, 2015 at 4:02
Calcolat Tarak
898 2 11 22 1,212 3 13 28
Opening the project from a local folder first resolved the issue.
19
Share Improve this answer Follow answered May 25, 2016 at 5:36
Michael Ribbons
1,975 1 19 26
https://stackoverflow.com/questions/31889514/error-registration-of-the-app-failed 1/6
12/11/24, 5:23 PM windows - Error: Registration of the app failed - Stack Overflow
2 This worked for me too when trying to build to my shared folder on the Mac. Local folder was fine.
– Andy Krouwel Apr 23, 2019 at 13:16
1 yes, putting solution folder in desktop then running seems solved the problem, but this is no excuse, I want
to put my projects in to some folder in my second disc ..... year 2019 still we are here – mkb Nov 24, 2019
at 11:12
ok, after upgrading windows problem disappeared, didn't note the version before upgrade but know it
says v.1809 osbuild.17763.864 – mkb Nov 24, 2019 at 11:45
Work's for me, thank's! – Diego Lobo Nov 29, 2023 at 15:25
I know there is already an accepted answer, but I had a totally different problem with the same
excact error message. When th app was running I took a look in the SQLite database with a
16 program that I didn't close when I uninstalled the app and re-run it from Visual Studio. I think
that Visual Studio couldn't overwrite the database as I was 'using' it.
Hope this helpes anybody else as I was stuck for precious hours!
2 You are right sir! My problem was also with an open sqlite database. – Timothy Macharia Jul 14, 2019 at
2:35
2 Thanks, man! This was my issue. I had the database open in DB Browser for SQLite. – Lee Denbigh Feb 15,
2022 at 14:20
In Windows 10 there are two possible cause of this problem are as follows,
1. Previously installed app is locked and preventing VS to delete while deploying the
9
application. Goto C:\Users\{you user}\AppData\Local\Packages and delete the folder of
your application. Now rebuild and deploy your application.(this was the solution in Windows
8 devices as well)
2. If it is still not working, double check if you have removed the below entry from
appxmanifest file. If you are targeting Desktop Name="Windows.Desktop" entry should be
there in the file. If it is Phone, Name="Windows.Mobile" should be there in the
TargetDeviceFamily. You can have both in the configuration but sometimes Microsoft will
suggest to keep separate configuration when you submit the application for STARTS testing.
Hope this help in figuring out the reason and solution for "Error : DEP0700 : Registration of the
app failed" error.
Share Improve this answer Follow edited Jun 14, 2016 at 22:31 answered Jun 14, 2016 at 21:58
Nidheesh Puthalath
206 2 7
I followed as in the step 1 and first called 'Deploy' from right click on the project or 'Deploy Solution' from
right-click on Solution, then, i am able to 'Start Debugging' the app. – Snekithan Oct 26, 2017 at 20:53
1 thank you, it works for me, just need to follow the first step – Dody Rachmat Wicaksono Jan 9, 2020 at
23:06
This is a very cryptic error and does not give you any info about what the problem actually is. The
problem is that Visual Studio is not able to delete the application data in your local packages
folder.
Don’t worry, the solution is actually very simple. On your Windows 8 machine, go to
C:\Users\\AppData\Local\Packages\ folder. There you will find a folder that has your application’s
Package Family Name in it – you just need to delete that folder. The issue is that while your app is
in development, it might have a random GUID as its Package Family Name, so the folder will also
have that random GUID as its name which makes it hard to know which folder belongs to your
app. Again, that is easy to find as well. Right click your project in Visual Studio and click
properties. The value you see in the “Package Family Name” field is the name you should look for
in the folder. Simply delete it and build your solution again and it will run like a charm.
Share Improve this answer Follow answered Dec 26, 2016 at 7:25
Zia Ur Rahman
1,880 1 21 30
https://stackoverflow.com/questions/31889514/error-registration-of-the-app-failed 3/6
12/11/24, 5:23 PM windows - Error: Registration of the app failed - Stack Overflow
For me this was caused by being signed in with my Microsoft account in windows instead of the
local user account. Logging in as a local user fixed this.
3
Share Improve this answer Follow edited Aug 8, 2015 at 22:58 answered Aug 8, 2015 at 7:05
Deca
46 2
DEP0700: Registration of the app failed For me the error DEP0700: Registration of the app failed,
was raised because my Store App was installed from the actual Microsoft Store. I had to uninstall
3 it and then I could debug my app smoothly.
I got this when I tried to run the project from a ReFS filesystem. Running from NTFS worked. My
error code was 0x80073cfd.
1
Share Improve this answer Follow answered Jun 3, 2016 at 6:38
Austin
2,870 1 19 15
This is quite ridiculous. Spent few hours fighting this problem, won't know ReFS don't work until I see this
post. Microsoft definitely needs much better error reporting. – Sakamoto Poteko Apr 18, 2019 at 11:35
I stumbled over the same issue today and after a few hours I found out, that the problem was
because I moved the AppIcon files into a subfolder and forgot to adjust the references inside my
0 package.appxmanifest. Unfortunatly the corresponding error message didn't point into this
direction and all the above mentioned solutions didn't help for me, so hopefully this helps
someone else!
Share Improve this answer Follow answered Apr 15, 2019 at 13:22
https://stackoverflow.com/questions/31889514/error-registration-of-the-app-failed 4/6
12/11/24, 5:23 PM windows - Error: Registration of the app failed - Stack Overflow
DirtyNative
2,824 2 36 62
In my case, I was opening one of the App files (Log Files). When deploying, Visual Studio
attempts to remove all the files and packages (if uninstall is on in the properties). It was unable to
0 remove the Log file as it was opened. When I closed all files, and tried again, it worked.
I ran into this error when testing some code in domain-bound and non-domain-bound scenarios
(which requires me to have a domain account and a non-domain account on the same machine).
0
I found that I had to uninstall the application from the account I originally deployed it from
before I could deploy it again on the other account.
My problem is that there is another Microsoft account in my computer that installed the app
from Microsoft Store.
0
Nothing from the provided solution helped. The only thing that solved my problem is to delete
that account that I installed the app there.
SQLlite database might be opened. Just close the sqllite and try to deploy again.
0 Share Improve this answer Follow answered Jul 12, 2021 at 10:33
Sumanth Rakesh
21 3
https://stackoverflow.com/questions/31889514/error-registration-of-the-app-failed 5/6
12/11/24, 5:23 PM windows - Error: Registration of the app failed - Stack Overflow
Miccrosoft says "Closed - Not a Bug". It IS BUG, either in documentation or in message wording.
0
It should say exactly what the reason of failure is. May also be different reasons for the same
error, so the message should be precise in each case. Anyway, I have only changed build output
keeping source code on shared folder and it works.
Share Improve this answer Follow answered Dec 15, 2023 at 11:55
Alt-WN
131 1 6
If you’re working on a .NET MAUI project with a shared folder on Windows, you might find this
solution helpful. To change the build path, follow these steps:
0
1. Right-click on your project and select Properties.
2. Go to the Build section.
3. Click on Output.
4. Change the output path to your desired local directory.
This adjustment can resolve issues related to shared folders in your project.
I got this issue when trying to build an open-source repo from Microsoft via Visual Studio 2022.
The solution was to open Visual Studio 2022 (not the installer) as Admininistrator. You will
0 see ADMIN in the top-right indicating it is running with elevated priviliges.
https://stackoverflow.com/questions/31889514/error-registration-of-the-app-failed 6/6