How to get selected items from Visual studio error window? I tried below code
DTE2 dte2 = Package.GetGlobalService(typeof(DTE)) as DTE2; dte2.Exe