• notice
  • Congratulations on the launch of the Sought Tech site

Problems encountered during installation of Visual Studio 2017 and their solutions

I installed Visual Studio 2017 offline.The installation package file is relatively large.There are more than 10 gigabytes of files.After decompressing the vs2017offline.7z file, I run the vs_enterprise.exe file to start the installation.The problems encountered are as follows:

1.When you click Install, the installation file cannot be downloaded. Please check your Internet connection and try again

    The reason is that the certificate is not imported.Open the vs2017offline file in the path where the offline file is stored, and then find the certificates folder under it and open it.You can see that there are several certificate registration files in the.p12 format, and install the software certificates in this folder in turn. Double-click the certificate and follow the prompts to go down, or you can continue to the next step until the prompt is imported successfully. It is also said that the thing that actually needs to be verified in this step is the Visual Studio Installer.You can download this file from other methods and install it first, but it is not verified.

Remember to check the four options when installing: general windows platform development;.NET desktop development; desktop development using C++; and four options for Visual Studio extension development.

2.A warning message was prompted during the installation process, and the installation failed

    Error message: v3 return code: 1638, return code details: another version of this product is already installed. The installation of this version cannot continue. To configure or delete the existing version of this product, please use "Add/Remove Programs" on the "Control Panel". But I haven’t installed Visual Studio software before on my computer.I can only find visual-related things in the program and uninstall them (I have a visual studio code here, I uninstalled it first, but in fact I I don't think these two are related) Try it, there is still no change. But in fact, the warning reported did not affect the operation of the program, and VS can be successfully started after installation.

3.Project XXX cannot be loaded because it lacks installation components. To resolve this issue, use the following options to launch the Visual Studio installer. There is no application installed for this project.

    When using VS to open an existing project, it prompts that project XXX cannot be loaded because it lacks installation components. To solve this problem, use the following options to start the Visual Studio installer, there is no application for the project installed. I found someone on the Internet to add some Studio installers by modifying the installation: Visual C++ MFC for x86 and x64 was successful, so I entered the Visual Studio Installer, entered the single component tab in the modification interface, and checked two: for Visual c++ ATL for X86 and X64 and Visual c++ MFC for X86 and X64 were successfully re-operated.
When the third problem was improved, the second problem was also solved.Visual Studio Installer has prompted the installation to be completed.

4.When Visual Studio runs the project, it prompts that it cannot find the solution for Windows SDK version 10.0.17134.0

    When running the project, it prompts MSB803 can’t find the SDK for 10.0.14393 error.This is because of the Windows SDK version specified in the project.However, there is no Windows SDK version 10.0.17134.0 in the local windows system, which causes it to run abnormally.The old version of vs.It can be set in the Tools->Options->Solutions->VC++ directory, but it has been prompted in VS2017 that this option function has been abandoned. A better solution is to open the Visual Studio Installer and download a single component Windows SDK (10.0.17134.0) to install it.


Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+