Fix warnings in project.json

PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.

This change can't go in until PR #2864 does - it relies on those bug
fixes.
This commit is contained in:
Bill Wert 2016-05-12 19:03:08 -07:00
parent 9af3edfeda
commit ed3bd312cf
122 changed files with 847 additions and 594 deletions

View file

@ -1,13 +1,13 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"tools": {
"dotnet-portable": {
@ -15,4 +15,4 @@
"target": "package"
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -10,13 +10,12 @@
}
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"tools": {
"ToolWithOutputName": {
"version": "1.0.0",
"target": "package"
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -11,13 +11,12 @@
}
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"tools": {
"dotnet-portable": {
"version": "1.0.0",
"target": "package"
}
}
}
}

View file

@ -1,9 +1,8 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*",
"dotnet-hello": {
@ -12,6 +11,6 @@
}
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,23 +1,24 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc3-*",
"type": "platform"
"version": "1.0.0-rc3-*",
"type": "platform"
},
"xunit.core": "2.1.0",
"xunit": {
"version": "2.1.0",
"type": "build"
"version": "2.1.0",
"type": "build"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": [ "portable-net451+win8" ]
"imports": [
"portable-net451+win8"
]
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -13,9 +13,9 @@
}
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"tools": {
"tools": {
"dotnet-dependency-tool-invoker": {
"version": "1.0.0-*",
"imports": [
@ -24,4 +24,4 @@
]
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"outputName": "MyApp",
"emitEntryPoint": true
},
@ -7,6 +7,6 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,13 +1,13 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"tools": {
"dotnet-portable": {
@ -15,4 +15,4 @@
"target": "package"
}
}
}
}

View file

@ -1,12 +1,12 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
@ -13,5 +13,4 @@
}
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
@ -19,8 +19,10 @@
},
"tools": {
"dotnet-dependency-context-test": {
"version": "1.0.0-*",
"imports": [ "dnxcore50" ]
"version": "1.0.0-*",
"imports": [
"dnxcore50"
]
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -9,6 +9,11 @@
"DependencyContextValidator": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": { "imports": ["dnxcore50", "portable-net45+win8"] }
"netcoreapp1.0": {
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -8,6 +8,11 @@
"DependencyContextValidator": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": { "imports": ["dnxcore50", "portable-net45+win8"] }
"netcoreapp1.0": {
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -8,7 +8,6 @@
"DependencyContextValidator": "1.0.0-*"
},
"frameworks": {
"net451": {
}
"net451": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -12,6 +12,11 @@
"DependencyContextValidator": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": { "imports": ["dnxcore50", "portable-net45+win8"] }
"netcoreapp1.0": {
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -11,6 +11,11 @@
"DependencyContextValidator": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": { "imports": ["dnxcore50", "portable-net45+win8"] }
"netcoreapp1.0": {
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
}
}
}

View file

@ -1,12 +1,14 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
"buildOptions": {
"emitEntryPoint": true,
"compilerName": "fsc",
"compile": {
"includeFiles": [
"Program.fs"
]
}
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"Microsoft.NETCore.App": "1.0.0-rc3-*"
@ -29,4 +31,4 @@
]
}
}
}
}

View file

@ -1,12 +1,14 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
"buildOptions": {
"emitEntryPoint": true,
"compilerName": "fsc",
"compile": {
"includeFiles": [
"Program.fs"
]
}
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"TestLibrary": {
"version": "1.0.0-*",
@ -30,4 +32,4 @@
"imports": "dnxcore50"
}
}
}
}

View file

@ -1,12 +1,14 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
"buildOptions": {
"emitEntryPoint": true,
"compilerName": "fsc",
"compile": {
"includeFiles": [
"Program.fs"
]
}
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"Microsoft.NETCore.App": "1.0.0-rc3-*"
@ -26,4 +28,4 @@
"imports": "dnxcore50"
}
}
}
}

View file

@ -4,11 +4,6 @@
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.5.0-rc2-24027"
},
"compilerName": "fsc",
"compileFiles": [
"Helper2.fs",
"Helper.fs"
],
"tools": {
"dotnet-compile-fsc": {
"version": "1.0.0-*",
@ -23,5 +18,14 @@
"netcoreapp1.0": {
"imports": "dnxcore50"
}
},
"buildOptions": {
"compilerName": "fsc",
"compile": {
"includeFiles": [
"Helper2.fs",
"Helper.fs"
]
}
}
}
}

View file

@ -5,12 +5,14 @@
"Microsoft.AspNetCore.Hosting": "1.0.0-rc2-20113",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-20254"
},
"compilationOptions": {
"emitEntryPoint": true
"buildOptions": {
"emitEntryPoint": true,
"compile": {
"include": [
"../src/*.cs"
]
}
},
"compile": [
"../src/*.cs"
],
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
@ -25,4 +27,4 @@
]
}
}
}
}

View file

