Skip to content

Commit 413a4c5

Browse files
committed
Alter PCL targets to support profile 158 and rebuild with new version. Update nuget package.
1 parent 046fd71 commit 413a4c5

File tree

10 files changed

+20
-18
lines changed

10 files changed

+20
-18
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.5</version>
5+
<version>1.0.6</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.3.nupkg
1+
.nuget\nuget push Yort.Ntp.Portable.1.0.6.nupkg
22
pause

src/Yort.Ntp.Android/Yort.Ntp.Android.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<DebugType>full</DebugType>
2323
<Optimize>false</Optimize>
2424
<OutputPath>bin\Debug\</OutputPath>
25-
<DefineConstants>TRACE;DEBUG;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY</DefineConstants>
25+
<DefineConstants>TRACE;DEBUG;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
2626
<ErrorReport>prompt</ErrorReport>
2727
<WarningLevel>4</WarningLevel>
2828
<DocumentationFile>bin\Debug\Yort.Ntp.XML</DocumentationFile>
@@ -31,7 +31,7 @@
3131
<DebugType>pdbonly</DebugType>
3232
<Optimize>true</Optimize>
3333
<OutputPath>bin\Release\</OutputPath>
34-
<DefineConstants>TRACE;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY</DefineConstants>
34+
<DefineConstants>TRACE;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
3535
<ErrorReport>prompt</ErrorReport>
3636
<WarningLevel>4</WarningLevel>
3737
<DocumentationFile>bin\Release\Yort.Ntp.XML</DocumentationFile>

src/Yort.Ntp.Net40/Yort.Ntp.Net40.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\Debug\</OutputPath>
20-
<DefineConstants>TRACE;DEBUG;SUPPORTS_SERIALISATION</DefineConstants>
20+
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;SUPPORTS_SERIALISATION;SUPPORTS_COMVISIBLE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
2323
<DocumentationFile>bin\Debug\Yort.Ntp.XML</DocumentationFile>
@@ -28,7 +28,7 @@
2828
<DebugType>pdbonly</DebugType>
2929
<Optimize>true</Optimize>
3030
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE;SUPPORTS_SERIALISATION</DefineConstants>
31+
<DefineConstants>TRACE;CODE_ANALYSIS;SUPPORTS_SERIALISATION;SUPPORTS_COMVISIBLE</DefineConstants>
3232
<ErrorReport>prompt</ErrorReport>
3333
<WarningLevel>4</WarningLevel>
3434
<DocumentationFile>bin\Release\Yort.Ntp.XML</DocumentationFile>

src/Yort.Ntp.Net45/Yort.Ntp.Net45.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\Debug\</OutputPath>
20-
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;SUPPORTS_TASKASYNC;SUPPORTS_SERIALISATION;SUPPORTS_TASKDELAY</DefineConstants>
20+
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;SUPPORTS_TASKASYNC;SUPPORTS_SERIALISATION;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
2323
<DocumentationFile>bin\Debug\Yort.Ntp.Net45.XML</DocumentationFile>
@@ -28,7 +28,7 @@
2828
<DebugType>pdbonly</DebugType>
2929
<Optimize>true</Optimize>
3030
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE;CODE_ANALYSIS;SUPPORTS_TASKASYNC;SUPPORTS_SERIALISATION;SUPPORTS_TASKDELAY</DefineConstants>
31+
<DefineConstants>TRACE;CODE_ANALYSIS;CODE_ANALYSIS;SUPPORTS_TASKASYNC;SUPPORTS_SERIALISATION;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
3232
<ErrorReport>prompt</ErrorReport>
3333
<WarningLevel>4</WarningLevel>
3434
<DocumentationFile>bin\Release\Yort.Ntp.Net45.XML</DocumentationFile>

src/Yort.Ntp.Portable/Yort.Ntp.Portable.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<DefaultLanguage>en-US</DefaultLanguage>
1414
<FileAlignment>512</FileAlignment>
1515
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
16-
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile>
17-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
16+
<TargetFrameworkProfile>Profile328</TargetFrameworkProfile>
17+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1818
</PropertyGroup>
1919
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2020
<DebugSymbols>true</DebugSymbols>

src/Yort.Ntp.SharedImplementation/AssemblyInfoCommon.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
// Setting ComVisible to false makes the types in this assembly not visible
2020
// to COM components. If you need to access a type in this assembly from
2121
// COM, set the ComVisible attribute to true on that type.
22+
#if SUPPORTS_COMVISIBLE
2223
[assembly: ComVisible(false)]
24+
#endif
2325

2426
[assembly: System.CLSCompliant(false)]
2527

@@ -30,5 +32,5 @@
3032
// Build Number
3133
// Revision
3234
//
33-
[assembly: AssemblyVersion("1.0.0.5")]
34-
[assembly: AssemblyFileVersion("1.0.0.5")]
35+
[assembly: AssemblyVersion("1.0.0.6")]
36+
[assembly: AssemblyFileVersion("1.0.0.6")]

src/Yort.Ntp.WPSL/Yort.Ntp.WPSL.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<DebugType>full</DebugType>
2525
<Optimize>false</Optimize>
2626
<OutputPath>Bin\Debug</OutputPath>
27-
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;SILVERLIGHT;WINDOWS_PHONE;USE_CONNECTASYNC;SUPPORTS_TASKDELAY</DefineConstants>
27+
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;SILVERLIGHT;WINDOWS_PHONE;USE_CONNECTASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
2828
<NoStdLib>true</NoStdLib>
2929
<NoConfig>true</NoConfig>
3030
<ErrorReport>prompt</ErrorReport>
@@ -37,7 +37,7 @@
3737
<DebugType>pdbonly</DebugType>
3838
<Optimize>true</Optimize>
3939
<OutputPath>Bin\Release</OutputPath>
40-
<DefineConstants>TRACE;CODE_ANALYSIS;SILVERLIGHT;WINDOWS_PHONE;USE_CONNECTASYNC;SUPPORTS_TASKDELAY</DefineConstants>
40+
<DefineConstants>TRACE;CODE_ANALYSIS;CODE_ANALYSIS;SILVERLIGHT;WINDOWS_PHONE;USE_CONNECTASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
4141
<NoStdLib>true</NoStdLib>
4242
<NoConfig>true</NoConfig>
4343
<ErrorReport>prompt</ErrorReport>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<DebugType>full</DebugType>
2222
<Optimize>false</Optimize>
2323
<OutputPath>bin\Debug\</OutputPath>
24-
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;SUPPORTS_TASKASYNC;;SUPPORTS_TASKDELAY</DefineConstants>
24+
<DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
2525
<ErrorReport>prompt</ErrorReport>
2626
<WarningLevel>4</WarningLevel>
2727
<DocumentationFile>bin\Debug\Yort.Ntp.XML</DocumentationFile>
@@ -32,7 +32,7 @@
3232
<DebugType>pdbonly</DebugType>
3333
<Optimize>true</Optimize>
3434
<OutputPath>bin\Release\</OutputPath>
35-
<DefineConstants>TRACE;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;SUPPORTS_TASKASYNC;;SUPPORTS_TASKDELAY</DefineConstants>
35+
<DefineConstants>TRACE;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;CODE_ANALYSIS;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY;SUPPORTS_COMVISIBLE</DefineConstants>
3636
<ErrorReport>prompt</ErrorReport>
3737
<WarningLevel>4</WarningLevel>
3838
<DocumentationFile>bin\Release\Yort.Ntp.XML</DocumentationFile>

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__;__UNIFIED__;__MOBILE__;__IOS__;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY</DefineConstants>
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>
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__;__UNIFIED__;__MOBILE__;__IOS__;SUPPORTS_SERIALISATION;SUPPORTS_TASKASYNC;SUPPORTS_TASKDELAY</DefineConstants>
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>
4242
<DebugSymbols>true</DebugSymbols>
4343
</PropertyGroup>
4444
<ItemGroup>

0 commit comments

Comments
 (0)