Are you compiling from Visual Studio or from within the Editor.
Try compiling from within the editor.