我正在嘗試安裝VS2010Pro。我之前安裝的是VS2010Ultimate試用版。我試著插入產品密鑰,但它不接受它。如果我試圖通過DVD安裝它,它也不能全部安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明Microsoft Visual Studio 2010 Professional - ENU沒有安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝Microsoft Office Developer Tools(x64)。
[02/21/21,22:42:46] VS70pgui。[2] DepCheck表明Dotfuscator Software Services - Community Edition未被嘗試安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝用于Visual Studio 2010的Crystal Reports模板。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝Microsoft SharePoint Developer Tools。
***EndOfSession***?[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明Microsoft Visual Studio 2010 Professional - ENU沒有安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝Microsoft Office Developer Tools(x64)。
[02/21/21,22:42:46] VS70pgui。[2] DepCheck表明Dotfuscator Software Services - Community Edition未被嘗試安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝用于Visual Studio 2010的Crystal Reports模板。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝Microsoft SharePoint Developer Tools。
[02/22/21,09:56:50] Microsoft Visual Studio 2010 Professional - ENU: [2] ACTION FAILURE:Action ended 09:56:50: ProcessComponents. 回傳值為3.詳見MSI日志。
[02/22/21,09:56:50] Microsoft Visual Studio 2010 Professional - ENU: [2] ACTION FAILURE:Action ended 09:56:50: INSTALL. 回傳值為3.詳見MSI日志。
[02/22/21,09:56:53] setup.exe。[2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
***EndOfSession***?[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明Microsoft Visual Studio 2010 Professional - ENU沒有安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝Microsoft Office Developer Tools(x64)。
[02/21/21,22:42:46] VS70pgui。[2] DepCheck表明Dotfuscator Software Services - Community Edition未被嘗試安裝。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝用于Visual Studio 2010的Crystal Reports模板。
[02/21/21,22:42:46] VS70pgui: [2] DepCheck表明沒有嘗試安裝Microsoft SharePoint Developer Tools。
[02/22/21,09:56:50] Microsoft Visual Studio 2010 Professional - ENU: [2] ACTION FAILURE:Action ended 09:56:50: ProcessComponents. 回傳值為3.詳見MSI日志。
[02/22/21,09:56:50] Microsoft Visual Studio 2010 Professional - ENU: [2] ACTION FAILURE:Action ended 09:56:50: INSTALL. 回傳值為3.詳見MSI日志。
[02/22/21,09:56:53] setup.exe。[2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[02/22/21,10:11:28] VS70pgui。[2] DepCheck表明Microsoft Visual Studio 2010 Professional - ENU沒有安裝。
[02/22/21,10:11:28] VS70pgui: [2] Microsoft SQL Server 2008 R2 Data-Tier Application Project的回傳表明安裝失敗。DepCheck表明該組件已經安裝。
[02/22/21,11:19:15] VS70pgui: [2] Microsoft SQL Server 2008 R2 Data-Tier Application Project的回傳表明安裝失敗。DepCheck表明該組件已經安裝。
在這之后,我試著卸載/重新安裝了幾次。我曾嘗試使用從Visual Studio Subscriptions門戶網站下載的專業版試用版。有了這個版本,安裝時沒有回傳任何錯誤,但最終的結果還是一樣。我試著按照
如果我只是嘗試啟動 VS,它并沒有報告錯誤,只是在加載程序中幾秒鐘后就崩潰了。
這里是devenv.exe /log的結果:
<xsl:styleheet version="1.0">
<xsl:output method="html" encoding="utf-16"/>
<xsl:template match="activity">
<head>
<title>活動監控日志</title>
<style type="text/css">
body{ text-align: left; width: 100%; font-family: Verdana, sans-serif; } table{ border: none; border-collapse: separate; width: 100%; } tr.title td{ font-size: 24px; font-weight: bold; } th{ background: #d0d0d0; font-weight: bold; font-size: 10pt; text-align: left; } tr{ background: #eeeeee} td, th{ 字體大小: 8pt; padding: 1px; border: none; } tr.info td{} tr.warning td{background-color:yellow;color:black} tr.error td{background-color:red;color:black} span {text-decoration:underline} a:hover{text-transform:uppercase;color: #9090F0;}
</style>
</head>
<body>
<table>
<tr class="title">
<td colspan="7">活動監控日志</td>
</tr>
<tr>
<td colspan="2">資訊</td>
<td colspan="5">
<xsl:value-of select="count(entry[type='Information'])"/>
</td>
</tr>
<tr>
<td colspan="2">警告</td>
<td colspan="5">
<xsl:value-of select="count(entry[type='Warning'])"/>
</td>
</tr>
<tr>
<td colspan="2">錯誤</td>
<td colspan="5">
<xsl:value-of select="count(entry[type='Error'])"/>
</td>
</tr>
<tr>
<th width="20">#</th>
<th width="50">型別</th>
<th>描述</th>
<th width="280">GUID</th>
<th>Hr</th>
<th>來源</th>
<th>時間(UTC)</th>
</tr>
<xsl:apply-templates/>
</table>
</body>
</xsl:template>
<xsl:template match="entry">
<!-
例子
<entry>
<record>136</record>
<time>2004/02/26 00:42:59.706</time>
<type>Error</type>
<來源>Microsoft Visual Studio</source>
<description>加載UI庫</description>。
<guid>{00000000-0000-0000-0000-000000000000}</guid>
<hr>800a006f</hr>
<path></path>
</entry>
-->
<xsl:選擇>
<xsl:when test="type='Information'">
<tr id="info" class="info">
<td>
<xsl:value-of select="record"/>
</td>
<td/>
<xsl:call-template name="row"/>
</tr>
</xsl:when>
<xsl:when test="type='Warning'">
<tr id="warning" class="warning">
<td>
<xsl:value-of select="record"/>
</td>
<td>警告</td>
<xsl:call-template name="row"/>
</tr>
</xsl:when>
<xsl:when test="type='Error'">
<tr id="error" class="error">
<td>
<xsl:value-of select="record"/>
</td>
<td> ERROR</td>
<xsl:call-template name="row"/>
</tr>
</xsl:when>
</xsl:選擇>
</xsl:template>
<xsl:template name="row">
<td id="description">
<xsl:value-of select="description"/>
<xsl:if test="path">
<br/>
<xsl:value-of select="path"/>
</xsl:if>
</td>
<td id="guid">
<xsl:value-of select="guid"/>
</td>
<td id="hr">
<xsl:value-of select="hr"/>
</td>
<td>
<xsl:value-of select="source"/>
</td>
<td>
<xsl:value-of select="時間"/>
</td>
</xsl:template>
</xsl:styleheet>
有什么想法嗎?
更新
我試著通過DVD在另一臺電腦上安裝它(公平地說,我只安裝了C#和VB包,因為它不是我的機器,而且它沒有足夠的記憶體可供使用)。它似乎可以在上面作業。所以DVD本身和它的所有檔案都很好。我的假設是,之前的安裝(VS2010Ultimate)造成了一些問題。或者是我的電腦本身有一些其他問題。不過還是不知道會是什么問題。我試著復制VsDebugPresentationPackage檔案,但應用程式仍然無法運行(它回傳另一個與之前類似的錯誤)。我將嘗試復制整個 Microsoft Visual Studio 10.0 和 Microsoft Visual Studio 9.0 檔案夾。uj5u.com熱心網友回復:
VS2019有一個免費的社區版本,安裝起來很輕便,而且很適合任何用戶,無論是專業的還是初學者。你可以擁有一個離線安裝器。
哪個 VS 版本與您的水平或其他方面無關,而是與支持的功能、目標專案和支持(來自 MSFT)有關。我從2010年開始使用所有的VS版本。從經濟上和技術上來說,在2021年購買VS2010的任何版本都是完全無稽之談。你不會有對更新的c#語言的支持。此外,很可能沒有公司再使用VS2010,最終是VS2015,但肯定是VS2019(包括VS2015構建工具集)。我還認為,你正面臨一個XY問題;你正試圖安裝VS2010,但出于何種目的?
我理解你正在啟動一個新的dotnet(c#、f#、vb等)專案。我還了解到,你使用的是Windows 10(很可能不是LTSC);如果你使用的是VS2019,則需要VS2019來針對適當的windows sdk。在2021年,roslyn和dotnet 5.0(c#、f#)是最合適的方式,兩者都是開源和多平臺的。因此,VS2019.
鑒于你在VS2010和VS2019中得到的錯誤,你可能想嘗試在虛擬機中安裝它們來確認或證實VS是這里的杯具。如果可以的話,你的Windows 10安裝很可能是殘缺的。如果沒有:
uj5u.com熱心網友回復:
1. 嘗試清除漫游檔案:
瀏覽到C:UsersLucaAppDataRoamingMicrosoftVisualStudio10.0檔案夾,洗掉里面的所有檔案和檔案夾,并嘗試再次啟動Visual Studio 2010。
2.確保安裝了最新的更新
。檢查您在Help -> About下使用的Visual Studio版本。有一個2012 年發布的服務包;請確保您已安裝該服務包。
如果您有 Team Team Studio,請檢查該服務包。
如果您安裝了 Team Foundation Server Power Tools,其他人建議安裝2011 年 12 月的更新,以修復與已安裝的 Windows Update 專案的一些兼容性問題。
3.3、嘗試洗掉并重新安裝所有已安裝的 .NET 框架
。任何一個.NET框架安裝的DLL損壞都會干擾Visual Studio打開或創建專案。對于你正在打開或創建的專案,看看它使用的是什么.NET框架版本,并嘗試先重新安裝該框架。
3.您是否考慮使用較新版本的Visual Studio?
Visual Studio 2010 是一個報廢的產品,并且將 Windows 8 列為其最高支持的作業系統。如果可以的話,也許值得使用較新版本的 Visual Studio。
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/317255.html
標籤:
