I'm receiving both of these exception reproducible when I open a solution
containing a Windows Installer Xml Project (WIX).
Wix can be found at http://wix.sf.net. It happens with the 3.0 WIX
I'm using the latest Resharper version (3.1 full).
Hope this will be fixed soon!