问题描述
我安装了Visual Studio Community Edition 2017并注意到Debuggable Package Manager不起作用。我正在运行Windows 7企业版[64位]。我也成功安装了WindowsPowerShell 3.0。命令提示符返回以下
错误 ...
I installed Visual Studio Community Edition 2017 and noticed the Debuggable Package Manager does not work. I am running Windows 7 Enterprise Edition [64 Bit]. I have also successfully installed WindowsPowerShell 3.0. The command prompt returns the following error ...
导入模块:未加载指定的模块"Appx",因为在任何模块目录中找不到有效的模块文件。
Import-Module : The specified module 'Appx' was not loaded because not valid module file was found in any module directory.
Show-Appxdebug:AppxDebug需要Windows 8或更高版本。
Show-Appxdebug : AppxDebug requires Windows 8 or later.
命令提示符具有以下命令:
The command prompt has the following command:
C:\ Windows \ SysWOW64 \ WindowsPowerShell \v1.0 \ mightowhell.exe -NoExit -Command"& {Import-Module Appx; Import-Module。\ AppxDebug.dll; Show-AppxDebug}"
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -NoExit -Command "& { Import-Module Appx; Import-Module .\AppxDebug.dll; Show-AppxDebug}"
无论如何在没有升级到Windows 8的情况下解决此问题吗?
Is there anyway to fix this without upgrading to Windows 8?
Bruce
推荐答案
感谢您在MSDN论坛上发帖。
Thank you for posting in MSDN forum.
解决此问题的唯一方法是升级系统。
The only way to solve this issue is upgrading the system.
请参阅
系统要求 ,
,如果你坚持使用缺少某些系统dll或程序集的Win7, AppxDebug无法正常运行。
Please see the System Requirements,Platform Targeting and Compatibility, if you insists on using Win7, which lacks of some system dlls or assemblies, that the AppxDebug can't run properly.
如果项目开发需要Appxdebug,则需要备份所有重要文件,然后升级到Win 8或更高版本,它将也为您提供更好,更干净的环境。
If the Appxdebug is necessary for your project development, you need to back up all your important files, then upgrade to Win 8 or later version, It will also provide you a much better and clean environment.
感谢您的理解。
最好的问候,
这篇关于可调试的包管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!