VS does not build the project on F5 if you changed the sources.
Check these settings:
Tools – Options – Projects and Solutions – Build and Run:
OnRun when Projects are out of date: always
Configuration Manager ( Solution – Properties – Configuration Manager )
Check if Build is Enabled!