Skip to content
This repository has been archived by the owner on Dec 3, 2017. It is now read-only.

Commit

Permalink
Update to just use netstandard.library
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Aug 10, 2016
1 parent 5cc1259 commit e372c46
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 49 deletions.
33 changes: 2 additions & 31 deletions Portable.BouncyCastle.nuspec
Expand Up @@ -42,42 +42,13 @@
<language>en-US</language>
<tags>bouncycastle, cryptography, encryption, security, PCL, wp8, wpa81, coreclr, netstandard, dnx, uwp, sl5, monotouch, monoandroid, xamarin, xamarin.ios</tags>
<dependencies>
<group targetFramework="portable-net45+win8+wpa81+wp8" />
<group targetFramework="netstandard1.0">
<dependency id="System.Collections" version="4.0.11" />
<dependency id="System.Diagnostics.Debug" version="4.0.11" />
<dependency id="System.Globalization" version="4.0.11" />
<dependency id="System.IO" version="4.1.0" />
<dependency id="System.Linq" version="4.1.0" />
<dependency id="System.Reflection" version="4.1.0" />
<dependency id="System.Reflection.Extensions" version="4.0.1" />
<dependency id="System.Runtime" version="4.1.0" />
<dependency id="System.Runtime.Extensions" version="4.1.0" />
<dependency id="System.Text.Encoding" version="4.0.11" />
<dependency id="System.Threading" version="4.0.11" />
<dependency id="System.Threading.Tasks" version="4.0.11" />
</group>
<group targetFramework="netstandard1.3">
<dependency id="System.Collections" version="4.0.11" />
<dependency id="System.Diagnostics.Debug" version="4.0.11" />
<dependency id="System.Globalization" version="4.0.11" />
<dependency id="System.IO" version="4.1.0" />
<dependency id="System.IO.FileSystem" version="4.0.1" />
<dependency id="System.IO.FileSystem.Primitives" version="4.0.1" />
<dependency id="System.Linq" version="4.1.0" />
<dependency id="System.Reflection" version="4.1.0" />
<dependency id="System.Reflection.Extensions" version="4.0.1" />
<dependency id="System.Runtime" version="4.1.0" />
<dependency id="System.Runtime.Extensions" version="4.1.0" />
<dependency id="System.Text.Encoding" version="4.0.11" />
<dependency id="System.Threading" version="4.0.11" />
<dependency id="System.Threading.Tasks" version="4.0.11" />
</group>
<dependency id="NETStandard.Library" version="1.6.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="Crypto\Readme.html" target="Readme.html" />
<file src="Crypto\bin\pcl\Release\crypto.*" exclude="**\*.srcsrv" target="lib\portable-net4+sl5+wp8+win8+wpa81" />
<file src="Crypto\bin\pcl2\Release\crypto.*" exclude="**\*.srcsrv" target="lib\netstandard1.0" />
<file src="Crypto\bin\dotnet\Release\crypto.*" exclude="**\*.srcsrv" target="lib\netstandard1.3" />
</files>
Expand Down
7 changes: 0 additions & 7 deletions crypto/crypto.dotnet.csproj
Expand Up @@ -72,13 +72,6 @@
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<ItemGroup>
<!-- NuSpec file must be specified as name does not match dll name -->
<NuSpecFile Include="$(SolutionDir)Portable.BouncyCastle.nuspec" />
</ItemGroup>
<PropertyGroup>
<NuSpecTfm>netstandard1.3</NuSpecTfm>
</PropertyGroup>
<ItemGroup>
<None Include="..\BouncyCastle.snk">
<Link>BouncyCastle.snk</Link>
Expand Down
3 changes: 1 addition & 2 deletions crypto/crypto.dotnet.project.json
Expand Up @@ -2,8 +2,7 @@
"supports": {
},
"dependencies": {
"NETStandard.Library": "1.6.0",
"NuSpec.ReferenceGenerator": "2.0.0-beta-bld14"
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.3": {
Expand Down
7 changes: 0 additions & 7 deletions crypto/crypto.pcl2.csproj
Expand Up @@ -72,13 +72,6 @@
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<NuSpecTfm>netstandard1.0</NuSpecTfm>
</PropertyGroup>
<ItemGroup>
<!-- NuSpec file must be specified as name does not match dll name -->
<NuSpecFile Include="$(SolutionDir)Portable.BouncyCastle.nuspec" />
</ItemGroup>
<ItemGroup>
<Compile Include="src\**\*.cs" />
<Compile Include="bzip2\**\*.cs" />
Expand Down
3 changes: 1 addition & 2 deletions crypto/crypto.pcl2.project.json
Expand Up @@ -2,8 +2,7 @@
"supports": {
},
"dependencies": {
"NETStandard.Library": "1.6.0",
"NuSpec.ReferenceGenerator": "2.0.0-beta-bld14"
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.0": {
Expand Down

2 comments on commit e372c46

@sajagi
Copy link

@sajagi sajagi commented on e372c46 Dec 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Oren, would it be possible to add license information to the nuspec / readme file in the nuget package? Currently there is only an invalid link in the readme file, which doesn't point anywhere if opened from nuget package. I am aware that BC is in public domain, but without explicitly stating that we'd be in gray area. We'd like to use and possibly redistribute your package. Thanks!

@clairernovotny
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sajagi,

Two things....I can include the Readme.md/license.html in the nupkg next time it goes out, but that's likely to be a while. Meanwhile, they are referenced in the repo itself:

https://github.com/onovotny/BouncyCastle-PCL/blob/pcl/README.md

Second thing -- The repo has been moved to https://github.com/onovotny/bc-csharp (with the same changes in it)

Please sign in to comment.