Skip to content

Commit

Permalink
Use GetExecutingAssembly (#14796) (#14799)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9f9410b)
  • Loading branch information
twastvedt authored Jan 3, 2024
1 parent fe17a5f commit 19d3977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoUtilities/AssemblyHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Assembly ResolveAssembly(object sender, ResolveEventArgs args)

public static Version GetDynamoVersion(bool includeRevisionNumber = true)
{
var assembly = Assembly.GetCallingAssembly();
var assembly = Assembly.GetExecutingAssembly();
var version = assembly.GetName().Version;
return includeRevisionNumber
? version
Expand Down

0 comments on commit 19d3977

Please sign in to comment.