Fix build warnings
This commit is contained in:
parent
3aa2febb6f
commit
05602d36db
|
|
@ -10,7 +10,7 @@
|
||||||
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
|
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
|
||||||
"Newtonsoft.Json": "8.0.3"
|
"Newtonsoft.Json": "8.0.3"
|
||||||
},
|
},
|
||||||
"compilationOptions": {
|
"buildOptions": {
|
||||||
"emitEntryPoint": true
|
"emitEntryPoint": true
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
|
|
@ -27,10 +27,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"content": [
|
"publishOptions": {
|
||||||
"wwwroot",
|
"include": [
|
||||||
"web.config"
|
"wwwroot",
|
||||||
],
|
"web.config"
|
||||||
|
]
|
||||||
|
},
|
||||||
"tools": {
|
"tools": {
|
||||||
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
|
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
|
||||||
"version": "1.0.0-*",
|
"version": "1.0.0-*",
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"description": "An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks.",
|
"description": "An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks.",
|
||||||
"tags": [
|
|
||||||
"aspnetcore",
|
|
||||||
"antiforgery"
|
|
||||||
],
|
|
||||||
"version": "1.0.0-*",
|
"version": "1.0.0-*",
|
||||||
"compilationOptions": {
|
"buildOptions": {
|
||||||
"warningsAsErrors": true,
|
"warningsAsErrors": true,
|
||||||
"keyFile": "../../tools/Key.snk",
|
"keyFile": "../../tools/Key.snk",
|
||||||
"nowarn": [
|
"nowarn": [
|
||||||
|
|
@ -13,9 +9,15 @@
|
||||||
],
|
],
|
||||||
"xmlDoc": true
|
"xmlDoc": true
|
||||||
},
|
},
|
||||||
"repository": {
|
"packOptions": {
|
||||||
"type": "git",
|
"repository": {
|
||||||
"url": "git://github.com/aspnet/antiforgery"
|
"type": "git",
|
||||||
|
"url": "git://github.com/aspnet/antiforgery"
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"aspnetcore",
|
||||||
|
"antiforgery"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.DataProtection": "1.0.0-*",
|
"Microsoft.AspNetCore.DataProtection": "1.0.0-*",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"dotnet-test-xunit": "1.0.0-*",
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
||||||
"AntiforgerySample": "1.0.0-*",
|
"AntiforgerySample": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
||||||
|
|
@ -15,7 +16,6 @@
|
||||||
},
|
},
|
||||||
"moq.netcore": "4.4.0-beta8",
|
"moq.netcore": "4.4.0-beta8",
|
||||||
"System.Net.Http": "4.0.1-*",
|
"System.Net.Http": "4.0.1-*",
|
||||||
"dotnet-test-xunit": "1.0.0-*",
|
|
||||||
"System.Diagnostics.Process": "4.1.0-*"
|
"System.Diagnostics.Process": "4.1.0-*"
|
||||||
},
|
},
|
||||||
"imports": [
|
"imports": [
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"compilationOptions": {
|
"buildOptions": {
|
||||||
"warningsAsErrors": true,
|
"warningsAsErrors": true,
|
||||||
"keyFile": "../../tools/Key.snk"
|
"keyFile": "../../tools/Key.snk"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"dotnet-test-xunit": "1.0.0-*",
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
||||||
"Microsoft.AspNetCore.Antiforgery": "1.0.0-*",
|
"Microsoft.AspNetCore.Antiforgery": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Http": "1.0.0-*",
|
"Microsoft.AspNetCore.Http": "1.0.0-*",
|
||||||
|
|
@ -22,7 +23,6 @@
|
||||||
"type": "platform"
|
"type": "platform"
|
||||||
},
|
},
|
||||||
"moq.netcore": "4.4.0-beta8",
|
"moq.netcore": "4.4.0-beta8",
|
||||||
"dotnet-test-xunit": "1.0.0-*",
|
|
||||||
"System.Diagnostics.Process": "4.1.0-*",
|
"System.Diagnostics.Process": "4.1.0-*",
|
||||||
"System.Diagnostics.TraceSource": "4.0.0-*"
|
"System.Diagnostics.TraceSource": "4.0.0-*"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue