ASP.NET 4.5 has not been registered

I have this message. I really hate it.
Recently I friend of mine send it me a nice guide to fix it. So I'm posting it just in case.

Thanks Carlos.

If you installed updates and then you get a message error when you open your VS.NET solution:

Well that usually means that framework 4.6.X has been installed and there is a bug in VS.NET

Just download this patch and install it