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.",
"version": "4.0.0-rc1-final",
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk"
},
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
}
},
"dependencies": {
"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.",
"version": "4.0.0-rc1-final",
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk"
},
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
}
},
"dependencies": { },
"dependencies": {},
"frameworks": {
"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",
"tags": [
"aspnetcore",
"cshtml",
"razor",
"taghelper",
"taghelpers"
],
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"allowUnsafe": true,
"keyFile": "../../tools/Key.snk",
"warningsAsErrors": true,
@ -17,9 +10,18 @@
],
"xmlDoc": true
},
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
},
"tags": [
"aspnetcore",
"cshtml",
"razor",
"taghelper",
"taghelpers"
]
},
"dependencies": {
"Microsoft.AspNetCore.Html.Abstractions": "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.",
"tags": [
"aspnetcore",
"cshtml",
"razor"
],
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [
@ -14,9 +9,16 @@
],
"xmlDoc": true
},
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/aspnet/razor"
},
"tags": [
"aspnetcore",
"cshtml",
"razor"
]
},
"dependencies": {
"Microsoft.Extensions.HashCodeCombiner.Sources": {

View File

@ -1,10 +1,11 @@
{
"version": "1.0.0",
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk"
},
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Razor.Runtime": "1.0.0-*",
"Microsoft.AspNetCore.Razor.Test.Sources": {
@ -27,7 +28,6 @@
"version": "1.0.0-*",
"type": "platform"
},
"dotnet-test-xunit": "1.0.0-*",
"moq.netcore": "4.4.0-beta8",
"System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.TraceSource": "4.0.0-*"

View File

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