From 2931ba622ace54a3d4cacd96006dcda16e3350ca Mon Sep 17 00:00:00 2001 From: John Simons Date: Tue, 7 Jan 2014 19:52:13 +1100 Subject: [PATCH] Fixes #4321 --- packaging/nuget/tools/init.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/nuget/tools/init.ps1 b/packaging/nuget/tools/init.ps1 index 6d68f066915..51c53f6bae0 100644 --- a/packaging/nuget/tools/init.ps1 +++ b/packaging/nuget/tools/init.ps1 @@ -18,7 +18,7 @@ Write-Host "" $nserviceBusKeyPath = "HKCU:SOFTWARE\NServiceBus" $machinePreparedKey = "MachinePrepared" $machinePrepared = $false -$versionParts = $package.Version.Split('.') +$versionParts = $package.Version.ToString().Split('.') $nservicebusVersion = $versionParts[0] if($versionParts.Length -gt 1) {