Hey! Firstly,go to local files.
Default path is - C:\Program Files (x86)\Steam\SteamApps\common\Terraria.
And there will be several files with XNA or Microsoft .NET Framework .
Then,click on Microsoft .NET Framework and click repair. Then you must restart your computer. Hope this will work for you!