For a long time did not write the program on the desktop, open a solution today, error:
Never encountered this situation, re-close the solution, open the solution in the menu bar said no framework 4.0, actually I installed 4.5, also have 4.0, so all uninstall ready to re-ann.
Installation fails when you reinstall the Framework 4.0. Baidu, and really someone met, this method does not know how they groped out.
Solution :
1) Start-run-enter cmd--carriage return-Enter the net stop WuAuServ in the open window
2) Start-run-input%windir%
3) Find a folder called SoftwareDistribution, rename it to Sdold
4) Start-run-enter cmd--carriage return-Enter the net start WuAuServ in the open window
5) Start-run-enter regedit--carriage return, find the registry, Hkey_local_machine\sofware\microsoft\internet Explorer under the main sub-key, right-click Main, found in the menu above the " Edit "-" permission ", click will appear" Full Control "and other words, hook can be assured installation.
In general, this problem occurs with ghost systems, which are not installed because of the default permission settings for the development system.
See also: http://jingyan.baidu.com/article/00a07f3892376982d028dc2a.html
VS2010 has stopped working and the Framework 4.0 installation failed