C
C#3w ago
Metalkon

My MAUI app breaks when I publish it, cannot run the project in the debugger anymore in VS.

When i publish my .net maui it completely breaks my ability to use the project anymore in visual studio, i've spent days trying to solve this issue last week resorting to resetting my operating system to "fix" it and now I have the problem again when I tried to publish. Here's the order of things that happened: 1) I published a working app, using the microsoft store options (got a new developer account and i'm still unfamiliar with certs). 2) After going through the process where the installer was made and it did some checks on the project, I started trying to fill things out on the microsoft store. 3) Before finishing any of that I tested the app again and my project will not run in debug mode on visual studio no matter what I do, but if I ran the already installed app (debugger installs it to apps) it was running. 4) I then started trying things out again with a different application id, package name, and other stuff and it still wont run.. but now I have multiple installations of the app in my app dropdown folder on the start menu and they don't run, and they won't let me uninstall them (though one of them gets the blue popup, others do/show nothing). 5) I am now juggling with appid/packagename/etc trying to get it to work, but every time it works, it breaks again afterwards which is how i'm getting multiple broken installations. 6) The app works fine if I run it in android emulator, this is a windows specific problem. https://github.com/Metalkon/Tellarknight-App
No description
182 Replies
Metalkon
MetalkonOP3w ago
Now for last week when I first had this issue, I was getting assistance with someone in a help thread and was never able to get it solved after several days of attempting to reinstall visual studio, restarting pc, deleting all app files (even packages) through power shell and other methods (could never find it or do anything about it), repairing visual studio, and whatever I could think of to remove it but nothing happened. The only thing that worked was literally reinstalling windows (nuclear/amputation solution that i don't want to keep doing) I am completely lost on what to do and I appreciate anyone who offers to help, i'm hoping someone could hlep me. I would even be open to streaming everything while being assisted.
ero
ero3w ago
you should either concact microsoft more directly (maybe report an issue from within vs), or perhaps the https://discord.com/channels/732297728826277939/732297916680765551 channel in $dotnetevolution can help
Metalkon
MetalkonOP3w ago
the first time this happened it was with sideloading so likely unrelated
ero
ero3w ago
unrelated to what? what about it? i made no mention of it
Metalkon
MetalkonOP3w ago
mb was half asleep misread ya
leowest
leowest3w ago
@Metalkon are u still having a problem or what is the story, did it fix after the window resinstall?
leowest
leowest3w ago
No description
Metalkon
MetalkonOP3w ago
the windows reset worked the frist time i had this problem last week, but this is my second time getting the problem and fixing it by resetting windows is not really a good solution.. something about publishing it caused the issue
leowest
leowest3w ago
you removed windows from your csproj target and you also did not upload to github your publish options can u upload those
Metalkon
MetalkonOP3w ago
this all what you need? It's from the original clone that i used to publish with
leowest
leowest3w ago
I mean the pubxml file and either use $paste or github if possible
MODiX
MODiX3w ago
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
leowest
leowest3w ago
or did u publish via dotnet cli? if so I would need the switch u used
Metalkon
MetalkonOP3w ago
cannot find a pubxml/pub.xml Last time before i had to reset windows operating system I tried to do sideloading without really doing anything cert related, and it broke everything the same way as now. This time I attmpted microsoft store sec I reserved a name through ms store, selected it in publish on visual studio, it did a scan, and i saved the msix file.
leowest
leowest3w ago
can you update the github to the version you are atempting that is failing then? because u have no windows target so I can give it a look
Metalkon
MetalkonOP3w ago
GitHub
GitHub - Metalkon/Tellarknight-App at test-branch
Desktop & Mobile app built for the Tellarknight community for the Yu-Gi-Oh card game, using .NET8 MAUI Blazor. - GitHub - Metalkon/Tellarknight-App at test-branch
leowest
leowest3w ago
side loading worked just fine are u having issues just with pushing it to the store now? u might also want to install this if u havent yet which fixed a few deploying issues with it https://aka.ms/windowsappsdk/1.6/latest/windowsappruntimeinstall-x64.exe that is 1.63 @Metalkon
Metalkon
MetalkonOP3w ago
i cannot run the app in the debugger within visual studio after attempting to publish, and the versions that i installed previously are broken as well. In the past the only way to get around this other than a reset was to change my application id and such. basically cannot run debugger or install because previous app of same name exists, and cannot get rid of previous app. i can stream for you if you want to see how it plays out in the voice channels
leowest
leowest3w ago
let me give that a try I did not try running/ installing it OK no sure if that was the same issue u had the only issue I got while trying to run in debug was
DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(34,27): error 0x80070002: Cannot install or update package because the splash screen image
which was very random because the file exists and is properly setup so I went in the Package.appxmanifest wizard and made it create a new splash then killed all msbuilds that were running if any then rebuild then run and it went thru
Metalkon
MetalkonOP3w ago
different DEP error but ill try to do what you did
No description
leowest
leowest3w ago
and u paste the full error for me
Metalkon
MetalkonOP3w ago
DEP0900: Failed to unregister application "TellarknightStatisticsApp_1.0.0.0_x64__9zz4h110yvjzm". [0x80073CFA]
leowest
leowest3w ago
and if u just do rebuild but before u do so open task manager and kill all msbuild u find there
Metalkon
MetalkonOP3w ago
is this what you messed with?
No description
leowest
leowest3w ago
yeah but if the error is different lets try fixing it without that first
Metalkon
MetalkonOP3w ago
k
leowest
leowest3w ago
let me know when u do these and what is the result of the build also u did install the link above right?
Metalkon
MetalkonOP3w ago
yes but no change
leowest
leowest3w ago
👆
Metalkon
MetalkonOP3w ago
im currently reading this atm https://github.com/dotnet/maui/issues/25832
GitHub
After updating Windows 10, Windows can no longer manage any appx pa...
.NET MAUI Team notes This issue isn't related to .NET MAUI or .NET9. You can follow the WinUI issue here Workaround posted here microsoft/WindowsAppSDK#4881 (comment) One thing to clarify here ...
leowest
leowest3w ago
ok but when u did, did u confirm it installed succcessfully? for me I had to run it twice
Metalkon
MetalkonOP3w ago
when i first used it it went on for longer and then closed but now it only shows this for 2sec before closing
No description
leowest
leowest3w ago
just run it from prompt so u can read the result or powershell
Metalkon
MetalkonOP3w ago
im a total noob at powershell
leowest
leowest3w ago
No description
leowest
leowest3w ago
cd into the folder where it is then just type its name and hit enter u should see something like
Installing license: MSIX_MAINPACKAGE_LICENSE
Install License result : 0x0
Installing license: MSIX_SINGLETONPACKAGE_LICENSE
Install License result : 0x0
All install operations successful.
Installing license: MSIX_MAINPACKAGE_LICENSE
Install License result : 0x0
Installing license: MSIX_SINGLETONPACKAGE_LICENSE
Install License result : 0x0
All install operations successful.
Metalkon
MetalkonOP3w ago
ill be honest, i don't know what you mean i have zero experience with powershlel or command stuff
leowest
leowest3w ago
go to windows menu search type prompt
leowest
leowest3w ago
u should see this
No description
leowest
leowest3w ago
now let's say windowsappruntimeinstall-x64.exe is in your desktop so all u need to do is cd Desktop [ENTER] windowsappruntimeinstall-x64.exe [ENTER] done
Metalkon
MetalkonOP3w ago
No description
leowest
leowest3w ago
now back to your app
leowest
leowest3w ago
No description
leowest
leowest3w ago
disable deploy save rebuild if it succeed then reenable deploy then F5 make sure u killed all msbuild on task manager before u do that (u know how to do this right?)
Metalkon
MetalkonOP3w ago
couldnt find any msbuilds in task manager ahh found them in details disabled deploy
leowest
leowest3w ago
I just go Users and look it up there by pressing m
leowest
leowest3w ago
No description
leowest
leowest3w ago
then u should get something like
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
========== Rebuild completed at 03:18 and took 24,809 seconds ==========
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
========== Rebuild completed at 03:18 and took 24,809 seconds ==========
Metalkon
MetalkonOP3w ago
got this popup
No description
Metalkon
MetalkonOP3w ago
2>------ Skipped Deploy: Project: TellarknightApp, Configuration: Debug Any CPU ------ 2>Project not selected to build for this solution configuration ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== ========== Build completed at 2:19 AM and took 22.674 seconds ========== ========== Deploy: 0 succeeded, 0 failed, 1 skipped ========== ========== Deploy completed at 2:19 AM and took 22.674 seconds ==========
leowest
leowest3w ago
so you build it was ok then u enabled deploy again? or at what step u got that
Metalkon
MetalkonOP3w ago
with deployed disabled i got that
leowest
leowest3w ago
build != run / f5
Metalkon
MetalkonOP3w ago
trying with enabled now
leowest
leowest3w ago
No description
Metalkon
MetalkonOP3w ago
that popup again
DEP0900: Failed to unregister application "TellarknightStatisticsApp_1.0.0.0_x64__9zz4h110yvjzm". [0x80073CFA]
DEP0900: Failed to unregister application "TellarknightStatisticsApp_1.0.0.0_x64__9zz4h110yvjzm". [0x80073CFA]
leowest
leowest3w ago
I am unsure if u just did build or if u actually run the app
Metalkon
MetalkonOP3w ago
apparently it may be windows 10 related based on part of what i saw in that post
leowest
leowest3w ago
im on windows 10 and its building and running can you close visual studio
Metalkon
MetalkonOP3w ago
No description
Metalkon
MetalkonOP3w ago
im in vc if ya wanna watch my screen
leowest
leowest3w ago
I can watch but no mic or sound where I am right now
leowest
leowest3w ago
k watching ok so disable deploy
Metalkon
MetalkonOP3w ago
getting that error popup earleir than before
leowest
leowest3w ago
then right click your project then rebuild also before we do that close your app and delete .vs bin and obj
Metalkon
MetalkonOP3w ago
k
leowest
leowest3w ago
dont cancle just wait :kekw: k nvm
Metalkon
MetalkonOP3w ago
lol
leowest
leowest3w ago
video is like about 2 minutes delay so
Metalkon
MetalkonOP3w ago
oof
leowest
leowest3w ago
can u leave discord open so I can see how much delay we are having 1 25 seconds delay to be precise ok so now disable deploy then right click project nad rebuild
Metalkon
MetalkonOP3w ago
Assets file 'D:\Developer\Projects\Tellarknight-App\TellarknightApp\obj\project.assets.json' doesn't have a target for 'net8.0-android'. Ensure that restore has run and that you have included 'net8.0-android' in the TargetFrameworks for your project. Assets file 'D:\Developer\Projects\Tellarknight-App\TellarknightApp\obj\project.assets.json' doesn't have a target for 'net8.0-maccatalyst'. Ensure that restore has run and that you have included 'net8.0-maccatalyst' in the TargetFrameworks for your project. Assets file 'D:\Developer\Projects\Tellarknight-App\TellarknightApp\obj\project.assets.json' doesn't have a target for 'net8.0-windows10.0.19041.0'. Ensure that restore has run and that you have included 'net8.0-windows10.0.19041.0' in the TargetFrameworks for your project.
leowest
leowest3w ago
ok good try doing rebuild again
Metalkon
MetalkonOP3w ago
same thing
leowest
leowest3w ago
ok so lets change your csproj a lil bit
Metalkon
MetalkonOP3w ago
using the master branch atm
leowest
leowest3w ago
at the top under TargetFrameworks add
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
and remove it from down there I think its inside a propertygroup let me chck lines on the github
Metalkon
MetalkonOP3w ago
GitHub
Tellarknight-App/TellarknightApp/TellarknightApp.csproj at master ·...
Desktop & Mobile app built for the Tellarknight community for the Yu-Gi-Oh card game, using .NET8 MAUI Blazor. - Metalkon/Tellarknight-App
leowest
leowest3w ago
line 70 u remove and move it to where I said above
Metalkon
MetalkonOP3w ago
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateThumbprint>4B2FBC88D63F63DB187FB9DDDF31524EAB0AB820</PackageCertificateThumbprint>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
<DefaultLanguage>en-ca</DefaultLanguage>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateThumbprint>4B2FBC88D63F63DB187FB9DDDF31524EAB0AB820</PackageCertificateThumbprint>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
<DefaultLanguage>en-ca</DefaultLanguage>
</PropertyGroup>
leowest
leowest3w ago
U just move this
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
the rest stays where it was
Metalkon
MetalkonOP3w ago
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
leowest
leowest3w ago
will look like this
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks>net8.0-maccatalyst;net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
and on ApplicationDisplayVersion add a .0
leowest
leowest3w ago
No description
leowest
leowest3w ago
line 30 now should be 31 I guess
Metalkon
MetalkonOP3w ago
👍
leowest
leowest3w ago
save, kill any msbuilds on task manager and rebuild
Metalkon
MetalkonOP3w ago
got those same errors Assets file 'D:\Developer\Projects\Tellarknight-App\TellarknightApp\obj\project.assets.json' doesn't have a target for 'net8.0-android'. Ensure that restore has run and that you have included 'net8.0-android' in the TargetFrameworks for your project.Assets file 'D:\Developer\Projects\Tellarknight-App\TellarknightApp\obj\project.assets.json' doesn't have a target for 'net8.0-maccatalyst'. Ensure that restore has run and that you have included 'net8.0-maccatalyst' in the TargetFrameworks for your project.Assets file 'D:\Developer\Projects\Tellarknight-App\TellarknightApp\obj\project.assets.json' doesn't have a target for 'net8.0-windows10.0.19041.0'. Ensure that restore has run and that you have included 'net8.0-windows10.0.19041.0' in the TargetFrameworks for your project.
leowest
leowest3w ago
delete the bin/ obj folder
Metalkon
MetalkonOP3w ago
k ill delet eit again
leowest
leowest3w ago
at least we have a new error now 😉
Metalkon
MetalkonOP3w ago
no change
leowest
leowest3w ago
lets try a publish then right click project then publish
Metalkon
MetalkonOP3w ago
sideload?
leowest
leowest3w ago
can skip cert or nvm if u have one use it
Metalkon
MetalkonOP3w ago
No description
leowest
leowest3w ago
by the way u dont need to open paint u can just hold windows key + shift + S and it will let u take a snashot of the screen then u can just CTRL+V on discord
Metalkon
MetalkonOP3w ago
interesting lol
No description
Metalkon
MetalkonOP3w ago
wonder if that cna be shortened like shift print screen w/e
leowest
leowest3w ago
ok interesting publish works try rebuild now close all msbuilds first print screen works too but it takes the whole screen if u use an app like sharex for example then yes u can customize the keys
Metalkon
MetalkonOP3w ago
same 3 errors ill try to install the msix App installation failed with error message: Install failed. Please contact your software vendor. (0x80073cf9)
leowest
leowest3w ago
weird can u go to package manager tab at the bottom
Metalkon
MetalkonOP3w ago
install second time worked
leowest
leowest3w ago
yep progress 😉
Metalkon
MetalkonOP3w ago
i now have 4 versions of the app installed, 3 are broken
No description
Metalkon
MetalkonOP3w ago
sometimes installer works, sometimes it doesnt
leowest
leowest3w ago
ok so now
Metalkon
MetalkonOP3w ago
literally cannot remove them lol or run them
leowest
leowest3w ago
yeah u will have to remove them from powershell dunno how to thou because I dont use msstore anyway let me see your visual studio
Metalkon
MetalkonOP3w ago
last week i tried powershell removal for hours with hlep from someone and didn't get any results
leowest
leowest3w ago
then manual removal I guess
Metalkon
MetalkonOP3w ago
didnt work either even tried registry lol
leowest
leowest3w ago
👆 View > Other windows > Package Manager Console then dotnet restore
Metalkon
MetalkonOP3w ago
and dotnet build right
leowest
leowest3w ago
on the window no just dotnet restore on the window at hte bottom
Metalkon
MetalkonOP3w ago
PM> dotnet restore Determining projects to restore... Restored D:\Developer\Projects\Tellarknight-App\TellarknightApp\TellarknightApp.csproj (in 1.94 sec). PM>
leowest
leowest3w ago
ok now try rebuild on the project folder not the console
Metalkon
MetalkonOP3w ago
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== ========== Rebuild completed at 3:11 AM and took 01:34.131 minutes ==========
leowest
leowest3w ago
hey hey now enable deploy then F5 yt loading ended ok its back
Metalkon
MetalkonOP3w ago
Internet went out
leowest
leowest3w ago
mmm wait think i need a new link
Metalkon
MetalkonOP3w ago
No description
leowest
leowest3w ago
make sure no msbuilds on task manager then yes
Metalkon
MetalkonOP3w ago
This popup is usually before the deploy one stream should be back up, internet is back starlink connection dropped out for a few mins, sometimes happens like this around this time of night
leowest
leowest3w ago
the link is playing something old think u need to give me a new one
leowest
leowest3w ago
ok so back to business kill all msbuilds and hit yes on the popup
Metalkon
MetalkonOP3w ago
No description
Metalkon
MetalkonOP3w ago
DEP0900: Failed to unregister application "TellarknightStatisticsApp_1.0.0.0_x64__9zz4h110yvjzm". [0x80073CFA]
DEP0900: Failed to unregister application "TellarknightStatisticsApp_1.0.0.0_x64__9zz4h110yvjzm". [0x80073CFA]
the original error
leowest
leowest3w ago
ok fudge can u go to windows > settings > apps and see if your app is on the list
Metalkon
MetalkonOP3w ago
No description
leowest
leowest3w ago
can u show on screen no go on Settings WINDOWS > SETTINGS > APPS
leowest
leowest3w ago
No description
leowest
leowest3w ago
yes there we go
Metalkon
MetalkonOP3w ago
No description
leowest
leowest3w ago
try uninstalling it there everything
Metalkon
MetalkonOP3w ago
cant
leowest
leowest3w ago
mmm ok lets try from powershell
Metalkon
MetalkonOP3w ago
not evne the one that works
leowest
leowest3w ago
open powershell as admin try
Get-AppxPackage TellarknightApp | Remove-AppxPackage
Get-AppxPackage TellarknightApp | Remove-AppxPackage
now just Get-AppxPackage TellarknightApp mmm
Get-AppxPackage *Tellar*
Get-AppxPackage *Tellar*
without the \ my bad I codified it and it added the \
Metalkon
MetalkonOP3w ago
habbits eh lol
leowest
leowest3w ago
ok progress can u copy paste that here
leowest
leowest3w ago
Remove-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj
Remove-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj
Metalkon
MetalkonOP3w ago
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
NOTE: For additional information, look for [ActivityId] 47eb514b-3c8c-0002-f3ce-f6478c3cdb01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 47eb514b-3c8c-0002-f3ce-f6478c3cdb01
At line:1 char:1
+ Remove-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0n ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (TellarknightSta...__h37gyvpph0nvj:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
NOTE: For additional information, look for [ActivityId] 47eb514b-3c8c-0002-f3ce-f6478c3cdb01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 47eb514b-3c8c-0002-f3ce-f6478c3cdb01
At line:1 char:1
+ Remove-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0n ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (TellarknightSta...__h37gyvpph0nvj:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
leowest
leowest3w ago
same thing but add -force
Metalkon
MetalkonOP3w ago
PS C:\WINDOWS\system32> Remove-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj -force
Remove-AppxPackage : A parameter cannot be found that matches parameter name 'force'.
At line:1 char:73
+ ... pxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj -force
+ ~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-AppxPackage], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageC
ommand

PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Remove-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj -force
Remove-AppxPackage : A parameter cannot be found that matches parameter name 'force'.
At line:1 char:73
+ ... pxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj -force
+ ~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-AppxPackage], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageC
ommand

PS C:\WINDOWS\system32>
leowest
leowest3w ago
instead of Remove-AppxPackage try Uninstall-Package
Metalkon
MetalkonOP3w ago
PS C:\WINDOWS\system32> Uninstall-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj
Uninstall-AppxPackage : The term 'Uninstall-AppxPackage' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ Uninstall-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpp ...
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Uninstall-AppxPackage:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Uninstall-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj
Uninstall-AppxPackage : The term 'Uninstall-AppxPackage' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ Uninstall-AppxPackage TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpp ...
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Uninstall-AppxPackage:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Uninstall-Package TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj

The provider 'nuget v2.8.5.208' is not installed.
nuget may be manually downloaded from
https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetProvider-2.8.5.208.dll and installed.
Would you like PackageManagement to automatically download and install 'nuget' now?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
PS C:\WINDOWS\system32> Uninstall-Package TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj

The provider 'nuget v2.8.5.208' is not installed.
nuget may be manually downloaded from
https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetProvider-2.8.5.208.dll and installed.
Would you like PackageManagement to automatically download and install 'nuget' now?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
leowest
leowest3w ago
wth I mean sure install nuget
Metalkon
MetalkonOP3w ago
🤷
Metalkon
MetalkonOP3w ago
No description
Metalkon
MetalkonOP3w ago
No description
leowest
leowest3w ago
Get-AppPackageLog -ActivityID 47eb514b-3c8c-0002-f3ce-f6478c3cdb01 lets see what it says from the one u tried that worked but failed can u paste the ms link
Metalkon
MetalkonOP3w ago
PS C:\WINDOWS\system32> Get-AppPackageLog -ActivityID 47eb514b-3c8c-0002-f3ce-f6478c3cdb01

Time ID Message
---- -- -------
2024-11-22 3:31:17 AM 603 Started deployment Remove operation on a package with main parameter
TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
2024-11-22 3:31:17 AM 602 Identified 1 request(s) in the Queue Store for potential restoration.
2024-11-22 3:31:17 AM 10002 Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\027fc938
-27b1-42ca-a208-f8bb0045630a_S-1-5-21-3238447070-3264189339-3960179343-1001_1.rs
lc for Remove Operation on Package
TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj.


PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Get-AppPackageLog -ActivityID 47eb514b-3c8c-0002-f3ce-f6478c3cdb01

Time ID Message
---- -- -------
2024-11-22 3:31:17 AM 603 Started deployment Remove operation on a package with main parameter
TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
2024-11-22 3:31:17 AM 602 Identified 1 request(s) in the Queue Store for potential restoration.
2024-11-22 3:31:17 AM 10002 Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\027fc938
-27b1-42ca-a208-f8bb0045630a_S-1-5-21-3238447070-3264189339-3960179343-1001_1.rs
lc for Remove Operation on Package
TellarknightStatisticsApp_1.0.0.0_x64__h37gyvpph0nvj.


PS C:\WINDOWS\system32>
leowest
leowest3w ago
No description
leowest
leowest3w ago
have u tried doing that?
Metalkon
MetalkonOP3w ago
not yet only registry stuff i tried last week was removing the app stuff
leowest
leowest3w ago
well its for the app stuff
Metalkon
MetalkonOP3w ago
specifically with its name
leowest
leowest3w ago
u will need the ids from there PackageFullName most likely then go key by key modifying it if they exist once u find the PackageList right click it and export so u have a backup before u modify anything reboot then try uninstalling again
Metalkon
MetalkonOP3w ago
set package value to 0 on both
leowest
leowest3w ago
if that doesnt work I will suggest u try asking on $mauitoolkit
leowest
leowest3w ago
as they might be able to better assist u with the issue as its more dedicated to MAUI in there.
Metalkon
MetalkonOP3w ago
all of them still cannot uninstall
No description
leowest
leowest3w ago
none?
Metalkon
MetalkonOP3w ago
all same result some instant popup, some popup after attempting for 5sec
leowest
leowest3w ago
what if u try to change the package name on the Package.appxmanifest last tab called packaging change Metalkon.730D31F4F62 to something else say Metalkon.730D31F4F73
Metalkon
MetalkonOP3w ago
i think i'd just end up with a 5th installation that way
leowest
leowest3w ago
yes that is what it would happen but it would be manageable by visual studio so long as u dont run the installtion from the publish package
Metalkon
MetalkonOP3w ago
so publish but don't install that
leowest
leowest3w ago
so it technically should let u run in debug yes publish but dont install the publish msix just run it from visual studio
Metalkon
MetalkonOP3w ago
starting stream back up
leowest
leowest3w ago
I guess its ok dont need stream anymore u know the steps now did it work?
Metalkon
MetalkonOP3w ago
didnt work but i found a solution!
Metalkon
MetalkonOP3w ago
GitHub
After updating Windows 10, Windows can no longer manage any appx pa...
I just updated Visual Studio to 17.13.0 Preview 1 and Windows to 19045.5131. Now Visual Studio can no longer deploy WinUI 3 apps, I can't uninstall any apps, the Microsoft Store can't updat...
Metalkon
MetalkonOP3w ago
was a problem with windows windowsappsdk managed to delete all of the tellar apps
leowest
leowest3w ago
good to know $close
MODiX
MODiX3w ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server