为什么.Net Framework 4.7.2“在此操作系统上不支持"?(Windows 10) [英] Why is .Net Framework 4.7.2 "not supported on this operating system"? (Windows 10)

查看:1709
本文介绍了为什么.Net Framework 4.7.2“在此操作系统上不支持"?(Windows 10)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Windows 10计算机上安装.NET 472开发人员包,但出现此错误.

I was trying to install the .NET 472 developer pack on a Windows 10 machine, and got this error.

我已经能够在其他Win10 PC以及Win7上安装它.因此,为什么声称不受支持"并没有任何明显的意义.

I have been able to install this on other Win10 PCs, and also on Win7. So it doesn't make any obvious sense why it claims to be "not supported".

日志中有一些版本检查:

In the log there are some version checks:

捆绑条件评估为false:

Bundle condition evaluated to false:

((VersionNT = v6.1 ANDServicePackLevel> = 1)或(VersionNT = v6.2 AND NOT(OSInstallationType ="Client"))或(VersionNT = v6.3)或
(VersionNT = v10.0 AND OSBuildNumber> = 14393)或(VersionNT>v10.0))

((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR (VersionNT = v6.3) OR
(VersionNT = v10.0 AND OSBuildNumber >= 14393) OR (VersionNT > v10.0))

但这并不能向我明确表明解决该问题所需要做的事情.也许缺少某些Windows更新?

but that doesn't clearly indicate (to me) what I need to do to resolve the problem. Some Windows update is missing, perhaps?

谢谢

Microsoft具有支持页面,其中包含此错误,但没有相关的解决方法:

Microsoft has a support page which includes this error, but there is no pertinent resolution:

此操作系统不支持.NET Framework 4.5 * .x */4.6 * .x */4.7 * .x *:

The .NET Framework 4.5*.x*/4.6*.x*/4.7*.x* is not supported on this operating system:

对于Windows 7上的.NET Framework安装失败... [全部专门针对Win7/对于Win10不适用]


仅供参考,整个日志文件包含:


FYI the entire log file contains:

[1F70:1E7C][2019-01-09T09:48:04]i001: Burn v3.11.0.1701, Windows v10.0 (Build 10240: Service Pack 0), path: C:\Users\abcdef\AppData\Local\Temp\{D35ACDD2-93C0-4D99-BC39-6A30F2822134}\.cr\NDP472-DevPack-ENU.exe
[1F70:1E7C][2019-01-09T09:48:04]i000: Initializing numeric variable 'IgnorePendingReboot' to value '0'
[1F70:1E7C][2019-01-09T09:48:04]i009: Command Line: '-burn.clean.room=C:\Users\abcdef\Downloads\NDP472-DevPack-ENU.exe -burn.filehandle.attached=420 -burn.filehandle.self=428'
[1F70:1E7C][2019-01-09T09:48:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\abcdef\Downloads\NDP472-DevPack-ENU.exe'
[1F70:1E7C][2019-01-09T09:48:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\abcdef\Downloads\'
[1F70:1E7C][2019-01-09T09:48:08]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\abcdef\AppData\Local\Temp\Microsoft_.NET_Framework_4.7.2_Developer_Pack_20190109094808.log'
[1F70:1E7C][2019-01-09T09:48:08]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET Framework 4.7.2 Developer Pack'
[1F70:1E7C][2019-01-09T09:48:08]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[1F70:1DA0][2019-01-09T09:48:08]i000: Setting version variable 'WixBundleFileVersion' to value '4.7.3081.0'
[1F70:1E7C][2019-01-09T09:48:10]i100: Detect begin, 5 packages
[1F70:1E7C][2019-01-09T09:48:10]i000: Registry key not found. Key = 'SOFTWARE\Policies\WiX\Burn'
[1F70:1E7C][2019-01-09T09:48:10]i052: Condition 'NOT NetFxBurnPackageCacheDirectory' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'NetFxBurnPackageCacheDirectory' to value 'C:\ProgramData\Package Cache'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'netfxfullrefresh_43_CBSValue' to value '1'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'netfxfullrefresh_43_OS_BuildNumber' to value '10240'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'NetFxFullRefresh_InstalledRelease' to value '393295'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'NetFxFullRefresh_InstalledReleaseExists' to value 1
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'OSBuildNumber' to value '10240'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'OSInstallationType' to value 'Client'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'VS2015GenericBootstrapperInstalled' to value 1
[1F70:1E7C][2019-01-09T09:48:10]i000: File search: wfs7886F3974B7A650CE7C1C92244670750, did not find path: C:\ProgramData\Package Cache\NetFxDevpack_FullRefreshISV_4.7.2_461833\packages\dotnetframework\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'NetFxIsvRefreshIsCached' to value 0
[1F70:1E7C][2019-01-09T09:48:10]i000: File search: wfsB2051303457C358B8576A6E6F250B3C4, did not find path: C:\Users\abcdef\Downloads\\packages\dotnetframework\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'NetFxIsvRefreshExists' to value 0
[1F70:1E7C][2019-01-09T09:48:10]i052: Condition 'NetFxIsvRefreshIsCached AND NetFxFullRefresh_InstalledReleaseExists AND NetFxFullRefresh_InstalledRelease >= 461833' evaluates to false.
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfxfullrefreshisv, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfx_472mtpack.msi, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfx_472mtpacklp.msi, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfxsdk, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfx472_bootstrapper2015.msi, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i052: Condition 'CompatibilityMode = 1' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:11]i052: Condition 'RebootPending = 0 OR IgnorePendingReboot = 1' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:11]i052: Condition 'Privileged' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:11]i052: Condition '((VersionNT = v6.1 AND ServicePackLevel >= 1) OR      (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR      (VersionNT = v6.3) OR      (VersionNT = v10.0 AND OSBuildNumber >= 14393) OR      (VersionNT > v10.0))' evaluates to false.
[1F70:1E7C][2019-01-09T09:48:11]e000: Microsoft .NET Framework 4.7.2 Developer Pack is not supported on this Operating System.
[1F70:1E7C][2019-01-09T09:48:11]e000: Error 0x81f40001: Bundle condition evaluated to false: ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR      (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR      (VersionNT = v6.3) OR      (VersionNT = v10.0 AND OSBuildNumber >= 14393) OR      (VersionNT > v10.0))
[1F70:1E7C][2019-01-09T09:48:11]i199: Detect complete, result: 0x0

推荐答案

此问题显然是因为我的Windows 10特定内部版本很旧,并且确实不支持.

我无法100%确认这一点,因为运行 Windows 10 Updater 在此PC上多次失败(因此我放弃尝试了),但是有几项关键提示表明是这种情况:

I was not able to 100% confirm this, because running the Windows 10 Updater failed multiple times on this PC (and so I gave up trying it) but several key things indicate this is the case:

  • 在PC上构建的Windows 10为 10240

但是在日志中,472安装程序希望OSBuildNumber≥ 14393

But in the log the 472 installer wanted OSBuildNumber ≥ 14393

Windows 10的不同发行版对框架的支持程度不同.我的特定安装可能是早期或预发行版本,因为

Different releases of Windows 10 have different levels of support by the framework. My particular install might have been an early or pre-release, because its version # (1701) is not listed at all on https://support.microsoft.com/en-ca/help/13853/windows-lifecycle-fact-sheet

这篇关于为什么.Net Framework 4.7.2“在此操作系统上不支持"?(Windows 10)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