Visual Studio does not install correctly on Windows 10

无人久伴 提交于 2019-12-03 10:25:34
Nandy

I encountered similar problem in installing VS2013 update 5(iso version).

If you somehow messed up the installation/re-installation/Update of VS2013 in Windows 10, here are the steps I followed for successful operation:

  1. Turn off system restore (temporarily).
  2. Turn off AVG antivirus - until next reboot and turn off identity AVG protection in task manager. Do the same thing if you're using another antivirus.
  3. Install/Uninstall/Update Visual Studio 2013. When install/reinstall/update stalls, end the 64 bit windows installer in task manager and the operation will proceed. Do the same thing if the same happens until the operation is finished successfully.
  4. Make sure windows installer is not running in task manager for next steps.
  5. Run subincl.exe (http://blogs.msdn.com/b/astebner/archive/2006/09/04/739820.aspx).
  6. Run command in admin mode and go to \ProgramData\Package Cache and run the command: Del /F /S *.msiDelete /F /S *.cab.
  7. Install/Reinstall/Update.

I found many problems with VS2015 on Windows 10. Too many to mention.

One method that might work is to reinstall all 3rd party tools after installing VS2015. For example, install VS2015 and components. Next uninstall anything related to Cordova on your OS. Next install 3rd party Cordova components one-by-one, and finally reinstall & repair VS2015 Cordova components. I have not yet tried using Cordova on VS2015 & Windows 10.

However, for example, upgrading to Windows 10 after installing VS2015 will completely corrupt your Hyper-V environment. This can be fixed by hacking around your Hyper-V settings. However this also blows away your Genymotion & VirtualBox installation (which must be reinstalled). Also the Microsoft Visual Studio Emulator for Android does not work at all - do not waste your time. I have mine uninstalled.

These issues are known at Microsoft (I've had direct emails with key MS employees on these topics in the last 48 hours) and they say they are working on it.

Definitely a work in progress. Good luck using VS2015 on Windows 10.

I got same problem because of network issue when I install package. because of the download cache, the problem can't be fix when I prepare install VS2015.

at last, I remove all folders under "C:\ProgramData\Package Cache" then reinstall VS2015, don't worry , it's very quickly.

the problem be solved.

good luck!!!

If you are installing in a VM then there is no solution, the emulators are virtual machines themselves and there seems to be an issue if you run in Hyper-V environment. I can confirm the same as I run in VMWare Workstation and encountered the same issue. This should reduce the scope of your search for a solution.

"Emulating Devices with Hyper-V When you install Visual Studio 2015 on real hardware without virtualization, you can choose features that enable emulation of Windows and Android devices using Hyper-V. When you install into Hyper-V, you will not be able to emulate the Windows or Android devices. This is because the emulators are themselves virtual machines, and you cannot currently host a VM inside another VM. The workaround is to have real Windows or Android devices to which you can directly deploy and debug your application."

Lulu_A

I had a similar problem with VS2015, I ended up reformatting my computer because of VS2015. What I did was: I downloaded the default settings of VS2015. Then it worked ! But downloading the features is scary. It was necessary for me to have Tools and the Windows SDK and I needed Common C++. So I downloaded first the Common C++, then created a restore point (if ever the installation for the Tools and Windows SDK will be unsuccessful, I have a back-up for my files). Now VS2015 works fine, but not really sure if you can freely download some of the features. Hope this helps you :)

it helped me to re-enable "Download updates from other PCs" which I had disabled for some reason.

to do that 1. go to Settings / Update and Security / Windows Update / Advanced options / Choose how updates are delivered 2. ensure it is "On" and "PCs on my local network and PCs on the Internet"

I had a lot of problems installing VS2015 Professional after my BizSpark license for Enterprise expired. I had to do all of the above, as well as delete/rename the folder

C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18

and disable Windows Defender. Still, my installation would flash the splash screen and hang. What finally worked was to remove .NET 2.0 and 3.5 from the Windows Components. (In addition to all the steps already listed, not instead.) I also made sure my SHA1 values for the ISO file matched and ran the TotalUninstaller tool to remove every trace of the old installation.

Now I am having a different issue, so wish me luck! I actually like Windows 10 and VS2015, but there are days...

Joey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!