Sounds to me like your program problems...are the result of your actions with NET Framework.
Any MS Visual application relies on NET to function properly, so much so that each install also contains/installs the applicable version of NET.
Just guessing...I don't have the knowledge to do more than that.
If you do a Google of that 1606 error message...you will find various documentary topics. I looked at a few, but don't know if any relate to your particular situation.
<<I'm not going to reinstall windows but I have removed net frameworks and reinstalled.>>
That's your decision to make...but it seems to me that the possibility of file corruption in Windows might mandate such or at least running the sfc /scannow command.
How To Use Sfc.exe To Repair System Files - http://www.bleepingcomputer.com/forums/topic43051.html