summary refs log tree commit diff
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-10-18 17:16:14 -0400
committerOren Novotny <oren@novotny.org>2015-10-18 17:16:14 -0400
commit1cc7bb77d61048c79d443d1f6b3ce080a97c26f5 (patch)
tree525a1c6f05c7d15537dec331d2c0aede403e8fd9
parentfix nuget restore cmd (diff)
downloadBouncyCastle.NET-ed25519-1cc7bb77d61048c79d443d1f6b3ce080a97c26f5.tar.xz
generate other tfm's as needed and ensure dotnet isn't applied to older framework versions
-rw-r--r--Portable.BouncyCastle.nuspec39
-rw-r--r--crypto/crypto.dotnet.csproj4
2 files changed, 43 insertions, 0 deletions
diff --git a/Portable.BouncyCastle.nuspec b/Portable.BouncyCastle.nuspec
index ce67ff6ba..8f29cc4d7 100644
--- a/Portable.BouncyCastle.nuspec
+++ b/Portable.BouncyCastle.nuspec
@@ -50,6 +50,45 @@
         <dependency id="System.Threading" version="4.0.10" />
         <dependency id="System.Threading.Tasks" version="4.0.10" />
       </group>
+      <group targetFramework="uap10.0">
+        <dependency id="System.Collections" version="4.0.10" />
+        <dependency id="System.Diagnostics.Debug" version="4.0.10" />
+        <dependency id="System.Globalization" version="4.0.10" />
+        <dependency id="System.IO" version="4.0.10" />
+        <dependency id="System.IO.FileSystem" version="4.0.0" />
+        <dependency id="System.IO.FileSystem.Primitives" version="4.0.0" />
+        <dependency id="System.Linq" version="4.0.0" />
+        <dependency id="System.Reflection" version="4.0.10" />
+        <dependency id="System.Reflection.Extensions" version="4.0.0" />
+        <dependency id="System.Runtime" version="4.0.20" />
+        <dependency id="System.Runtime.Extensions" version="4.0.10" />
+        <dependency id="System.Text.Encoding" version="4.0.10" />
+        <dependency id="System.Threading" version="4.0.10" />
+        <dependency id="System.Threading.Tasks" version="4.0.10" />
+      </group>
+      <group targetFramework="net46">
+        <dependency id="System.Collections" version="4.0.10" />
+        <dependency id="System.Diagnostics.Debug" version="4.0.10" />
+        <dependency id="System.Globalization" version="4.0.10" />
+        <dependency id="System.IO" version="4.0.10" />
+        <dependency id="System.IO.FileSystem" version="4.0.0" />
+        <dependency id="System.IO.FileSystem.Primitives" version="4.0.0" />
+        <dependency id="System.Linq" version="4.0.0" />
+        <dependency id="System.Reflection" version="4.0.10" />
+        <dependency id="System.Reflection.Extensions" version="4.0.0" />
+        <dependency id="System.Runtime" version="4.0.20" />
+        <dependency id="System.Runtime.Extensions" version="4.0.10" />
+        <dependency id="System.Text.Encoding" version="4.0.10" />
+        <dependency id="System.Threading" version="4.0.10" />
+        <dependency id="System.Threading.Tasks" version="4.0.10" />
+      </group>
+      <group targetFramework="net45" />
+      <group targetFramework="win8" />
+      <group targetFramework="wpa81" />
+      <group targetFramework="MonoTouch" />
+      <group targetFramework="MonoAndroid" />
+      <group targetFramework="XamarinMac" />
+      <group targetFramework="XamarinIos" />
     </dependencies>
   </metadata>
   <files>
diff --git a/crypto/crypto.dotnet.csproj b/crypto/crypto.dotnet.csproj
index 0c10e5744..dfb1d16cb 100644
--- a/crypto/crypto.dotnet.csproj
+++ b/crypto/crypto.dotnet.csproj
@@ -76,6 +76,10 @@
     <!-- NuSpec file must be specified as name does not match dll name -->
     <NuSpecFile Include="$(SolutionDir)Portable.BouncyCastle.nuspec" />
   </ItemGroup>
+  <PropertyGroup>
+    <!-- dotnet, uap10.0 & net46 tfms -->
+    <NuSpecTfm>dotnet;uap10.0;net46</NuSpecTfm>
+  </PropertyGroup>
   <ItemGroup>
     <None Include="BouncyCastle.snk" />
     <None Include="crypto.dotnet.project.json" />