在 windows 10 中安装 vs 2005

Install vs 2005 in windows 10

我想在我的 windows 10 PC 上安装 vs 2005。我从我的电脑上卸载了以下内容:

  1. 对比 2015 年
  2. 对比 2017 年
  3. SSMS 2017

现在,当我尝试安装 vs 2005 时,出现错误:

"A problem has been encountered while loading the setup components. Canceling setup".

错误日志:

[04/26/20,00:09:41] MSITOSIT: [2] CRootComponent::SetManager() - MsiGetActiveDatabase returned an invalid handle
[04/26/20,00:09:41] MSITOSIT: [2] ERROR processed; exception was thrown for retail build
    Developer Comment:  MsiGetActiveDatabase returned an invalid handle
    Build Time:  Thu Dec 11 15:04:18 2003
    DWORD:  0
[04/26/20,00:09:41] setup.exe: [2] ISetupModule::SetManager() failed in ISetupManager::LoadSetupObjectGuid() : vs_setup.dll
[04/26/20,00:09:42] setup.exe: [2] CSetupManager::LoadSetupObjectname() - Failed in call to LoadSetupObjectGuid() for strName:  in file: vs_setup.dll
[04/26/20,00:09:42] setup.exe: [0] LoadComponent(), LoadSetupObjectName failure: vs_setup.dll
[04/26/20,00:09:42] setup.exe: [0] LoadComponent failed in ISetupManager::LoadComponentsFromDBObject(): vs_setup.dll
[04/26/20,00:09:42] setup.exe: [2] CSetupManager::LoadDatabaseValues() - Failed in call to LoadComponentsFroMDBObjects()
[04/26/20,00:09:42] setup.exe: [2] CSetupManager::RunIntro() - Failed to Load Database Values
[04/26/20,00:09:43] setup.exe: [2] CSetupManager::RunLoadSetup() - Failed to Run the Intro

如果以前有人遇到过这个问题,能否请您告诉我解决方案。

我刚刚格式化了我的电脑并安装了 vs 2005。安装没有任何问题。

您需要安装运行 VSS 20O5 的旧版 .NET Framework...

In 打开或关闭 Windows 功能。勾选列表中名为 .NET Framework 3.5(包括 .NET 2.0 和 3.0)的第一个。重新启动然后安装 VSS 2005