Skip to content

Commit 942e740

Browse files
committed
Upgrade desktop to .NET 4.5.1
1 parent 73518cf commit 942e740

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Projects/Rijndael256/Rijndael.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ private static byte[] GenerateKey(string password, KeySize keySize)
264264
/// <returns>The symmetric encryptor.</returns>
265265
private static ICryptoTransform CreateEncryptor(string password, byte[] iv, KeySize keySize)
266266
{
267-
#if NET45
267+
#if NET451
268268
var rijndael = new RijndaelManaged { Mode = BlockCipherMode };
269269
#elif NETSTANDARD1_6
270270
var rijndael = Aes.Create();
@@ -282,7 +282,7 @@ private static ICryptoTransform CreateEncryptor(string password, byte[] iv, KeyS
282282
/// <returns>The symmetric decryptor.</returns>
283283
private static ICryptoTransform CreateDecryptor(string password, byte[] iv, KeySize keySize)
284284
{
285-
#if NET45
285+
#if NET451
286286
var rijndael = new RijndaelManaged { Mode = BlockCipherMode };
287287
#elif NETSTANDARD1_6
288288
var rijndael = Aes.Create();

Projects/Rijndael256/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131

3232
"frameworks": {
33-
"net45": {
33+
"net451": {
3434
"frameworkAssemblies": {
3535
"System.Collections.Concurrent": {
3636
"type": "build"

0 commit comments

Comments
 (0)