Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Commit 7d7adc9

Browse files
authored
Get the correct assembly for the version number. #74 (#77)
1 parent 857aa0f commit 7d7adc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Contracts/Telemetry.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module Central =
6464

6565
type TelemetryImpl(telemetryConfig: (TelemetryClient * string) option) =
6666
let convertTagsToProperties tags = tags |> dict
67-
let version = Assembly.GetEntryAssembly().GetName().Version
67+
let version = Assembly.GetCallingAssembly().GetName().Version
6868

6969
member _.TelemetryConfig = telemetryConfig
7070

0 commit comments

Comments
 (0)