Error when running builds in parallel - SA0001 : CoreParser : An exception occurred while parsing the file: System.ComponentModel.Win32Exception, The specified module could not be found at StyleCop.Spelling

We are looking at speeding up our builds, when we set msbuild to run in parallel we see a marked improvement in speed however we also frequently get the error below;

  • D:\BuildAgent\work\ab7f58e3c1076aa4\IdentityService\Dev\Main\IdentityService.Models\AccessToken.cs(1, 1): SA0001 : CoreParser : An exception occurred while parsing the file: System.ComponentModel.Win32Exception, The specified module could not be found at StyleCop.Spelling.SpellChecker.NativeMethods.Speller..ctor(String path) at StyleCop.Spelling.SpellChecker..ctor(CultureInfo culture, Language language) at StyleCop.Spelling.SpellChecker.FromCulture(CultureInfo culture) at StyleCop.Spelling.NamingService.GetNamingService(CultureInfo culture) at StyleCop.CSharp.DocumentationRules.AnalyzeDocument(CodeDocument document) at StyleCop.StyleCopThread.RunAnalyzers(CodeDocument document, SourceParser parser, IEnumerable`1 analyzers) at StyleCop.StyleCopThread.TestAndRunAnalyzers(CodeDocument document, SourceParser parser, IEnumerable`1 analyzers, Int32 passNumber) at StyleCop.StyleCopThread.ParseAndAnalyzeDocument(SourceCode sourceCode, DocumentAnalysisStatus documentStatus) at StyleCop.StyleCopThread.DoWork(Object sender).

I'm guessing this is a configuration issue our end?

 

Thanks,

James

0
1 comment

Hello!

 

Seems to be StyleCop issue, please refer to StyleCop github - https://github.com/StyleCop/StyleCop/issues.

There's nothing ReSharper deals with.

Thank you.

0

Please sign in to leave a comment.