The other day, a work colleague asked for my assistance regarding a problem installing TeamReview 1.1.2 (for Visual Studio 2010 Beta 2).
The error related to “TeamReview.VSNetAddIn.Addin”, with:
System.InvalidOperationException: Method failed with unexpected error code 3.
To cut a long story short, I discovered that the exception occurs under Windows 7 when the following Visual Studio add-in folder does not exist:
C:\Users[Your User Name]\AppData\Roaming\Microsoft\MSEnvShared\Addins
This equates to:
The problem also happens on Windows XP:
C:\Documents and Settings[Your User Name]\Application Data\Microsoft\MSEnvShared\AddIns
In order to resolve the issue, manually create the folders through Windows Explorer or run the following command:
Another work colleague has now raised this issue on the TeamReview CodePlex site.