I'm getting the following Unhandled Exception from ReSharper when I open Visual Studio:
JetBrains.Util.LoggerException: Could not load file or assembly 'Microsoft.StyleCop, Version=4.3.0.8, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.StyleCop, Version=4.3.0.8, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.StyleCop, Version=4.3.0.8, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at StyleCop.For.ReSharper.StyleCopRunner.Execute(IProjectFile projectFile, String shadowFilePath)
at StyleCop.For.ReSharper.StyleCopStageProcess.Execute()
at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting(DaemonProcessKind kind) in c:\Agent\work\3f4db6fd459dabcd\src\Daemon\src\Impl\DaemonProcessBase.cs:line 321
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--- End of inner exception stack trace ---
at JetBrains.Util.Logger.LogException(Exception) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Logger\Logger.cs:line 441 column 5
at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting(DaemonProcessKind) in c:\Agent\work\3f4db6fd459dabcd\src\Daemon\src\Impl\DaemonProcessBase.cs:line 329 column 19
at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.DoHighlighting(Boolean) in c:\Agent\work\3f4db6fd459dabcd\src\Daemon\src\Impl\VisibleDocumentDaemonProcess.cs:line 188 column 9
at JetBrains.ReSharper.Daemon.Impl.<>c__DisplayClass1.<EnqueueHighlightingJob>b__0() in c:\Agent\work\3f4db6fd459dabcd\src\Daemon\src\Impl\VisibleDocumentDaemonProcess.cs:line 174 column 60
at JetBrains.ReSharper.Daemon.Impl.DaemonThread.ThreadProc() in c:\Agent\work\3f4db6fd459dabcd\src\Daemon\src\Impl\DaemonThread.cs:line 127 column 13
at System.Threading.ThreadHelper.ThreadStart_Context(Object)
at System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback, Object)
at System.Threading.ThreadHelper.ThreadStart()
I have a Microsoft.StyleCop.dll file with file version 4.3.0.8 located at C:\Program Files\MSBuild\Microsoft\StyleCop\v4.3 on my machine.