-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEP0900: Failed to unregister application [0x80073CFA] #25832
Comments
I am experiencing the same problem with the official .NET 9 release - yet the application worked fine on the .NET 9 RC2 release (which I thought was the point of testing with the RC releases ie. to identify any potential issues). Running the application results in: However the Configuration is already set to Deploy: Build / Deploy Solution results in: |
@Transis-Felipe I was able to resolve my problem by modifying PropertyGroup in my *.csproj removing:
adding :
and modifying launchSettings.json to:
I then did a Solution Clean and Solution Rebuild. (I identified these changes after reviewing a new .NET MAUI project that I created in .NET 9) |
Thank you - this seemed to do the trick for me also. However, I still have the version of the app installed before this problem occurred and i cannot remove the package (Powershell: Remove-AppXPackage) or uninstall the app. I tried my project on another "clean" development computer and all is well without your changes, so this points to the "jammed package" being the problem. |
This is happening to us as well. It appears to only be a problem for Windows 10 as far as I can tell, and most likely comes from the latest Windows update as we did not update our Visual Studio Version but it still doesn't allow us to uninstall those packages. |
Can confirm @ehoward0018 message. All our devs with win10 22H2 machines faced with this issue. No problems for devs with win11 23H2 and above. Important note: we did not update our app to .NET9. Potential workaround might be to run System File Checker tool from CMD: sfc /scannow, then restart your machine and debugging will be fixed. |
Same issue. 22H2 and 19060.1000.0. |
I can confirm I am running Windows 10 as well |
@Xo3-ToBapbl |
I did manage to upgrade my project to .net 9. It worked for a while and then got stucked with DEP0900. I cant even uninstall the old maui programs that i still have in my PC using windows remove program feature. I have win 10. |
Same problem here, when i apply this changes i got this error: |
I'm also seeing the same issue for both .NET 8 and .NET 9 on Windows 10. Below is some of my troubleshooting. When attempting to uninstall through settings, we get the following error: When attempting to debug, we get the same error with more details:
Trying to uninstall with AppX powershell module results in the same error:
With the Activity log output returning nothing:
But the event viewer is showing a crash:
The suggested changes from @sbwalker result in the following error when building, though this may be due to legacy settings and other project configurations.
Running
I'm doing some testing with Windows 11, but any other information to fix this on Windows 10 would be extremely helpful. |
I am on Win 10 also and have had the same experience as all of you. I would say Microsoft owes us a fix as MAUI should work on WIN 10. Do we have to report it directly to them? |
Same issue since yesterday. Made me a little mad. On Windows 10 too. So I suspected I broke something by switching on and off from android to windows platform, finally end up saw that it was related with the Microsoft app store, and also removing application from settings failed too, and also with powershell as admin. Trying toubleshooter wizard from Settings for app store. I also decided to uninstall completely Visual Studio, reinstall it, creating a new default MAUI project. I finally tried to edit Package.appxmanifest in Visual Studio : Changing the package Name as I saw on internet maybe the error is related to the name of the package and / or it version detected to be a downgrade (so I increased the version number). I even tryied with a creating a testing certificate (.pfx). But none worked out. |
Just to further confirm it is a win10 related issue. I was lucky to be in my win11 enrollment process, and after upgrading last night I can now build again. |
"Just to further confirm it is a win10 related issue. I was lucky to be in my win11 enrollment process, and after upgrading last night I can now build again." Hi Tobias, |
Description
Can't deploy MAUI projects to windows after upgrade to .net 9
DEP0900: Failed to unregister application "0acbd622-c89e-4564-8e05-7fcba762c402_1.0.0.64_x64__9zz4h110yvjzm". [0x80073CFA]
Steps to Reproduce
Create a project
Build the project
Deploy to Windows Machine (Windows 10 in my case)
Error
Powershell can't also remove the windows store app
Link to public reproduction project repository
No response
Version with bug
9.0.0 GA
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.100 SR10
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: