Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:24 -07:00
parent 1101ff55ae
commit 2c4b0e8a7f
6 changed files with 54 additions and 37 deletions

View File

@ -1,13 +1,15 @@
{ {
"description": "Runtime components for rendering Razor pages.", "description": "Runtime components for rendering Razor pages.",
"version": "4.0.0-rc1-final", "version": "4.0.0-rc1-final",
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"packOptions": {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/razor" "url": "git://github.com/aspnet/razor"
}
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Html.Abstractions": "1.0.0-rc1-final", "Microsoft.AspNet.Html.Abstractions": "1.0.0-rc1-final",

View File

@ -1,15 +1,17 @@
{ {
"description": "Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure.", "description": "Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure.",
"version": "4.0.0-rc1-final", "version": "4.0.0-rc1-final",
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"packOptions": {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/razor" "url": "git://github.com/aspnet/razor"
}
}, },
"dependencies": { }, "dependencies": {},
"frameworks": { "frameworks": {
"net451": {} "net451": {}
} }

View File

@ -1,14 +1,7 @@
{ {
"description": "Runtime components for rendering Razor pages and implementing tag helpers.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute\r\nMicrosoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute\r\nMicrosoft.AspNetCore.Razor.TagHelpers.ITagHelper", "description": "Runtime components for rendering Razor pages and implementing tag helpers.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute\r\nMicrosoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute\r\nMicrosoft.AspNetCore.Razor.TagHelpers.ITagHelper",
"tags": [
"aspnetcore",
"cshtml",
"razor",
"taghelper",
"taghelpers"
],
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"warningsAsErrors": true, "warningsAsErrors": true,
@ -17,10 +10,19 @@
], ],
"xmlDoc": true "xmlDoc": true
}, },
"packOptions": {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/razor" "url": "git://github.com/aspnet/razor"
}, },
"tags": [
"aspnetcore",
"cshtml",
"razor",
"taghelper",
"taghelpers"
]
},
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Html.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.Html.Abstractions": "1.0.0-*",
"Microsoft.AspNetCore.Razor": "1.0.0-*", "Microsoft.AspNetCore.Razor": "1.0.0-*",

View File

@ -1,12 +1,7 @@
{ {
"description": "Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure.", "description": "Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure.",
"tags": [
"aspnetcore",
"cshtml",
"razor"
],
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [
@ -14,10 +9,17 @@
], ],
"xmlDoc": true "xmlDoc": true
}, },
"packOptions": {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/razor" "url": "git://github.com/aspnet/razor"
}, },
"tags": [
"aspnetcore",
"cshtml",
"razor"
]
},
"dependencies": { "dependencies": {
"Microsoft.Extensions.HashCodeCombiner.Sources": { "Microsoft.Extensions.HashCodeCombiner.Sources": {
"type": "build", "type": "build",

View File

@ -1,10 +1,11 @@
{ {
"version": "1.0.0", "version": "1.0.0",
"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.Razor.Runtime": "1.0.0-*", "Microsoft.AspNetCore.Razor.Runtime": "1.0.0-*",
"Microsoft.AspNetCore.Razor.Test.Sources": { "Microsoft.AspNetCore.Razor.Test.Sources": {
@ -27,7 +28,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.TraceSource": "4.0.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"

View File

@ -1,7 +1,7 @@
{ {
"version": "1.0.0", "version": "1.0.0",
"resource": "TestFiles/**/*",
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Razor": "1.0.0-*", "Microsoft.AspNetCore.Razor": "1.0.0-*",
"Microsoft.AspNetCore.Razor.Test.Sources": { "Microsoft.AspNetCore.Razor.Test.Sources": {
@ -25,7 +25,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-*"
} }
@ -36,16 +35,26 @@
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
}, },
"dependencies": { "dependencies": {
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622"
"xunit.runner.console": "2.1.0"
} }
} }
}, },
"compilationOptions": { "buildOptions": {
"define": [ "define": [
"__RemoveThisBitTo__GENERATE_BASELINES" "__RemoveThisBitTo__GENERATE_BASELINES"
], ],
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk",
"embed": {
"include": "TestFiles/**/*"
},
"compile": {
"include": "**/*.cs",
"exclude": [
"TestFiles/**/*",
"bin",
"obj"
]
}
} }
} }