From 5abd3bf0765e5981b7a153734503677981db2c51 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 2 May 2016 11:27:08 -0700 Subject: [PATCH] Fix build warnings --- .../project.json | 18 ++++++----- .../project.json | 18 ++++++----- .../project.json | 18 ++++++----- .../project.json | 18 ++++++----- .../project.json | 18 ++++++----- .../project.json | 32 +++++++++++-------- .../project.json | 18 ++++++----- .../project.json | 4 +-- .../project.json | 4 +-- .../project.json | 4 +-- .../project.json | 4 +-- .../project.json | 4 +-- 12 files changed, 89 insertions(+), 71 deletions(-) diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/project.json b/src/Microsoft.AspNetCore.Cryptography.Internal/project.json index c130048..933534b 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/project.json +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/project.json @@ -1,13 +1,15 @@ { "version": "1.0.0-*", "description": "Infrastructure for ASP.NET Core cryptographic packages. Applications and libraries should not reference this package directly.", - "tags": [ - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnetcore", + "dataprotection" + ] }, "dependencies": {}, "frameworks": { @@ -23,7 +25,7 @@ } } }, - "compilationOptions": { + "buildOptions": { "allowUnsafe": true, "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json index 7a0db92..5379778 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json @@ -1,13 +1,15 @@ { "version": "1.0.0-*", "description": "ASP.NET Core utilities for key derivation.", - "tags": [ - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnetcore", + "dataprotection" + ] }, "dependencies": { "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*" @@ -22,7 +24,7 @@ } } }, - "compilationOptions": { + "buildOptions": { "allowUnsafe": true, "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json b/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json index 34fe504..994d8b9 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json @@ -1,13 +1,15 @@ { "version": "1.0.0-*", "description": "ASP.NET Core data protection abstractions.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.DataProtection.IDataProtectionProvider\r\nMicrosoft.AspNetCore.DataProtection.IDataProtector", - "tags": [ - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnetcore", + "dataprotection" + ] }, "dependencies": { "Microsoft.AspNetCore.DataProtection.Sources": { @@ -26,7 +28,7 @@ } } }, - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json b/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json index ed0f52f..8c5d114 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json @@ -1,13 +1,15 @@ { "version": "1.0.0-*", "description": "Additional APIs for ASP.NET Core data protection.", - "tags": [ - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnetcore", + "dataprotection" + ] }, "dependencies": { "Microsoft.AspNetCore.DataProtection": "1.0.0-*", @@ -21,7 +23,7 @@ "net451": {}, "netstandard1.3": {} }, - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ diff --git a/src/Microsoft.AspNetCore.DataProtection.Sources/project.json b/src/Microsoft.AspNetCore.DataProtection.Sources/project.json index 533e0da..cdb516f 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Sources/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.Sources/project.json @@ -1,13 +1,15 @@ { "version": "1.0.0-*", "description": "ASP.NET Core data protection shared code.", - "tags": [ - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnetcore", + "dataprotection" + ] }, "dependencies": {}, "frameworks": { @@ -20,7 +22,7 @@ } }, "shared": "**\\*.cs", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" } diff --git a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json index 415a9ad..7c9efdf 100644 --- a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json @@ -1,14 +1,21 @@ { "version": "1.0.0-*", "description": "A component to allow the ASP.NET Core data protection stack to work with the ASP.NET 4.x element.", - "tags": [ - "aspnet", - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnet", + "aspnetcore", + "dataprotection" + ], + "files": { + "mappings": { + "content/net451/": "web.config.transform" + } + } }, "frameworks": { "net451": { @@ -23,13 +30,12 @@ } } }, - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", - "nowarn": [ "CS1591" ], + "nowarn": [ + "CS1591" + ], "xmlDoc": true - }, - "packInclude": { - "content/net451/": "web.config.transform" } } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.DataProtection/project.json b/src/Microsoft.AspNetCore.DataProtection/project.json index 72904cc..bb7cc6e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/project.json +++ b/src/Microsoft.AspNetCore.DataProtection/project.json @@ -1,13 +1,15 @@ { "version": "1.0.0-*", "description": "ASP.NET Core logic to protect and unprotect data, similar to DPAPI.", - "tags": [ - "aspnetcore", - "dataprotection" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/dataprotection" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/dataprotection" + }, + "tags": [ + "aspnetcore", + "dataprotection" + ] }, "dependencies": { "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", @@ -44,7 +46,7 @@ } } }, - "compilationOptions": { + "buildOptions": { "allowUnsafe": true, "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json index 0d0cbf0..5c89cd3 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json @@ -1,5 +1,6 @@ { "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", "Microsoft.AspNetCore.DataProtection.Test.Shared": { @@ -16,7 +17,6 @@ "version": "1.0.0-*", "type": "platform" }, - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*" }, "imports": [ @@ -32,7 +32,7 @@ } }, "testRunner": "xunit", - "compilationOptions": { + "buildOptions": { "allowUnsafe": true, "keyFile": "../../tools/Key.snk", "warningsAsErrors": true diff --git a/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json b/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json index 7e0b8a8..8437396 100644 --- a/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json +++ b/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json @@ -1,5 +1,6 @@ { "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", "Microsoft.AspNetCore.Cryptography.KeyDerivation": "1.0.0-*", @@ -14,7 +15,6 @@ "version": "1.0.0-*", "type": "platform" }, - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*" }, "imports": [ @@ -30,7 +30,7 @@ } }, "testRunner": "xunit", - "compilationOptions": { + "buildOptions": { "allowUnsafe": true, "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" diff --git a/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json b/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json index 29ad6f9..8c0e4f1 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json +++ b/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json @@ -1,5 +1,6 @@ { "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", "Microsoft.AspNetCore.DataProtection.Abstractions": "1.0.0-*", @@ -14,7 +15,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, @@ -35,7 +35,7 @@ }, "testRunner": "xunit", "compile": "../common/**/*.cs", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" } diff --git a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json index c21da3d..dca0f8c 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json +++ b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json @@ -1,5 +1,6 @@ { "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.DataProtection.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.DataProtection.Extensions": "1.0.0-*", @@ -18,7 +19,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, @@ -38,7 +38,7 @@ } }, "testRunner": "xunit", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" } diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/project.json b/test/Microsoft.AspNetCore.DataProtection.Test/project.json index d9b0c56..78bc5b2 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/project.json +++ b/test/Microsoft.AspNetCore.DataProtection.Test/project.json @@ -1,5 +1,6 @@ { "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.DataProtection": "1.0.0-*", "Microsoft.AspNetCore.DataProtection.Test.Shared": { @@ -18,7 +19,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, @@ -37,7 +37,7 @@ } }, "testRunner": "xunit", - "compilationOptions": { + "buildOptions": { "allowUnsafe": true, "warningsAsErrors": true, "keyFile": "../../tools/Key.snk"