Instrumented application '%2' (Process Id %1) is not logging profile data because a profile monitor is not running, or is ...

Instrumented application '%2' (Process Id %1) is not logging profile data because a profile monitor is not running, or is running in incorrect mode.
Use 'vsperfcmd /start:trace /output:' to start the monitor before starting an instrumented application.
Use /CrossSession option to profile processes running in a different login session.