Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 198a6d5

Browse files
Merge branch 'master' into dev
2 parents 65cae52 + 07a2099 commit 198a6d5

4 files changed

Lines changed: 30 additions & 9 deletions

File tree

default.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ task CreateNuGetPackage -depends Compile {
6969
new-item $dist_directory\lib\net45 -type directory
7070
copy-item $output_directory\net45\IdentityModel.Net45.dll $dist_directory\lib\net45\
7171
copy-item $output_directory\net45\IdentityModel.Net45.pdb $dist_directory\lib\net45\
72-
73-
new-item $dist_directory\lib\portable-net45+win8+wpa81 -type directory
74-
copy-item $output_directory\portable\IdentityModel.Portable.dll $dist_directory\lib\portable-net45+win8+wpa81\
75-
copy-item $output_directory\portable\IdentityModel.Portable.pdb $dist_directory\lib\portable-net45+win8+wpa81\
72+
73+
new-item $dist_directory\lib\portable-net45+wp80+win8+wpa81 -type directory
74+
copy-item $output_directory\portable\IdentityModel.Portable.dll $dist_directory\lib\portable-net45+wp80+win8+wpa81\
75+
copy-item $output_directory\portable\IdentityModel.Portable.pdb $dist_directory\lib\portable-net45+wp80+win8+wpa81\
7676

7777
exec { . $nuget_path pack $dist_directory\IdentityModel.nuspec -BasePath $dist_directory -o $dist_directory -version $packageVersion }
7878
}

source/IdentityModel.Portable/IdentityModel.Portable.csproj

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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>
16+
<TargetFrameworkProfile>Profile259</TargetFrameworkProfile>
1717
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1818
</PropertyGroup>
1919
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -40,12 +40,29 @@
4040
<Reference Include="Newtonsoft.Json">
4141
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\portable-net45+wp80+win8+wpa81+aspnetcore50\Newtonsoft.Json.dll</HintPath>
4242
</Reference>
43+
<Reference Include="System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
44+
<HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll</HintPath>
45+
<Private>True</Private>
46+
</Reference>
47+
<Reference Include="System.Net.Http.Extensions, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
48+
<HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Extensions.dll</HintPath>
49+
<Private>True</Private>
50+
</Reference>
51+
<Reference Include="System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
52+
<HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Primitives.dll</HintPath>
53+
<Private>True</Private>
54+
</Reference>
4355
</ItemGroup>
4456
<ItemGroup>
4557
<None Include="packages.config" />
4658
</ItemGroup>
4759
<Import Project="..\IdentityModel.Shared\IdentityModel.Shared.projitems" Label="Shared" Condition="Exists('..\IdentityModel.Shared\IdentityModel.Shared.projitems')" />
4860
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
61+
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
62+
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
63+
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
64+
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
65+
</Target>
4966
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5067
Other similar extension points exist, see Microsoft.Common.targets.
5168
<Target Name="BeforeBuild">
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="portable-net45+win+wpa81" />
3+
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="portable45-net45+win8+wp8+wpa81" />
4+
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="portable45-net45+win8+wp8+wpa81" />
5+
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="portable45-net45+win8+wp8+wpa81" />
6+
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="portable-net45+win8+wpa81" />
47
</packages>

source/IdentityModel.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525
</frameworkAssemblies>
2626

2727
<dependencies>
28-
<group targetFramework="portable-net45+win+wpa81">
29-
<dependency id="Newtonsoft.Json" version="6.0.8" />
28+
<group targetFramework="portable-net45+wp80+win8+wpa81">
29+
<dependency id="Newtonsoft.Json" version="6.0.8" />
30+
<dependency id="Microsoft.Net.Http" version="2.2.28"/>
3031
</group>
3132

3233
<group targetFramework="net45">
33-
<dependency id="Newtonsoft.Json" version="6.0.8" />
34+
<dependency id="Newtonsoft.Json" version="6.0.8" />
3435
</group>
3536
</dependencies>
3637
</metadata>

0 commit comments

Comments
 (0)