Visual Studio 2017 failed to install multiple components

Visual Studio 2017 Community Edition installer failed to run multiple components

The product was unable to install the listed workloads and components due to one or more packet failures.

Incomplete workloads Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat, version = 15.0.26228.0)

Incomplete components of Google Android Emulator (API level 23) (Component.Google.Android.Emulator.API23.V2, version = 15.0.26208.0)

You can search for solutions using the information below, change the selection for the above workloads and components, and retry installing or removing the product from your device.

The following is a set of individual packet failures that led to incomplete workloads and the components above. To search for existing reports of these specific problems, copy and paste the URL from each package failure into a web browser. If the problem has already been reported, you can find solutions or workarounds there. If the problem is not reported, you can create a new problem when other people can find solutions or workarounds.

Package 'AndroidEmulator_API23V2, version = 1.0.23' could not be downloaded from ' https://go.microsoft.com/fwlink/?linkid=841569 '. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidEmulator_API23V2;PackageAction=DownloadPackage;ReturnCode=0x80072f7d Workload Impact Mobile Development Using .NET (Microsoft.VisualStudio.Workload.Net = CrossPlat. 26228.0) Google’s Air Components Android Emulator (API Level 23) (Component.Google.Android.Emulator.API23.V2, version = 15.0.26208.0) Details WebClient loading failed: decryption operation failed, see Internal Exception. Bit loading error: error context: BG_ERROR_CONTEXT_REMOTE_FILE, error code: -2147012739 WinInet loading error: Function: InternetReadFile, HR: -2147012739, Message: Unknown error 12157

Does this Mobile development with .NET help influence Windows UWP development? At the moment, I do not need tools for developing Android.

What is the best way to do this - I tried the installation twice, with the same result - can I install the components later on my own?

EDIT : Visual Studio is working correctly, and I can open the UWP project and run it so that everything works fine. This is the version of the application that was installed.

Microsoft Visual Studio Community 2017 Version 15.0.26228.9 D15RTWSVC Microsoft .NET Framework Version 4.6.01586 Installed Version: Community 
+5
source share
1 answer

See if you have this file on your computer:

 %programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe 

If so, run it from the admin command line with the -full :

 InstallCleanup.exe -full 

If not, manually delete the folder:

 %programfiles(x86)%\Microsoft Visual Studio\Installer 

Restart the recently downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe ). Allow the first step of installing the installer.

As soon as the installer appears and you see the workload options ( .NET desktop, etc.), close it. Start running the same InstallCleanup.exe to clean up the old VS build.

Then restart vs_enterprise.exe and install

+2
source

Source: https://habr.com/ru/post/1265586/


All Articles