-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Describe the bug
analyzer exception trying to run
To Reproduce
if I remove this from .dependencies and update the lock
nuget FSharp.Analyzers.SDK < 0.11
then the exception from below occurs
Expected behavior
No exception on attempting to start analysis from mini-scaffold
Screenshots
Info : Running in verbose mode
Info : Fail On Warnings: [BDH0002]
Info : Ignore Files: []
Info : Loading analyzers from C:\sbsdev\sbs\sbs-enbl-octo-ass\build..\packages/analyzers
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Compiler.Service, Version=41.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'FSharp.Compiler.Service, Version=41.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at FSharp.Analyzers.SDK.Client.mapping@1(String tupledArg0, Assembly tupledArg1) in /Users/chethusk/oss/FSharp.Analyzers.SDK/src/FSharp.Analyzers.SDK/FSharp.Analyzers.SDK.Client.fs:line 90
at FSharp.Analyzers.SDK.Client.loadAnalyzers(String dir) in /Users/chethusk/oss/FSharp.Analyzers.SDK/src/FSharp.Analyzers.SDK/FSharp.Analyzers.SDK.Client.fs:line 88
at Program.main(String[] argv) in /Users/chethusk/oss/FSharp.Analyzers.SDK/src/FSharp.Analyzers.Cli/Program.fs:line 196
Finished (Failed) 'FSharpAnalyzers' in 00:00:01.5248919
Desktop (please complete the following information):
- OS: windows
- Version 10 enterprise
Additional context
I have confirmed this works in another mini-scaffold repo locally and toggled the setting to see it does work with the line, and fails with it.