VS Plugin: use solution scope if no active document. Closes #2498