Skip to content

Commit f6a7985

Browse files
committed
Updating module version used in user agent
1 parent d437d06 commit f6a7985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Commands.Common/AzurePSCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ protected string PSVersion
9898
/// <summary>
9999
/// Gets PowerShell module version used for user agent header.
100100
/// </summary>
101-
protected string ModuleVersion { get { return Assembly.GetCallingAssembly().GetName().Version.ToString(); } }
101+
protected string ModuleVersion { get { return AzurePowerShell.AssemblyVersion; } }
102102

103103
/// <summary>
104104
/// The context for management cmdlet requests - includes account, tenant, subscription,

0 commit comments

Comments
 (0)