Detect Window Phone application version when using the Attach method.