Mercurial 并排配置不正确
Mercurial side-by-side configuration is incorrect
我正在尝试安装 运行 x64 Mercurial 3.8.3,但出现以下错误:
D:\Program Files\Mercurial>hg.exe
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
运行 sxstrace.exe
给出以下日志:
=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = D:\Program Files\Mercurial\hg.exe
AssemblyDirectory = D:\Program Files\Mercurial\
Application Config File =
-----------------
INFO: Parsing Manifest File D:\Program Files\Mercurial\hg.exe.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: Find publisher policy at C:\WINDOWS\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_acd40623e1d81331.manifest
INFO: Begin assembly probing.
INFO: End assembly probing.
ERROR: Activation Context generation failed.
End Activation Context Generation.
它似乎在寻找 C:\WINDOWS\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_acd40623e1d81331.manifest
,它在我的计算机上不存在。我认为这个文件来自 Microsoft Visual C++ 2008 Redistributable Package (x64),但是当我 installed/repaired 它时,我仍然得到同样的错误。
我也遇到过这个same package from chocolatey,但是它的版本历史似乎表明它的最新版本是9.0.30729.6161,而不是9.0.30729.9177 我在找。我不确定在哪里可以找到这个版本的软件包。
我已经看过这些问题,这些问题看起来与我的情况非常相似:
- Side by Side configuration is incorrect error
- Visual Studio 2012 Side by side configuration is incorrect
编辑: 我刚刚重新安装了 x86 Mercurial,它可以正常工作。不理想,但至少它是一种解决方法。
Microsoft Visual C++ 2008 Redistributable Package 9.0.30729.9177 似乎没有公开发布,所以我最终重新安装了 Windows。安装后我可以 运行 Mercurial。
我正在尝试安装 运行 x64 Mercurial 3.8.3,但出现以下错误:
D:\Program Files\Mercurial>hg.exe
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
运行 sxstrace.exe
给出以下日志:
=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = D:\Program Files\Mercurial\hg.exe
AssemblyDirectory = D:\Program Files\Mercurial\
Application Config File =
-----------------
INFO: Parsing Manifest File D:\Program Files\Mercurial\hg.exe.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: Find publisher policy at C:\WINDOWS\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_acd40623e1d81331.manifest
INFO: Begin assembly probing.
INFO: End assembly probing.
ERROR: Activation Context generation failed.
End Activation Context Generation.
它似乎在寻找 C:\WINDOWS\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_acd40623e1d81331.manifest
,它在我的计算机上不存在。我认为这个文件来自 Microsoft Visual C++ 2008 Redistributable Package (x64),但是当我 installed/repaired 它时,我仍然得到同样的错误。
我也遇到过这个same package from chocolatey,但是它的版本历史似乎表明它的最新版本是9.0.30729.6161,而不是9.0.30729.9177 我在找。我不确定在哪里可以找到这个版本的软件包。
我已经看过这些问题,这些问题看起来与我的情况非常相似:
- Side by Side configuration is incorrect error
- Visual Studio 2012 Side by side configuration is incorrect
编辑: 我刚刚重新安装了 x86 Mercurial,它可以正常工作。不理想,但至少它是一种解决方法。
Microsoft Visual C++ 2008 Redistributable Package 9.0.30729.9177 似乎没有公开发布,所以我最终重新安装了 Windows。安装后我可以 运行 Mercurial。