Ramon Snir
Ramon Snir

Reputation: 7560

How to know which exact .NET assembly is used

I need to know exactly which FSharp.Compiler.dll file the Fsc.exe is using. I have reasons to believe that it is not using the file adjacent to it, so I want to know which one it does use. The version numbers are the same, but the locations are different.

Any ideas how to find out?

Upvotes: 1

Views: 156

Answers (2)

Greg Bogumil
Greg Bogumil

Reputation: 1923

If you already have a reference to the compiler object, you should do the following : compiler.GetType().Assembly.Location()

Upvotes: 1

Brad Christie
Brad Christie

Reputation: 101604

Could always load up Process Explorer and see which DLLs are loaded.

Upvotes: 4

Related Questions