How to fix DEP0900: Failed to unregister application

TazKing 85 Reputation points
2024-11-15T08:16:53.1033333+00:00

I successfully updated a maui app to net9. The upgrade consisted of simply changing the net8 references in the csproj file. The app ran well but noticed some new control issues. Tried to downgrade the app back to net8 by changing the csproj references back to net8. I can clean and build the app with no errors. But, when debugging it, I get the errors below.

Screenshot 2024-11-14 231926

Screenshot 2024-11-14 231949

I've tried to uninstall the app through "Programs and Features" and I've tried Powershell RemoveApp. I beleie that's the issue. Is there another way to unregister this app such as deleting some of the builds?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,714 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. TazKing 85 Reputation points
    2024-11-15T19:22:36.4966667+00:00

    This appears to be a much bigger problem associated with Windows 10 and latest updates. https://github.com/dotnet/maui/issues/25832


  2. dan 0 Reputation points
    2024-11-25T00:39:46.67+00:00

    I am getting the same error message.

    When I open a new blank MAUI project, give it a name and then try to run it, it fails.

    I have not modified the default code in any way.

    At the bottom of the screen the message ... 'deploy started' ... is displayed. This changes to ... 'Deploy succeeded' ... and the error pop-up appears.

    configuration manager has deploy checked.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.