From 23f2c9dcaad294423929ac1b031f2273b9f7733a Mon Sep 17 00:00:00 2001 From: Evan Dixon Date: Fri, 12 May 2017 12:16:11 -0500 Subject: [PATCH] Add missing package for MemeCrypto in .Net Framework Closes #1123 --- PKHeX.WinForms/PKHeX.WinForms.csproj | 10 ++++++++-- PKHeX.WinForms/packages.config | 4 +++- Tests/PKHeX.Tests/PKHeX.Tests.csproj | 12 +++++++++-- .../Saves/Substructures/MemeCryptoTests.cs | 20 +++++++++++++++++++ Tests/PKHeX.Tests/packages.config | 4 +++- 5 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 Tests/PKHeX.Tests/Saves/Substructures/MemeCryptoTests.cs diff --git a/PKHeX.WinForms/PKHeX.WinForms.csproj b/PKHeX.WinForms/PKHeX.WinForms.csproj index ecfd20547..0fce22803 100644 --- a/PKHeX.WinForms/PKHeX.WinForms.csproj +++ b/PKHeX.WinForms/PKHeX.WinForms.csproj @@ -140,8 +140,8 @@ - - ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll + + ..\packages\System.Console.4.0.0\lib\net46\System.Console.dll @@ -152,6 +152,12 @@ ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll + + ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll + + + ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll + diff --git a/PKHeX.WinForms/packages.config b/PKHeX.WinForms/packages.config index 575bf90c7..e06449545 100644 --- a/PKHeX.WinForms/packages.config +++ b/PKHeX.WinForms/packages.config @@ -1,6 +1,8 @@  - + + + \ No newline at end of file diff --git a/Tests/PKHeX.Tests/PKHeX.Tests.csproj b/Tests/PKHeX.Tests/PKHeX.Tests.csproj index 697960370..666e4aa0e 100644 --- a/Tests/PKHeX.Tests/PKHeX.Tests.csproj +++ b/Tests/PKHeX.Tests/PKHeX.Tests.csproj @@ -58,8 +58,8 @@ - - ..\..\packages\System.Console.4.3.0\lib\net46\System.Console.dll + + ..\..\packages\System.Console.4.0.0\lib\net46\System.Console.dll ..\..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll @@ -67,6 +67,12 @@ ..\..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll + + ..\..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll + + + ..\..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll + @@ -84,6 +90,7 @@ + @@ -99,6 +106,7 @@ + diff --git a/Tests/PKHeX.Tests/Saves/Substructures/MemeCryptoTests.cs b/Tests/PKHeX.Tests/Saves/Substructures/MemeCryptoTests.cs new file mode 100644 index 000000000..f76c18e4d --- /dev/null +++ b/Tests/PKHeX.Tests/Saves/Substructures/MemeCryptoTests.cs @@ -0,0 +1,20 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using PKHeX.Core; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PKHeX.Tests.Saves.Substructures +{ + [TestClass] + public class MemeCryptoTests + { + [TestMethod] + public void CanUseMemeCrypto() + { + Assert.IsTrue(MemeCrypto.CanUseMemeCrypto()); + } + } +} diff --git a/Tests/PKHeX.Tests/packages.config b/Tests/PKHeX.Tests/packages.config index 575bf90c7..e06449545 100644 --- a/Tests/PKHeX.Tests/packages.config +++ b/Tests/PKHeX.Tests/packages.config @@ -1,6 +1,8 @@  - + + + \ No newline at end of file