PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Unable to import WinGet Command Not Found Module

Open StevenBucher98 opened this issue 1 year ago • 2 comments

Microsoft PowerToys version

0.77.0

Installation method

Microsoft Store

Running as admin

No

Area(s) with issue?

General

Steps to reproduce

Try to import the WinGet Command not found module Import-module 'C:\Program Files\PowerToys\WinGetCommandNotFound.psd1'

✔️ Expected Behavior

Module is imported successfully

❌ Actual Behavior

Error message: Import-Module: Could not load file or assembly 'PowerToys.ManagedTelemetry, Version=0.77.0.0, Culture=neutral, PublicKeyToken=null'. Uncaught exception during type initialization. (0x80131534) image

Other Software

PowerShell 7.4.1 Windows Terminal Windows ARM64 VM

StevenBucher98 avatar Jan 17 '24 21:01 StevenBucher98

cc @crutkas

StevenBucher98 avatar Jan 17 '24 21:01 StevenBucher98

I’m gonna bet this is due to the arm build being an msix.

crutkas avatar Jan 18 '24 02:01 crutkas