From ffe7e89444c7c55df40a4d1684ee302cd2ed6a89 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Tue, 17 May 2016 18:18:03 -0700 Subject: [PATCH] Fixed netcore build warnings. --- .../CSharp/Azure.CSharp.Tests/project.json | 21 +++++++++++++----- .../CSharp/CSharp.Tests/project.json | 20 ++++++++++++----- .../project.json | 20 +++++++++++------ .../project.json | 13 ++++++----- .../project.json | 22 +++++++++++-------- .../project.json | 17 +++++++++----- .../project.json | 16 +++++++++----- .../project.json | 13 ++++++----- .../project.json | 11 ++++++---- .../Microsoft.Rest.ClientRuntime/project.json | 22 +++++++++++-------- 10 files changed, 112 insertions(+), 63 deletions(-) diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json index dbdacf18d3b36..5afa221088b67 100644 --- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json +++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json @@ -1,19 +1,28 @@ { "version": "2.0.0", - "summary": "Generator.CSharp Tests.", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + + "packOptions": { + "summary": "Generator.CSharp Tests.", + "tags": [ "Microsoft AutoRest ClientRuntime REST" ], + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + }, + + "buildOptions": { + "compile": { + "exclude": [ "CSharpAzureCodeNamingFrameworkTests.*" ], + } + }, "testRunner": "xunit", "frameworks": { "netcoreapp1.0": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"] } }, - "exclude": [ "CSharpAzureCodeNamingFrameworkTests.*" ], + "dependencies": { "Microsoft.NETCore.App": "1.0.0-rc2-3002702", "CSharp.Tests": "2.0.0", diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/project.json b/AutoRest/Generators/CSharp/CSharp.Tests/project.json index e87fdfe16a0b2..2c6310fce7827 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/project.json +++ b/AutoRest/Generators/CSharp/CSharp.Tests/project.json @@ -1,19 +1,27 @@ { "version": "2.0.0", - "summary": "Generator.CSharp Tests.", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + + "packOptions": { + "summary": "Generator.CSharp Tests.", + "tags": [ "Microsoft AutoRest ClientRuntime REST" ], + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + }, + + "buildOptions": { + "compile": { + "exclude": [ "CSharpCodeNamingFrameworkTests.*" ], + } + }, "testRunner": "xunit", "frameworks": { "netcoreapp1.0": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"] } }, - "exclude": [ "CSharpCodeNamingFrameworkTests.*" ], "dependencies": { "Microsoft.NETCore.App": "1.0.0-rc2-3002702", "Microsoft.Rest.ClientRuntime": "[3.1.0,4.0)", diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json index be7d53b2f722f..bee815a029b37 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json @@ -3,14 +3,20 @@ "title": "Authentication for Azure Management Clients", "description": "Provides ADAL based authentication for Azure management client libraries \nSupported Platforms:\n - Portable Class Libraries\n - .NET Framework 4.5\n - Windows 8\n - Windows Phone 8.1\n - DotNet Core", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST adal" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", "copyright": "Copyright (c) Microsoft Corporation", - "requireLicenseAcceptance": true, - "compilationOptions": { + "packOptions": { + "summary": "Client infrastructure for Azure client library ADAL based authentication.", + "iconUrl": "http://go.microsoft.com/fwlink/?LinkID=288890", + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + "tags": [ "Microsoft AutoRest ClientRuntime REST adal" ], + "requireLicenseAcceptance": true, + }, + + "buildOptions": { "delaySign": true, + "publicSign": false, "keyFile": "../../../Tools/MSSharedLibKey.snk" }, @@ -25,14 +31,14 @@ } }, "netstandard1.1": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"], "dependencies": { "Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha" } }, "netstandard1.5": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50"], "dependencies": { "Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha" diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json index 7375260ccde9c..bdc1a407abd0e 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json @@ -1,15 +1,18 @@ { "version": "2.0.0-preview", - "summary": "ClientRuntime Tests.", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + + "packOptions": { + "summary": "ClientRuntime Tests.", + "tags": [ "Microsoft AutoRest ClientRuntime REST" ], + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + }, "testRunner": "xunit", "frameworks": { "netcoreapp1.0": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"] } }, diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json index df9ce997a3a0f..932fed5b46890 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json @@ -1,18 +1,22 @@ { "version": "4.1.0", "copyright": "Copyright (c) Microsoft Corporation", - "iconUrl": "http://go.microsoft.com/fwlink/?LinkID=288890", "title": "Client Runtime for Microsoft Azure Libraries", - "summary": "Client infrastructure for Azure client libraries.", "description": "Provides common error handling, tracing, and HTTP/REST-based pipeline manipulation. \nSupported Platforms:\n - Portable Class Libraries\n - .NET Framework 4.5\n - Windows 8\n - Windows Phone 8.1\n - DotNet Core", "authors": [ "Microsoft" ], - "tags": [ "Microsoft Azure AutoRest ClientRuntime REST azureofficial" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", - "requireLicenseAcceptance": true, - "compilationOptions": { + "packOptions": { + "summary": "Client infrastructure for Azure client libraries.", + "iconUrl": "http://go.microsoft.com/fwlink/?LinkID=288890", + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + "tags": [ "Microsoft Azure AutoRest ClientRuntime REST azureofficial" ], + "requireLicenseAcceptance": true, + }, + + "buildOptions": { "delaySign": true, + "publicSign": false, "keyFile": "../../../Tools/MSSharedLibKey.snk" }, @@ -28,7 +32,7 @@ } }, "netstandard1.1": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"], "dependencies": { "Microsoft.NETCore.Platforms": "1.0.1-rc2-24027", @@ -65,7 +69,7 @@ } }, "netstandard1.5": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50"], "dependencies": { "Microsoft.NETCore.Platforms": "1.0.1-rc2-24027", diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/project.json index 156f36474ff9b..0172d6773addc 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/project.json @@ -1,17 +1,22 @@ { "version": "2.1.0-preview", - "iconUrl": "https://cdn.rawgit.com/Azure/AutoRest/7c1576dfb56974176223545cfac5762d168ded5f/Documentation/images/autorest-small-flat.png", "title": "ETW Logger for Microsoft AutoRest Generated Clients", - "summary": "Provides ETW tracing of \"Microsoft.Rest\" Client Library events.", "description": "Enables tracing of event messages for AutoRest generated client libraries events via ETW (Event Tracing for Windows). ETW events can be captured by subscribing to the \"Microsoft.Rest\" event source.", "copyright": "Copyright (c) Microsoft Corporation", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST ETW" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", - "compilationOptions": { + "packOptions": { + "summary": "Provides ETW tracing of \"Microsoft.Rest\" Client Library events.", + "iconUrl": "https://cdn.rawgit.com/Azure/AutoRest/7c1576dfb56974176223545cfac5762d168ded5f/Documentation/images/autorest-small-flat.png", + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + "tags": [ "Microsoft AutoRest ClientRuntime REST ETW" ], + "requireLicenseAcceptance": true, + }, + + "buildOptions": { "delaySign": true, + "publicSign": false, "keyFile": "../../../Tools/MSSharedLibKey.snk" }, diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/project.json index cce61c644eb5d..1d567b2beec6e 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/project.json @@ -1,16 +1,20 @@ { "version": "2.1.0-preview", - "iconUrl": "https://cdn.rawgit.com/Azure/AutoRest/7c1576dfb56974176223545cfac5762d168ded5f/Documentation/images/autorest-small-flat.png", "title": "Log4Net Logger for Microsoft AutoRest Generated Clients", - "summary": "Provides Log4Net logging for AutoRest generated client libraries.", "description": "Enables logging of event messages for AutoRest generated client libraries via Log4Net.", "copyright": "Copyright (c) Microsoft Corporation", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST ETW" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", - "compilationOptions": { + "packOptions": { + "summary": "Provides Log4Net logging for AutoRest generated client libraries.", + "iconUrl": "https://cdn.rawgit.com/Azure/AutoRest/7c1576dfb56974176223545cfac5762d168ded5f/Documentation/images/autorest-small-flat.png", + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + "tags": [ "Microsoft AutoRest ClientRuntime REST ETW" ], + "requireLicenseAcceptance": true, + }, + + "buildOptions": { "delaySign": true, "keyFile": "../../../Tools/MSSharedLibKey.snk" }, diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json index 7375260ccde9c..bdc1a407abd0e 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json @@ -1,15 +1,18 @@ { "version": "2.0.0-preview", - "summary": "ClientRuntime Tests.", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + + "packOptions": { + "summary": "ClientRuntime Tests.", + "tags": [ "Microsoft AutoRest ClientRuntime REST" ], + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + }, "testRunner": "xunit", "frameworks": { "netcoreapp1.0": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"] } }, diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json index 962890a71dc5f..e0ebf1057a1f4 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json @@ -1,10 +1,13 @@ { "version": "2.0.0-preview", - "summary": "ClientRuntime Tests.", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + + "packOptions": { + "summary": "ClientRuntime Tests.", + "tags": [ "Microsoft AutoRest ClientRuntime REST" ], + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + }, "testRunner": "xunit", "frameworks": { diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json index 7bfb446d2b229..6849622af5aee 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json @@ -1,18 +1,22 @@ { "version": "3.1.0", "copyright": "Copyright (c) Microsoft Corporation", - "iconUrl": "https://cdn.rawgit.com/Azure/AutoRest/7c1576dfb56974176223545cfac5762d168ded5f/Documentation/images/autorest-small-flat.png", "title": "Client Runtime Library for Microsoft AutoRest Generated Clients", - "summary": "Provides HttpClient infrastructure for clients generated by AutoRest.", "description": "Infrastructure for error handling, tracing, and HttpClient pipeline configuration. Required by client libraries generated using AutoRest. \nSupported Platforms:\n - Portable Class Libraries\n - .NET Framework 4.5\n - Windows 8\n - Windows Phone 8.1\n - DotNet Core", "authors": [ "Microsoft" ], - "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "projectUrl": "https://github.com/Azure/AutoRest", - "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", - "requireLicenseAcceptance": true, - "compilationOptions": { + "packOptions": { + "summary": "Provides HttpClient infrastructure for clients generated by AutoRest.", + "iconUrl": "https://cdn.rawgit.com/Azure/AutoRest/7c1576dfb56974176223545cfac5762d168ded5f/Documentation/images/autorest-small-flat.png", + "projectUrl": "https://github.com/Azure/AutoRest", + "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", + "tags": [ "Microsoft AutoRest ClientRuntime REST" ], + "requireLicenseAcceptance": true, + }, + + "buildOptions": { "delaySign": true, + "publicSign": false, "keyFile": "../../../Tools/MSSharedLibKey.snk" }, @@ -32,7 +36,7 @@ } }, "netstandard1.1": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50", "portable-net45+win8"], "dependencies": { "NETStandard.Library": "1.5.0-rc2-24027", @@ -40,7 +44,7 @@ } }, "netstandard1.5": { - "compilationOptions": { "define": [ "PORTABLE" ] }, + "buildOptions": { "define": [ "PORTABLE" ] }, "imports": ["dnxcore50"], "dependencies": { "Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",