Skip to content

Commit

Permalink
Merge pull request #228 from 1eyewonder/fix-file-lock
Browse files Browse the repository at this point in the history
Prevent File Locking Issue
  • Loading branch information
TheAngryByrd authored Mar 5, 2025
2 parents ef17453 + 4beb0fb commit d873ff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FSharp.Analyzers.SDK/FSharp.Analyzers.SDK.Client.fs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ type Client<'TAttribute, 'TContext when 'TAttribute :> AnalyzerAttribute and 'TC
fun config ->
config.DefaultContext <- AssemblyLoadContext.Default
config.PreferSharedTypes <- true
config.LoadInMemory <- true
)

Some(analyzerDll, analyzerLoader.LoadDefaultAssembly())
Expand Down

0 comments on commit d873ff8

Please sign in to comment.