Skip to content

Commit 5af55b4

Browse files
Updated Automation SDK dll package to 1.0.1
1 parent bdfd60c commit 5af55b4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@
9292
<SpecificVersion>False</SpecificVersion>
9393
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll</HintPath>
9494
</Reference>
95-
<Reference Include="Microsoft.WindowsAzure.Management.Automation">
96-
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Automation.1.0.0\lib\net40\Microsoft.WindowsAzure.Management.Automation.dll</HintPath>
95+
<Reference Include="Microsoft.WindowsAzure.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
96+
<SpecificVersion>False</SpecificVersion>
97+
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Automation.1.0.1\lib\net40\Microsoft.WindowsAzure.Management.Automation.dll</HintPath>
9798
</Reference>
9899
<Reference Include="Newtonsoft.Json">
99100
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>

src/ServiceManagement/Automation/Commands.Automation/Model/Job.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ public Job(string accountName, WindowsAzure.Management.Automation.Models.Job job
4747
this.Id = job.Properties.JobId;
4848
this.CreationTime = job.Properties.CreationTime.ToLocalTime();
4949
this.LastModifiedTime = job.Properties.LastModifiedTime.ToLocalTime();
50-
this.StartTime = job.Properties.StartTime.HasValue ? job.Properties.StartTime : null;
50+
this.StartTime = job.Properties.StartTime.HasValue ? job.Properties.StartTime.Value.ToLocalTime() : (DateTimeOffset?)null;
5151
this.Status = job.Properties.Status;
5252
this.StatusDetails = job.Properties.StatusDetails;
5353
this.RunbookName = job.Properties.Runbook.Name;
5454
this.Exception = job.Properties.Exception;
55-
this.EndTime = job.Properties.EndTime.HasValue ? job.Properties.StartTime : null;
55+
this.EndTime = job.Properties.EndTime.HasValue ? job.Properties.EndTime.Value.ToLocalTime() : (DateTimeOffset?) null;
5656
this.LastStatusModifiedTime = job.Properties.LastStatusModifiedTime;
5757
this.JobParameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase);
5858
foreach (var kvp in job.Properties.Parameters.Where(kvp => 0 != String.Compare(kvp.Key, Constants.JobStartedByParameterName, CultureInfo.InvariantCulture,

src/ServiceManagement/Automation/Commands.Automation/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.12.111071459" targetFramework="net45" />
1212
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
1313
<package id="Microsoft.WindowsAzure.Management" version="4.0.1" targetFramework="net45" />
14-
<package id="Microsoft.WindowsAzure.Management.Automation" version="1.0.0" targetFramework="net45" />
14+
<package id="Microsoft.WindowsAzure.Management.Automation" version="1.0.1" targetFramework="net45" />
1515
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" />
1616
</packages>

0 commit comments

Comments
 (0)