Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:05 -07:00
parent 3aa2febb6f
commit 05602d36db
4 changed files with 20 additions and 16 deletions

View File

@ -10,7 +10,7 @@
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Newtonsoft.Json": "8.0.3"
},
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
@ -27,10 +27,12 @@
}
}
},
"content": [
"wwwroot",
"web.config"
],
"publishOptions": {
"include": [
"wwwroot",
"web.config"
]
},
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-*",

View File

@ -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.",
"tags": [
"aspnetcore",
"antiforgery"
],
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [
@ -13,9 +9,15 @@
],
"xmlDoc": true
},
"repository": {
"type": "git",
"url": "git://github.com/aspnet/antiforgery"
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/aspnet/antiforgery"
},
"tags": [
"aspnetcore",
"antiforgery"
]
},
"dependencies": {
"Microsoft.AspNetCore.DataProtection": "1.0.0-*",

View File

@ -1,5 +1,6 @@
{
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"AntiforgerySample": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
@ -15,7 +16,6 @@
},
"moq.netcore": "4.4.0-beta8",
"System.Net.Http": "4.0.1-*",
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*"
},
"imports": [

View File

@ -1,9 +1,10 @@
{
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Antiforgery": "1.0.0-*",
"Microsoft.AspNetCore.Http": "1.0.0-*",
@ -22,7 +23,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-*"
},