admin管理员组

文章数量:1388160

Does anyone know how to use the Microsoft.Windows.Management.Deployment methods in c# 8. I've added the Windows App SDK reference, and my IDE then recognises the class/methods, however it gives me a "Class not registered (0x80040154(REGDB_E_CLASSNOTREG))" error when I try to use anything in this api. I'm aware that the Windows.Management.Deployment api which offers similar but less functionality also gives an error like this if the AppInstaller app isn't installed properly, so I'm guessing I'm either missing another reference or need something else installed, but I've been unable to find any documentation that explains what is it I'm missing. Hoping someone on here knows?

本文标签: cHow to use MicrosoftWindowsManagementDeploymentStack Overflow