Skip to content

Commit

Permalink
Fixed netcore build warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovsep Mkrtchyan committed May 18, 2016
1 parent 69a989d commit ffe7e89
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 63 deletions.
21 changes: 15 additions & 6 deletions AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
20 changes: 14 additions & 6 deletions AutoRest/Generators/CSharp/CSharp.Tests/project.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},

Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
},

Expand All @@ -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",
Expand Down Expand Up @@ -65,7 +69,7 @@
}
},
"netstandard1.5": {
"compilationOptions": { "define": [ "PORTABLE" ] },
"buildOptions": { "define": [ "PORTABLE" ] },
"imports": ["dnxcore50"],
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
},

Expand Down
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -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"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
22 changes: 13 additions & 9 deletions ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json
Original file line number Diff line number Diff line change
@@ -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"
},

Expand All @@ -32,15 +36,15 @@
}
},
"netstandard1.1": {
"compilationOptions": { "define": [ "PORTABLE" ] },
"buildOptions": { "define": [ "PORTABLE" ] },
"imports": ["dnxcore50", "portable-net45+win8"],
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027",
"Newtonsoft.Json": "8.0.3"
}
},
"netstandard1.5": {
"compilationOptions": { "define": [ "PORTABLE" ] },
"buildOptions": { "define": [ "PORTABLE" ] },
"imports": ["dnxcore50"],
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
Expand Down

0 comments on commit ffe7e89

Please sign in to comment.