From 63a9d64394717f9876e307ccdc67c23ac49a16c7 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 2 May 2016 11:27:09 -0700 Subject: [PATCH] Fix build warnings --- src/Microsoft.DotNet.Watcher.Core/project.json | 8 +++++--- src/Microsoft.DotNet.Watcher.Tools/project.json | 8 +++++--- .../project.json | 2 +- test/Microsoft.DotNet.Watcher.Tools.Tests/project.json | 2 +- test/TestApps/AppWithDeps/project.json | 4 +--- test/TestApps/Dependency/project.json | 4 +--- test/TestApps/GlobbingApp/project.json | 5 ++--- test/TestApps/NoDepsApp/project.json | 5 ++--- 8 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/Microsoft.DotNet.Watcher.Core/project.json b/src/Microsoft.DotNet.Watcher.Core/project.json index d6c75b463d..f6926c7dca 100644 --- a/src/Microsoft.DotNet.Watcher.Core/project.json +++ b/src/Microsoft.DotNet.Watcher.Core/project.json @@ -1,9 +1,11 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", - "nowarn": [ "CS1591" ], + "nowarn": [ + "CS1591" + ], "xmlDoc": true }, "dependencies": { @@ -27,4 +29,4 @@ ] } } -} +} \ No newline at end of file diff --git a/src/Microsoft.DotNet.Watcher.Tools/project.json b/src/Microsoft.DotNet.Watcher.Tools/project.json index d08d1b0ee7..867642edfe 100644 --- a/src/Microsoft.DotNet.Watcher.Tools/project.json +++ b/src/Microsoft.DotNet.Watcher.Tools/project.json @@ -1,11 +1,13 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "outputName": "dotnet-watch", "warningsAsErrors": true, "emitEntryPoint": true, "keyFile": "../../tools/Key.snk", - "nowarn": [ "CS1591" ], + "nowarn": [ + "CS1591" + ], "xmlDoc": true }, "dependencies": { @@ -28,4 +30,4 @@ } } } -} +} \ No newline at end of file diff --git a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/project.json b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/project.json index 4484e3111b..16b2386717 100644 --- a/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/project.json +++ b/test/Microsoft.DotNet.Watcher.Tools.FunctionalTests/project.json @@ -1,5 +1,5 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, diff --git a/test/Microsoft.DotNet.Watcher.Tools.Tests/project.json b/test/Microsoft.DotNet.Watcher.Tools.Tests/project.json index 4ce4fce759..44db712712 100644 --- a/test/Microsoft.DotNet.Watcher.Tools.Tests/project.json +++ b/test/Microsoft.DotNet.Watcher.Tools.Tests/project.json @@ -1,5 +1,5 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, diff --git a/test/TestApps/AppWithDeps/project.json b/test/TestApps/AppWithDeps/project.json index 234e21ed87..8fbde9fc51 100644 --- a/test/TestApps/AppWithDeps/project.json +++ b/test/TestApps/AppWithDeps/project.json @@ -1,13 +1,11 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, - "dependencies": { "Dependency": "1.0.0" }, - "frameworks": { "netcoreapp1.0": { "dependencies": { diff --git a/test/TestApps/Dependency/project.json b/test/TestApps/Dependency/project.json index 9966f18ccc..2b16faf607 100644 --- a/test/TestApps/Dependency/project.json +++ b/test/TestApps/Dependency/project.json @@ -1,10 +1,8 @@ { "version": "1.0.0-*", - "dependencies": { "NETStandard.Library": "1.5.0-*" }, - "frameworks": { "netstandard1.5": { "imports": [ @@ -13,4 +11,4 @@ ] } } -} +} \ No newline at end of file diff --git a/test/TestApps/GlobbingApp/project.json b/test/TestApps/GlobbingApp/project.json index 2f3ca272dd..fd675dbad6 100644 --- a/test/TestApps/GlobbingApp/project.json +++ b/test/TestApps/GlobbingApp/project.json @@ -1,6 +1,6 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, "compile": [ @@ -10,7 +10,6 @@ "exclude": [ "exclude/*" ], - "frameworks": { "netcoreapp1.0": { "dependencies": { @@ -25,4 +24,4 @@ ] } } -} +} \ No newline at end of file diff --git a/test/TestApps/NoDepsApp/project.json b/test/TestApps/NoDepsApp/project.json index f79acee579..f0eb960bb6 100644 --- a/test/TestApps/NoDepsApp/project.json +++ b/test/TestApps/NoDepsApp/project.json @@ -1,9 +1,8 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, - "frameworks": { "netcoreapp1.0": { "dependencies": { @@ -18,4 +17,4 @@ ] } } -} +} \ No newline at end of file