visual studio 2017 installation guide and a variety of solutions to problems

Key words contained in tutorials and articles:

VS2017 install / Visual Studio 2017 installation / Xamarin / Android for Visual Studio 2017 / VS2017 can not find the website / VS2017 can not find Xamarin / install Microsoft.VisualStudio.AspNet45.Feature

 The article mainly introduces various problems and solutions under Windows10, installation and use VS2017 generated. The procedure to write the article, if you just run into one or two questions, please look into the following corresponding tutorial.

In this paper, according to resolve the problems arising in the VS2017 installation, note the use of legitimate Windows system.

table of Contents

1, download visual studio 2017

2, mounted visual studio 2017

3, after the installation

4, various rehabilitation program

1, download visual studio 2017

 visual studio 2017 installer takes the form of, we can not simply download a 2MB installer, you can select the desired function.

vs2017 There are three versions available for download at

https://www.visualstudio.com/zh-hans/downloads/

 If you are a student often for computer classes, or think there is any time to the computer to install U disk, or a serious shortage of the C drive, you can download the offline Lite VS2017
Download link:
https://pan.baidu.com/s/1f3myPhry7VYMOjPaqWOmSQ Password: l1um
In addition VS2010-2017 series link:
https://pan.baidu.com/s/1Nj1l-kNcUra61N-bXXUMbg Password: zlfo
 
 

2, mounted visual studio 2017

After download and install the tool, will be installed in your computer  Visual Studio Installer  software.

If you are able to install and open the Visual Studio Installer, the installation interface selection function, ignore this step.

If you download visual studio installation tool, click Run, only a progress bar, then disappeared, then there is no reaction, as shown.

Probably not have administrator privileges, insufficient space size, you can also try using Compatibility run (click installation package - Right - Properties - Compatibility).

If you follow the online tutorial, which will be very troublesome, and may not be able to solve. Of course, this step is not necessary, the installer package installer I vs2017 and saved to the network disk. Open can run the installation directly.

download link:

2018--3 Month: link: https://pan.baidu.com/s/15iyxTIJl5Ns8NGo7wqGitg  Password: jivx

2019-2-22 date latest version link:  https://pan.baidu.com/s/1peT1SrViucvF2PtIO-2cHQ  extraction code: 2rgd

Taking into account vs2019 has come out, the following is the latest version of the vs2019, compatible 2017

Links: https://pan.baidu.com/s/1DEPQ2OA_uLsSI-Dz807wHQ 
extraction code: kbx8

Note: vs_installer.exe is installed, run this. vs_installershell.exe is to modify the configuration tool

After the installer downloaded installer, unzip and run vs_installer.exe.

This time should be able to open the installation interface.

Some candidates for the ASP.NET development, a little person to the .NET platform mobile development (Xamarin), you can select the components they need. Figure

 

3, after the installation

According to the prompts to install the VS2017, the interface may be prompted to complete the "Installation has been completed, but warnings", then just leave it there.

Of course there are some people feedback, installed when you install half, the installer exit and then displays the "Installation has been completed with warnings."

First open the VS2017, a new project to try. If your interface is similar with me, could not find a new Xamaxin, Android, Ios, site of the place, the installation is not normal.

In other words, obviously choose Xamarin and other components installed in the installation interface, but these can only create a console project.

 


 

 - - - -  - - - - - - - -

The following tutorial is for the installation of VS2017, can be used normally, but can not find Xamarin, the new website /ASP.NET,Android/IOS development options, only some of the new console, rear window project, or create a new blank project. If your VS2017 everything is normal, there is no need to look down.

  - - - -  - - - - - - - -

 First open the "Settings -Windows Update" if there is "Your device has expired, and the lack of critical security and quality updates, so there is a risk. Let us take you back on track, so that Windows can run more safely," the word, then "check for updates" (even if your computer does not have this prompt tap).

If you can update properly, please wait for the update has been completed, find the "Visual Studio Installer" program, open the installation interface reinstall Visual studio 2017.

If you click to update the system, or have been red tips in the following figure, it is because you disable the automatic update Win10. Open the update function follow the tutorial here:

Open Windows Update: https://jingyan.baidu.com/article/e52e36156a8cd740c60c51ee.html

After the completion of the operation according to the tutorial, then click the update, if not enough. Operation on a following manner.

按 win+x,点击 ”计算机管理“

点击 ”服务和应用程序-服务“,找到 Windows Update,右键点击启动即可。然后再进行win更新。

Windows更新后,打开 VS2017安装器(win菜单栏的 Visual Studio Installer 或另外下载的 installer 包),点击安装界面的 ”修改“,再重新安装,然后打开VS2017,新建项目试试,如果还是没有新建网站

