When I build my code in visual studio, it doesn't effect Unreal.... (Issue)

This might not work, but at least it worked for me. I deleted the .vs folder at the main project folder, that will “reset” default options for the VStudio project. Just keep in mind you’ll lose current opened tabs and maybe other stuff.