Skip to content

Commit 8a93e97

Browse files
committed
Fixes an issue where time-based functions such as Clear-RunHistory fail on locales that do not use a colon as the time separator
1 parent b465705 commit 8a93e97

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,6 @@ GeneratedArtifacts/
188188
_Pvt_Extensions/
189189
ModelManifest.xml
190190

191-
[pP]ackages/
191+
[pP]ackages/
192+
193+
.vs/

src/Lithnet.Miiserver.Automation.Setup/Lithnet.Miiserver.Automation.Setup.wixproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</ItemGroup>
5050
<Import Project="$(WixTargetsPath)" />
5151
<PropertyGroup>
52-
<PostBuildEvent>"C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe" sign /sha1 5ce168989b1359309dddee460c10e96fa60fa78b /t http://time.certum.pl /v $(TargetFileName)</PostBuildEvent>
52+
<PostBuildEvent>"C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe" sign /sha1 "$(CSCERTTHUMBPRINT)" /t http://timestamp.digicert.com /fd sha256 /v "$(TargetFileName)"</PostBuildEvent>
5353
</PropertyGroup>
5454
<!--
5555
To modify your build process, add your task inside one of the targets below and uncomment it.

src/Lithnet.Miiserver.Automation/Lithnet.Miiserver.Automation.csproj

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@
3535
<Prefer32Bit>false</Prefer32Bit>
3636
</PropertyGroup>
3737
<ItemGroup>
38-
<Reference Include="Lithnet.Miiserver.Client, Version=1.0.6429.34741, Culture=neutral, processorArchitecture=MSIL">
39-
<HintPath>..\packages\Lithnet.Miiserver.Client.1.0.6429.34741\lib\net45\Lithnet.Miiserver.Client.dll</HintPath>
38+
<Reference Include="Lithnet.Miiserver.Client, Version=1.0.6954.35963, Culture=neutral, processorArchitecture=MSIL">
39+
<HintPath>..\packages\Lithnet.Miiserver.Client.1.0.6954.35963\lib\net45\Lithnet.Miiserver.Client.dll</HintPath>
40+
</Reference>
41+
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
42+
<HintPath>..\packages\Newtonsoft.Json.11.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
4043
</Reference>
4144
<Reference Include="System" />
4245
<Reference Include="System.Core" />
@@ -150,7 +153,10 @@
150153
$(PostBuildEventDependsOn);
151154
PostBuildMacros;
152155
</PostBuildEventDependsOn>
153-
<PostBuildEvent>"C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe" sign /sha1 5ce168989b1359309dddee460c10e96fa60fa78b /t http://time.certum.pl /v $(TargetFileName)
156+
<PostBuildEvent>"C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe" sign /sha1 "$(CSCERTTHUMBPRINT)" /t http://timestamp.digicert.com /fd sha256 /v "$(TargetFileName)"
157+
158+
"C:\Program Files\Debugging Tools for Windows (x64)\symstore" add /f "$(TargetDir)*.pdb" /s \\localhost\symbols /t "$(ProjectName)" /v "@(VersionNumber)"
159+
154160
echo Assembly Version: @(VersionNumber)</PostBuildEvent>
155161
</PropertyGroup>
156162
<Target Name="AfterBuild">

src/Lithnet.Miiserver.Automation/LithnetMIISAutomation.Help.pshproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<ModuleObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fVersion="1.1" type="Manifest" mclass="Module" useSupports="false">
33
<Name>LithnetMIISAutomation</Name>
4-
<Version>1.0.6429.34787</Version>
4+
<Version>1.0.6954.36015</Version>
55
<Description>Lithnet PowerShell Module for FIM Synchronization Service</Description>
66
<HasManifest>true</HasManifest>
77
<Provider/>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Lithnet.Miiserver.Client" version="1.0.6429.34741" targetFramework="net45" />
3+
<package id="Lithnet.Miiserver.Client" version="1.0.6954.35963" targetFramework="net45" />
4+
<package id="Newtonsoft.Json" version="11.0.1" targetFramework="net45" />
45
</packages>

0 commit comments

Comments
 (0)