Why can't I compile/create any C++ Project?

I have Unreal Engine 4.5 release and VS2013 Professional. Before VS2013, I had VS2012 Pro with UE4.5. I downloaded the VehicleGame project from the Marketplace and created it, but it would say the project modules were out of date. So I recompiled the project (I had VS2012 at that time) and at some or the other place it would say Compilation Failed: Please recompile from source (which didn’t work either). I then realized that I should have VS2013, which I then installed after uninstalling VS2012. I tried to recompile again after VS2013 Installation, but it doesn’t work. I can’t even create a new blank C++ project without starter content! It always asks me to recompile from source (again which doesn’t work). I had the same issue with UE4.4 and VS2012. Does anyone have a solution to this? Only Blueprint projects work fine. If there is anything you want to clear up, please comment.

Thanks!

UPDATE: Read the accepted answer here and used that method. Currently compiling in VS2013 without any problems, will answer question if it works out!

Didn’t work. Tried to build as Development-Editor but says UE4Editor-Core.dll not found even when directory is correct. Trying in Debug Editor config (which is working till now).

Debug Editor works, now building Development Editor successfully without previous error.

Build completed, it works through the Unreal Editor after building Development Editor!