Unreal Engine 4.18.3 Deleting .cs file when closing visual studio

Hey all, Im trying to save a servertarget.cs file but when i close VS it disapears from the source folder in VS but is still there in the explorer. Could someone please help me out.

Right click your uproject and regenerate the solution.