How to setup Visual Studio without pain
Visual Studio (VS) can be very hard to install. If you are lucky, one whole day may be enough to install VS. However, in some cases, some students spent weeks to install VS. In all cases, installing VS can be (very) painful.
Fortunately, Microsoft provides a virtual machine (VM) to help you quickly setup VS.
To run a VS virtual machine, your computer needs to have at least 8GB of RAMs. You also need 30GB of disk spaces.
Follow these steps to setup a VS virtual machine:
- Download and install Oracel VirtualBox. (If you have other VM softwares (VMware, Hyper-V, Parallels) installed on your computer, you can ignore this step.)
- Download Oracle VirtualBox from https://www.virtualbox.org/. just click on "Download VirtualBox" and select "Windows hosts".


- Install Oracle VirtualBox.
- Download Oracle VirtualBox from https://www.virtualbox.org/. just click on "Download VirtualBox" and select "Windows hosts".
- Download the "Windows 10 development environment" VM.
The VM is very big. Since our campus network charges you for the data you use, it is very expensive to download the VM. Thus, I will give you an IPv6 torrent to download the VM free of data. The VM is already unzipped, you can use it directly.
You can also download the VM directly from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines. Choose the "Windows 10 Enterprise" download, and select VIRTUALBOX in our case. Unzip the file you downloaded, you will get a .ova file.
- Import the VM:
- Open Oracle VirtualBox from your start menu.
- In "管理", choose "导入虚拟电脑".
- Choose the .ova file you get from step 2, click on "下一步".
- In "处理器", choose 2. In "内存", choose 4096 MB if your computer have 8GB of RAMs, or 8192 if your computer have 16GB of RAMS. In 虚拟硬盘, change the path of the vmdk file to a location where you have at least 30GB of disk spaces.

- Click on "导入", wait till it finishs.
- Install VirtualBox Guest Additions:
- Start the VM you just imported, wait till it boots to desktop.
- In "设备", choose "安装增强功能".
- Inside the VM, in This PC, you will find a CD drive named "CD Drive (D:) VirutalBox Guest Additions", open it, click on "VBoxWindowsAdditions.exe" to install the VirtualBoxGuest Additions.

- Inside the VM, reboot the VM.
After all these steps, you will have a VM wil VS preinstalled inside the VM. The VM will expire after a period of time. Usually Microsoft will release a new VM before the old VM expires.
You can enable clipboard sharing and file dragging between your computer and the VM. That means you can ctrl+c some test from your computer and ctrl+v into your VM. You can also drag files into your VM or drag file out of it. To enable clipboard sharing and file dragging:
- Open your VM, in "设备", choose "共享剪贴板", choose "双向".
- In "设备", choose "拖放", choose "双向".
You could also share folders between your computer and the VM. To enable file sharing:
- Open your VM, in "设备", choose "共享文件夹", choose "共享文件夹". Click on the add icon on the right side. Click on the down arrow on the right of the "共享文件夹路径" textbox, choose "其他" to select a folder to share.

- Check "固定分配", click on "OK", click on "OK".

- Make sure you VM is discoverable:
- Click on the network icon in your system tray, select Network (Connected).

- Click on the Network (Connect) icon listed under Ethernet.

- Make sure "Make this PC discoverable" is on.

- Click on the network icon in your system tray, select Network (Connected).
- In This PC, on the left pane, choose Network. On the right pane, double click on VBOXSVR, you can see your shared folder.

