簡體   English   中英

Visual Studio 2017安裝“ASP.NET和Web開發”

[英]Visual Studio 2017 Installation of “ASP.NET and web development”

我已經使用--layout選項下載了Visual Studio並安裝了它。

安裝成功並發出警告,如下所示,

The product failed to install the listed workloads and components due to one or more package failures.

Incomplete workloads
    .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26208.0)
    ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0)
    Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26208.0)
    Mobile development with JavaScript (Microsoft.VisualStudio.Workload.WebCrossPlat,version=15.0.26208.0)
    Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0)

Incomplete components
    .NET Core 1.0 - 1.1 development tools (Microsoft.NetCore.ComponentGroup.Web,version=15.0.26208.0)
    .NET Core 1.0.1 development tools (Microsoft.Net.Core.Component.SDK,version=15.0.26208.0)
    Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26208.0)
    Git for Windows (Microsoft.VisualStudio.Component.Git,version=15.0.26208.0)
    Visual Studio Emulator for Android (Component.Android.Emulator,version=15.0.26208.0)

日志文件中列出了錯誤。

每次我修改安裝程序並嘗試安裝Web組件時,都不起作用。 我試圖重新啟動計算機,重新啟動安裝程序。 什么都行不通。

經過一番挖掘,我找到了解決方案。

嘗試將具有設置temp%temp%文件夾的Visual Studio安裝到短路徑,例如d:\\temp

步驟1:使用管理員權限打開cmd (忽略管理權限錯誤)。

第2步:執行命令 - set tmp="d:\\temp"

第3步:執行命令 - set temp="d:\\temp"

步驟4:使用您想要的任何--layout選項執行vs_community.exe

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM