Skip to content
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

Unable to find type [System.Windows.Forms.DialogResult] #191

Open
gqqnbig opened this issue Dec 8, 2024 · 0 comments
Open

Unable to find type [System.Windows.Forms.DialogResult] #191

gqqnbig opened this issue Dec 8, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@gqqnbig
Copy link

gqqnbig commented Dec 8, 2024

Describe the Bug

Because https://github.com/LeDragoX/Win-Debloat-Tools#cli-version-straight-to-debloat says scripts can run individully, I run src\scripts\Remove-Xbox.ps1.

My powershell reports error:

Unable to find type [System.Windows.Forms.DialogResult].
At D:\Win-Debloat-Tools\src\lib\ui\Show-MessageDialog.psm1:28 char:17
+     [OutputType([System.Windows.Forms.DialogResult])]
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Windows.Forms.DialogResult:TypeName) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound

How to fix it?

Note, this is a brand new Windows 10.

How can this issue be reproduced?

consistent on my machine

Expected behavior?

No response

Operating System

Windows 10

Operating System Version

22H2

Logs

No response

@gqqnbig gqqnbig added the Bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant