From 1c2e70bb5d4614eeff3948594067c339ec51e04c Mon Sep 17 00:00:00 2001 From: Oren Novotny Date: Wed, 27 Aug 2014 16:09:15 -0400 Subject: Add VS 2013 sln --- .gitignore | 1 + BouncyCastle-PCL.sln | 20 ++++-- crypto.tests.Net45/Properties/AssemblyInfo.cs | 36 +++++++++++ crypto.tests.Net45/crypto.tests.Net45.csproj | 81 ++++++++++++++++++++++++ crypto.tests.Net45/packages.config | 4 ++ crypto/crypto.Net45.csproj | 54 ++++++++++++++++ crypto/src/crypto/tls/LegacyTlsAuthentication.cs | 2 + crypto/src/crypto/tls/LegacyTlsClient.cs | 4 +- crypto/src/math/ec/multiplier/FpNafMultiplier.cs | 2 + crypto/src/math/ec/multiplier/WNafMultiplier.cs | 2 + crypto/test/src/util/test/SimpleTest.cs | 4 +- 11 files changed, 201 insertions(+), 9 deletions(-) create mode 100644 crypto.tests.Net45/Properties/AssemblyInfo.cs create mode 100644 crypto.tests.Net45/crypto.tests.Net45.csproj create mode 100644 crypto.tests.Net45/packages.config create mode 100644 crypto/crypto.Net45.csproj diff --git a/.gitignore b/.gitignore index 8bb56e9e2..c6e54ef1b 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ doc/ obj/ _Resharper.*/ +packages/ \ No newline at end of file diff --git a/BouncyCastle-PCL.sln b/BouncyCastle-PCL.sln index 624b845fe..3ab7a13e6 100644 --- a/BouncyCastle-PCL.sln +++ b/BouncyCastle-PCL.sln @@ -1,13 +1,17 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30723.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{43196EF9-B75F-4ABB-8967-DAFD621A7D05}" ProjectSection(SolutionItems) = preProject Portable.BouncyCastle.nuspec = Portable.BouncyCastle.nuspec README.md = README.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "crypto", "Crypto\crypto.csproj", "{38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "crypto.Net45", "crypto\crypto.Net45.csproj", "{45473847-8AF8-4BAF-B768-442C6875B8CF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "crypto.tests.Net45", "crypto.tests.Net45\crypto.tests.Net45.csproj", "{45473847-8AF8-4BAF-B768-442C6875B8CE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,10 +19,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}.Release|Any CPU.Build.0 = Release|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CF}.Release|Any CPU.Build.0 = Release|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45473847-8AF8-4BAF-B768-442C6875B8CE}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/crypto.tests.Net45/Properties/AssemblyInfo.cs b/crypto.tests.Net45/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..52472faf8 --- /dev/null +++ b/crypto.tests.Net45/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("crypto.tests.Net45")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("crypto.tests.Net45")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("22ae3209-5ce9-448c-9212-04b9e8f6361e")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/crypto.tests.Net45/crypto.tests.Net45.csproj b/crypto.tests.Net45/crypto.tests.Net45.csproj new file mode 100644 index 000000000..3d751b1ff --- /dev/null +++ b/crypto.tests.Net45/crypto.tests.Net45.csproj @@ -0,0 +1,81 @@ + + + + + Debug + AnyCPU + {45473847-8AF8-4BAF-B768-442C6875B8CE} + Library + Properties + crypto.tests + crypto.tests.Net45 + v4.5 + 512 + + + true + full + false + bin\Debug\ + TRACE;DEBUG;LIB;PCL;SILVERLIGHT + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE;LIB;PCL;SILVERLIGHT + prompt + 4 + + + + ..\crypto\test\lib\nunit.core.dll + + + ..\crypto\test\lib\nunit.core.interfaces.dll + + + ..\packages\NUnit.2.6.3\lib\nunit.framework.dll + + + + + + + + + + + + + + + %(RecursiveDir)%(Filename)%(Extension) + + + %(RecursiveDir)%(Filename)%(Extension) + + + + + + + + + + + {45473847-8af8-4baf-b768-442c6875b8cf} + crypto.Net45 + + + + + \ No newline at end of file diff --git a/crypto.tests.Net45/packages.config b/crypto.tests.Net45/packages.config new file mode 100644 index 000000000..ad37a5282 --- /dev/null +++ b/crypto.tests.Net45/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/crypto/crypto.Net45.csproj b/crypto/crypto.Net45.csproj new file mode 100644 index 000000000..14b3581f5 --- /dev/null +++ b/crypto/crypto.Net45.csproj @@ -0,0 +1,54 @@ + + + + + Debug + AnyCPU + {45473847-8AF8-4BAF-B768-442C6875B8CF} + Library + Properties + crypto + crypto + v2.0 + 512 + + + + true + full + false + bin\Debug\ + TRACE;DEBUG;LIB;PCL;SILVERLIGHT + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE;LIB;PCL;SILVERLIGHT + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/crypto/src/crypto/tls/LegacyTlsAuthentication.cs b/crypto/src/crypto/tls/LegacyTlsAuthentication.cs index 395f94208..5da9576af 100644 --- a/crypto/src/crypto/tls/LegacyTlsAuthentication.cs +++ b/crypto/src/crypto/tls/LegacyTlsAuthentication.cs @@ -1,3 +1,4 @@ +#if FALSE using System; namespace Org.BouncyCastle.Crypto.Tls @@ -28,3 +29,4 @@ namespace Org.BouncyCastle.Crypto.Tls } } } +#endif \ No newline at end of file diff --git a/crypto/src/crypto/tls/LegacyTlsClient.cs b/crypto/src/crypto/tls/LegacyTlsClient.cs index fbb9a732e..98a8bcbfc 100644 --- a/crypto/src/crypto/tls/LegacyTlsClient.cs +++ b/crypto/src/crypto/tls/LegacyTlsClient.cs @@ -1,3 +1,4 @@ +#if FALSE using System; namespace Org.BouncyCastle.Crypto.Tls @@ -23,4 +24,5 @@ namespace Org.BouncyCastle.Crypto.Tls return new LegacyTlsAuthentication(verifyer); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/crypto/src/math/ec/multiplier/FpNafMultiplier.cs b/crypto/src/math/ec/multiplier/FpNafMultiplier.cs index f5a98501a..7c034ce6e 100644 --- a/crypto/src/math/ec/multiplier/FpNafMultiplier.cs +++ b/crypto/src/math/ec/multiplier/FpNafMultiplier.cs @@ -1,3 +1,4 @@ +#if FALSE namespace Org.BouncyCastle.Math.EC.Multiplier { /** @@ -37,3 +38,4 @@ namespace Org.BouncyCastle.Math.EC.Multiplier } } } +#endif \ No newline at end of file diff --git a/crypto/src/math/ec/multiplier/WNafMultiplier.cs b/crypto/src/math/ec/multiplier/WNafMultiplier.cs index b5cf34ba8..484bb30e7 100644 --- a/crypto/src/math/ec/multiplier/WNafMultiplier.cs +++ b/crypto/src/math/ec/multiplier/WNafMultiplier.cs @@ -1,3 +1,4 @@ +#if FALSE using System; namespace Org.BouncyCastle.Math.EC.Multiplier @@ -239,3 +240,4 @@ namespace Org.BouncyCastle.Math.EC.Multiplier } } } +#endif \ No newline at end of file diff --git a/crypto/test/src/util/test/SimpleTest.cs b/crypto/test/src/util/test/SimpleTest.cs index be846e20f..10c83374d 100644 --- a/crypto/test/src/util/test/SimpleTest.cs +++ b/crypto/test/src/util/test/SimpleTest.cs @@ -119,7 +119,7 @@ namespace Org.BouncyCastle.Utilities.Test #if BC_BUILD_MONODEVELOP return "test.data." + name; #else - return "crypto.test.data." + name; + return "crypto.tests." + name; #endif } @@ -130,7 +130,7 @@ namespace Org.BouncyCastle.Utilities.Test #if BC_BUILD_MONODEVELOP return fullName.Substring("test.data.".Length); #else - return fullName.Substring("crypto.test.data.".Length); + return fullName.Substring("crypto.tests.".Length); #endif } -- cgit 1.4.1