@ -5,12 +5,14 @@
"Microsoft.AspNetCore.Hosting": "1.0.0-rc2-20113",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-20254"
},
"compilationOptions": {
"emitEntryPoint": true
"buildOptions": {
"emitEntryPoint": true,
"compile": {
"include": [
"../src/*.cs"
]
}
},
"compile": [
"../src/*.cs"
],
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
@ -22,4 +24,4 @@
]
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"outputName": "MyLibrary"
},
"dependencies": {
@ -8,4 +8,4 @@
"frameworks": {
"netstandard1.5": {}
}
}
}

View file

@ -1,12 +1,12 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
@ -24,4 +24,4 @@
"someProperty": "someValue"
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -16,4 +16,4 @@
}
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
@ -11,8 +11,8 @@
"version": "1.0.0-rc3-*"
},
"System.Linq": "4.0.0"
},
},
"imports": "dnxcore50"
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
@ -14,4 +14,4 @@
"imports": "dnxcore50"
}
}
}
}

View file

@ -1,5 +1,5 @@
{
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
@ -30,4 +30,4 @@
"someProperty": "someValue"
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -9,11 +9,15 @@
"type": "platform",
"version": "1.0.0-rc3-*"
},
"TestLibraryWithResources": { "target": "project" }
"TestLibraryWithResources": {
"target": "project"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": [ "portable-net45+win8" ]
"imports": [
"portable-net45+win8"
]
}
}
}
}

View file

@ -1,10 +1,9 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"frameworks": {
"net451": { }
}
}
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
"net451": {}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
@ -14,4 +14,4 @@
},
"net451": {}
}
}
}

View file

@ -1,11 +1,10 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"frameworks": {
"net451": { },
"net45": { }
}
}
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
"net451": {},
"net45": {}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -9,6 +9,6 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"nowarn": [
"CS1591"
],
@ -15,4 +15,4 @@
"frameworks": {
"netstandard1.5": {}
}
}
}

View file

@ -1,13 +1,13 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"runtimes": {
"win7-x64": {},
@ -19,4 +19,4 @@
"rhel.7.2-x64": {},
"debian.8-x64": {}
}
}
}

View file

@ -1,12 +1,12 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -8,11 +8,13 @@
"type": "platform",
"version": "1.0.0-rc3-*"
},
"LibraryWithBuildDependency": { "target": "project" }
"LibraryWithBuildDependency": {
"target": "project"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": "dnxcore50"
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"outputName": "AppWithContentPackage"
},
@ -9,6 +9,11 @@
"SharedContentA": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": { "imports": ["netstandardapp1.5", "dnxcore50"] }
"netcoreapp1.0": {
"imports": [
"netstandardapp1.5",
"dnxcore50"
]
}
}
}
}

View file

@ -1,13 +1,18 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
"buildOptions": {
"emitEntryPoint": true,
"copyToOutput": {
"include": "testcontentfile.txt"
}
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"content": "testcontentfile.txt",
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"publishOptions": {
"include": "testcontentfile.txt"
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -12,6 +12,6 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"nowarn": [
"CS1591"
],
@ -15,4 +15,4 @@
"frameworks": {
"netstandard1.5": {}
}
}
}

View file

@ -1,13 +1,13 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"scripts": {
"prepublish": [
@ -23,4 +23,4 @@
"echoscript postcompile_output ?%compile:ProjectPath%? ?%compile:Configuration%? ?%compile:OutputPath%? ?%compile:TargetFramework%? ?%compile:Runtime%?"
]
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -12,7 +12,7 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"scripts": {
"prepublish": [
@ -22,4 +22,4 @@
"echo postpublish_output ?%publish:ProjectPath%? ?%publish:Configuration%? ?%publish:OutputPath%? ?%publish:Framework%? ?%publish:Runtime%?"
]
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"nowarn": [
"CS1591"
],
@ -15,4 +15,4 @@
"frameworks": {
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -13,4 +13,4 @@
"frameworks": {
"netcoreapp1.0": {}
}
}
}

View file

@ -1,13 +1,13 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
},
"runtimes": {
"win7-x64": {},
@ -19,4 +19,4 @@
"rhel.7.2-x64": {},
"debian.8-x64": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
@ -12,6 +12,6 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"nowarn": [
"CS1591"
],
@ -18,4 +18,4 @@
"frameworks": {
"netstandard1.5": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": false
},
"dependencies": {},
@ -32,4 +32,4 @@
}
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"xmlDoc": true
},
"dependencies": {
@ -9,4 +9,4 @@
"frameworks": {
"netstandard1.5": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
@ -9,6 +9,6 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,12 +1,12 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,12 +1,12 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}

View file

@ -1,6 +1,6 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"xmlDoc": true
},
@ -8,6 +8,6 @@
"Microsoft.NETCore.App": "1.0.0-rc3-*"
},
"frameworks": {
"netcoreapp1.0": { }
"netcoreapp1.0": {}
}
}
}