尝试运行 Desktop App Converter (Project Centennial) 时收到以下错误:
Assert-RequiredFeatureEnabled: fatal error 1000: required feature is not installed or enabled. Please refer to machine setup instructions.
At C:\Users\%%%\Documents\DesktopAppConverter\converter_util\EnvironmentAssertions.ps1:40 char:9
+ throw "Assert-RequiredFeatureEnabled: fatal error 1000: requi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Assert-Required...p instructions.:String) [], RuntimeException
+ FullyQualifiedErrorId : Assert-RequiredFeatureEnabled: fatal error 1000: required feature is not installed or enabled. Please refer to
machine setup instructions.
相关脚本在 EnvironmentAssertions.ps1 中:
$feature = Get-WindowsOptionalFeature -Online -FeatureName "Containers"
if (!$feature) {
throw "Assert-RequiredFeatureEnabled: fatal error 1000: required feature is not installed or enabled. Please refer to machine setup instructions."
}
我在 Windows 功能中没有发现任何与容器相关的项目。
如何解决此错误?
Windows 10 Pro Insider Preview (build 14316) and Desktop App Converter preview (0.1.8.release_2016-04-05_17-47_5aa8cc)