Skip to content

Commit fa53ded

Browse files
author
Troy Willmot
committed
Fix error in iOS project due to DnsEndPoint not behaving the same as on Windows platforms. Closes #9
1 parent 44b4990 commit fa53ded

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

Yort.Ntp.Portable.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>Yort.Ntp.Portable</id>
5-
<version>1.0.13</version>
5+
<version>1.0.14</version>
66
<authors>Yortw</authors>
77
<owners>Troy Willmot</owners>
88
<licenseUrl>https://github.com/Yortw/Yort.Ntp/blob/master/LICENSE.md</licenseUrl>

nuget-push.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.nuget\nuget push Yort.Ntp.Portable.1.0.13.nupkg -Source https://www.nuget.org/api/v2/package
1+
.nuget\nuget push Yort.Ntp.Portable.1.0.14.nupkg -Source https://www.nuget.org/api/v2/package
22
pause

src/Yort.Ntp.Shared.StandardSockets/NtpClientStandardSockets.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private void Socket_Completed_ProcessResult(object sender, SocketAsyncEventArgs
193193
}
194194

195195
#if REQUIRES_IPENDPOINT
196-
private EndPoint ServerAddressToIPEndpoint(string serverAddress, int portNumber)
196+
private static EndPoint ServerAddressToIPEndpoint(string serverAddress, int portNumber)
197197
{
198198
IPAddress ipAddress = null;
199199
if (IPAddress.TryParse(serverAddress, out ipAddress))

src/Yort.Ntp.SharedImplementation/AssemblyInfoCommon.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Build Number
3333
// Revision
3434
//
35-
[assembly: AssemblyVersion("1.0.13.0")]
36-
[assembly: AssemblyFileVersion("1.0.13.0")]
35+
[assembly: AssemblyVersion("1.0.14.0")]
36+
[assembly: AssemblyFileVersion("1.0.14.0")]

src/Yort.Ntp.WinRT.Tests/Yort.Ntp.WinRT.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PackageCertificateKeyFile>Yort.Ntp.WinRT.Tests_TemporaryKey.pfx</PackageCertificateKeyFile>
2020
<AppxBundle>Never</AppxBundle>
2121
<AllowCrossPlatformRetargeting>False</AllowCrossPlatformRetargeting>
22-
<PackageCertificateThumbprint>C15384C253DF994BA4BE61D5C85861138F942EF7</PackageCertificateThumbprint>
22+
<PackageCertificateThumbprint>BAFFC09FDDE2EF3EEED2CE8B0C1CEAF36F9F200D</PackageCertificateThumbprint>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2525
<PlatformTarget>AnyCPU</PlatformTarget>
56 Bytes
Binary file not shown.

src/Yort.Ntp.iOS/Yort.Ntp.iOS.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<DebugType>full</DebugType>
1818
<Optimize>false</Optimize>
1919
<OutputPath>bin\iPhone\Debug</OutputPath>
20-
<DefineConstants>DEBUG;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
20+
<DefineConstants>DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE;REQUIRES_IPENDPOINT</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
2323
<ConsolePause>false</ConsolePause>
@@ -38,7 +38,7 @@
3838
<DocumentationFile>bin\iPhone\Release\Yort.Ntp.XML</DocumentationFile>
3939
<RunCodeAnalysis>true</RunCodeAnalysis>
4040
<CodeAnalysisRuleSet>..\Yort.Ntp.CodeAnalysis.ruleset</CodeAnalysisRuleSet>
41-
<DefineConstants>CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
41+
<DefineConstants>CODE_ANALYSIS;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;CODE_ANALYSIS;__UNIFIED__;__MOBILE__;__IOS__;__UNIFIED__;__MOBILE__;__IOS__;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE;REQUIRES_IPENDPOINT</DefineConstants>
4242
<DebugSymbols>true</DebugSymbols>
4343
</PropertyGroup>
4444
<ItemGroup>

src/codealike.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"projectId":"c98b7808-50aa-42af-87ac-42ec33a48ff3","projectName":"Yort.Ntp","neverTrack":false}

0 commit comments

Comments
 (0)