无法在虚拟机中安装VS2017 RC

编程入门 行业动态 更新时间:2024-10-27 08:33:25
本文介绍了无法在虚拟机中安装VS2017 RC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想试用VS2017,但不想将其安装在我的开发机上,因此请为其设置虚拟机.我下载了安装程序(vs_Enterprise.exe),但是当我双击它时,在UAC对话框之后,它显示了一个非常简短的窗口,表示正在提取文件. 到临时文件夹,类似于C:\ Users \ USERNAME \ AppData \ Local \ Temp \ 2c64cc13-d8a2-4e64-829c-6c8e2852b768(每次尝试时,最后的UID都会更改),但随后消失了,然后什么都没发生.

I would like to try out VS2017, but don't want to install it on my dev machine, so set up a VM for it. I downloaded the installer (vs_Enterprise.exe), but when I double-click it, after the UAC dialog, it shows a very brief window saying it's extracting files to a temp folder, something likeC:\Users\USERNAME\AppData\Local\Temp\2c64cc13-d8a2-4e64-829c-6c8e2852b768 (the UID at the end changes every time I try it), but then that disappears and then nothing happens.

如果我查看该文件夹,则只会看到一个名为 vs_setup_bootstrapper.json的文件,其内容如下...

If I look in that folder, all I see is a single file namedvs_setup_bootstrapper.json whose contents are as follows...

{ "productId":"Microsoft.VisualStudio.Product.Enterprise", "channelId":"VisualStudio.15.Release", "channelUri":"aka.ms/vs/15/release/channel" }

{ "productId": "Microsoft.VisualStudio.Product.Enterprise", "channelId": "VisualStudio.15.Release", "channelUri": "aka.ms/vs/15/release/channel" }

我正在使用虚拟Windows 7 Professional SP1,并且已经更新了Windows.如果有任何区别,则主机为Windows 10 Professional 64位.

I'm using a virtual Windows 7 Professional SP1 and have updated windows. The host machine is Windows 10 Professional 64-bit if that makes any difference.

感谢您提供的任何帮助.请让我知道是否可以提供更多信息.

Thanks for any help you can give. Please let me know if there is any more info I can provide.

推荐答案

您好,Yossu先生,

Hi Mr Yossu,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

您的虚拟配置非常符合VS 2017系统要求.

Your virtual configuration matches the VS 2017 system requirement well.

能否请您告知虚拟机是否已正确连接到网络?

Could you please tell that if the virtual machine is connected to network well?

从我的角度来看,您可以在VM上进行脱机安装.请看一下:

From my point of view, you could do an offline installation on the VM. Please take a look at:

docs.microsoft /en-us/visualstudio/install/create-an-offline-installation-of-visual-studio

以下是步骤:

第1步:

从此处下载VS 2017 RC社区Web安装程序:

Download the VS 2017 RC Community web installer from here:

www.visualstudio/downloads/

键入并运行vs_Community.exe --layout C:\layout in cmd

type and run the vs_Community.exe --layout C:\layout in cmd

步骤2:弹出以下cmd,显示VS 2017 RC社区的所有下载资源包:

Step 2: the following cmd pops, showing all the downloading resources packages of the VS 2017 RC Community:

第3步:

所有下载成功后,布局文件文件夹将包含所有软件包和安装程序.

When all the downloads succeed, the layout file folder contains all the packages and installers.

第4步:

将布局文件夹复制到VM.

Copy the layout folder to VM.

第5步:

在虚拟机上,运行vs_Community.exe,弹出以下表格,安装程序开发所需的软件包:

On your vitual machine, run vs_Community.exe, the following form pops, install the packages you need for your program development:

如果有任何问题仍然存在,请随时让我知道.

If there is any problem persists, please feel free to let me know.

最好的问候

更多推荐

无法在虚拟机中安装VS2017 RC

本文发布于:2023-11-15 17:36:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1596557.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:机中   RC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!