或 Xamarin 等你需要的项目,请往下看。

打开 ”控制面板--程序--打开或关闭功能“ ,选择 .NET Framework 3.5,然后点 确定,让系统更改设置。

如果直接完成更改,没有出现问题,请跳过这一步。

如果提示 ”Windows 组件存储已损坏,代码 0x80073712“ 而无法更改,这里就可能是让 VS2017 安装时出错的原因,有几种方法可以解决。

 

第一种方法是利用 DISM,参考别人的文章,这里笔者就不赘述了,附上文章链接:

解决Windows 组件存储已损坏,0x80073712错误

 第二种方法,重点推荐

运行 Windows 更新疑难解答程序

方法’如下:

  1. 点击下载  Windows 更新疑难解答程序,或打开链接下载(http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/wu170509.diagcab),然后在弹出窗口中选择“打开” 或“保存”。
    注意

    如果选择“保存”,下载完成后你需要转到下载疑难解答程序的文件夹,然后双击最新的 wu.diagcab 文件以运行疑难解答程序。

  2. 选择 “下一步”,然后按照向导中的步骤查找并修复 Windows 更新问题。
  3. 程序会提示出错的地方,然后点击”应用此修复程序“即可。

 

应用后,打开 VS2017安装器 (win 菜单栏的 Visual Studio Installer 或另外下载的 installer 包),点击安装界面的 ”修改“ ,再重新安装,然后打开 VS2017,新建项目试试,如果还是没有新建网站

或Xamarin等你需要的选项,请继续往下看。

点击如图所示的”查看问题“,再点击”查看日志“

 

看看日志是否有下面内容

未能安装包“Microsoft.VisualStudio.AspNet45.Feature,version=15.0.27128.1”。
搜索 URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.AspNet45.Feature;PackageAction=Install;ReturnCode=14098
详细信息
已执行的命令: "C:\Windows\system32\dism.exe" /online /quiet /norestart /Enable-Feature /FeatureName:"netfx4extended-aspnet45" /All /logPath:"C:\Users\Administrator\AppData\Local\Temp\dd_setup_20180305163641_003_Microsoft.VisualStudio.AspNet45.Feature.log"
返回代码: 14098
返回代码详细信息: 组件存储已损坏。

 - - - -  - - - - - - - - - - - - - - - - - - - - - - - -

这种情况是非常麻烦的,在这里提供几种方法供你解决

从一般情况来说,安装碰到的问题,主要是更新系统,打补丁,然后重装。

确认你的系统是正版或从微软官方更新的,如果是从一些第三方网站下载的系统,可能是系统问题了。

因为一些网上下载的 Win10 系统,有修改过系统文件、破解系统授权等,也可能存在木马、病毒,可能导致一些软件无法安装。

如果你尝试过上面提出的各种方案还没有解决问题,试试在安装界面点击”修复“,或许有希望呀。如果试过修复,还是老样子,可以到

https://www.microsoft.com/en-us/download/details.aspx?id=34595

点击下载 Windows Management Framework 3.0

64位系统找到 Windows6.1-KB2506143-x64.msu

32位系统找到 Windows6.1-KB2506143-x86.msu

下载后安装即可。

如果还不行。。。只能重装系统了,一定要注意,下载是官方原版系统!

不过在论坛上有老司机有其他方法,本人未测试,这里转一下(应该没卵用的)

网友一:墙外香港线即可解决问题,老司机经验

网友二:

可以尝试下这个: https://stackoverflow.com/questions/42242620/cannot-uninstall-visual-studio-2017-anymore
网友三:右键 “我的电脑”-->"管理",找到“服务”,把 Windows Installer 和 Windows Management Instrumentation 这两个服务不要设为禁用,并且启动起来。然后再安装
 
如果这样还不行的话,又不行重装系统的,这种情况试试修复升级,
推荐修复教程
http://news.mydrivers.com/1/507/507105.htm
Microsoft's Windows 10 ISO file official tutorial:
https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_install-winpc/how-to-perform-a-repair-upgrade-using-the-windows/35160fbe-9352-4e70-9887-f40096ec3085
windows repair article summary
http://www.xitongcheng.com/jiaocheng/akypbup.html
 - - - - - - - - - - - - - - 
When you tried many methods can not be resolved, it is recommended to repair the system, the worst case is to reinstall the computer up ~
 
 
ps: Original Source:

Chizhegongliang

https://www.cnblogs.com/whuanle/p/8507478.html

Guess you like

Origin www.cnblogs.com/fzqm-lwz/p/11324881.html