You’ll need to provide more context
Could you go over each of the steps you took? Here’s an example:
- Launch VS
- Ctrl + F5 to build the project
- Adjust code
- Compile it inside Unreal Editor, instead of hitting Ctrl + F5 (or the green play icon at the top) inside VS