Visual Studio 2017安装";“ASP.NET与web开发”;

Visual Studio 2017安装";“ASP.NET与web开发”;,asp.net,web,visual-studio-2017,Asp.net,Web,Visual Studio 2017,我已经下载了带有--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.Workloa

我已经下载了带有
--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组件时,都不起作用。 我尝试重新启动计算机,重新启动安装程序。 什么都不管用。

经过一些挖掘, 我找到了解决办法

尝试安装Visual Studio,将
temp
%temp%
文件夹设置为短路径,如
d:\temp

步骤1:使用管理员权限打开
cmd
(忽略管理权限错误)

步骤2:执行命令-
set tmp=“d:\temp”

步骤3:执行命令-
set temp=“d:\temp”

第4步:使用所需的任何
--layout
选项执行
vs_community.exe

挖掘之后, 我找到了解决办法

尝试安装Visual Studio,将
temp
%temp%
文件夹设置为短路径,如
d:\temp

步骤1:使用管理员权限打开
cmd
(忽略管理权限错误)

步骤2:执行命令-
set tmp=“d:\temp”

步骤3:执行命令-
set temp=“d:\temp”

第4步:使用所需的任何
--layout
选项执行
vs_community.exe

Microsoft正在监听。微软正在倾听。