Hello -
So it sounds like that there is a registry error in Windows somewhere that is not allowing a .NET Framework from correctly working with Swarm Agent. Short of doing a full re-install of windows only other suggestion I can give you is to uninstall ALL NET Framework VS installations on your PC and allow your Windows Update program to re-download and uninstall them. This should, but I cannot guarantee, correct issue.
Eric Ketchum