How to setup Visual Studio without pain的更多相关文章
- Visual Studio 2008 – ASP.NET “System.Runtime.InteropServices.COMException”
The Issue When openning an existing ASP.NET project for the first time in Visual Studio 2008 it retu ...
- .Net Core 常用开发工具(IDE和运行时、Visual Studio插件、Visual Studio Code插件)
IDE和运行时 组件名 描述 可选版本 推荐版本 Visual Studio Community 社区免费版 For Visual Studio 2017 For Visual Studio 2019 ...
- Setup QT 5.5.1 + OpenCV 3.0 + Visual Studio 2013 on windows 10
1. Install Visual studio 2013 community version which is free to use for personal usage. 2. Setup th ...
- VS2017、VS2019没有Setup安装项目(Visual Studio Installer)_解决方案
前言: VS2010中有一个自带的安装部署项目,叫:Visual Studio Installer ,我们通常称为:setup项目,是一个用于自定义安装部署的项目方案.但是在VS2017,VS2019 ...
- 让InstallShield 2015 Limited Edition for Visual Studio 2015生成的setup.exe双击时以管理员权限运行
转载:http://blog.csdn.net/zztoll/article/details/52096700 如题,如何让InstallShield 2015 Limited Edition for ...
- Visual Studio 2015 update 2 setup fails with "missing or damaged package kb3022398"
Question Hi, I wanted to install Visual Studio Professional 2015 Update 2 from my MSDN abo (web ...
- python setup.py install 报错:error: [WinError 3] 系统找不到指定的路径。: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib
Outline 在通过 setup.py 安装python模块时,遇到了以下报错: # 执行 python setup.py install # 报错: error: [WinError 3] 系统找 ...
- 修改visual studio setup 安装顺序(解决新版安装包无法自动移除老版本程序的问题)
背景 visual studio setup 支持自动删除之前版本的安装,需要设置RemovePreviousVersions = true, DetectNewerInstalledVersion ...
- Visual Studio Code Setup
Windows https://code.visualstudio.com/docs/setup/windows Additional Components and Tools https://cod ...
随机推荐
- Spring 初学笔记
Spring 初学笔记: https://blog.csdn.net/weixin_35909255/article/category/7470388
- 云笔记项目-MyBatis返回自增类型&堆栈对象补充理解
在云笔记项目中,讲到了MySql的自增,MyBatis查询到自增类型数据后可以设置返回到参数属性,其中学习了MySql的自增写法,堆栈对象等知识. MySql数据类型自增 建立一张Person表,其中 ...
- Java 中的日志
参考:https://www.cnblogs.com/gavanwanggw/p/7305218.html 日志框架: 提供日志调用的接口,实际的日志输出托付给日志系统实现 JCL:比较流行的日志框架 ...
- python的可变对象与不可变对象
a = 1print(id(a))def fun(a): a = 2 print(a,id(a))fun(a)print(a,id(a)) # 1#为什么这里的a的值没有改变#因为在函数里变量赋值(内 ...
- Exp3 免杀原理与实践 20165110
Exp3 免杀原理与实践 20165110 一.. 实践内容 1.正确使用msf编码器(0.5分),msfvenom生成如jar之类的其他文件(0.5分),veil-evasion(0.5分),加壳工 ...
- java基础 -- 经典排序
---- 冒泡排序 方法: 1.每次比较相邻的两个数 2. 小的交换在前面 3.每轮结束后最大的数交换到最后 代码实现: /* * 冒泡排序 * */ public class SortNum { ...
- tp3.2 上传文件及下载文件
公共方法 UploadFile.class.php() // 开始 , , , ,];];,; ;; ::::::;,) {//文件上传失败 //捕获错误代码$this->error($file ...
- python读取数据库出txt报表
python出报表使用到了数据库访问,文件读写,字符串切片处理.还可以扩展到电子邮件的发送,异常处理以及定时批任务. 总之在学习中发现还是有蛮多乐趣在其中. #coding=utf-8 ' impor ...
- js 14位字符串 转日期
const pattern = /(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/; const newDate = new Date(timeEnd.repla ...
- java webservice生成客户端代码并调用
wsimport简介 在JDK的bin文件夹中,有一个wsimport.exe工具,可依据wsdl文件生成相应的类文件,将生存在本地这些类文件拷贝到需要使用的项目中,就可以像调用本地的类一样调用web ...