From b4c3914e73db9a49c8c61005b2ff09e6e6667ede Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Mon, 14 Nov 2016 15:00:21 -0500 Subject: [PATCH] does this really work --- src/UriBuilder.Fluent.UnitTests/project.json | 3 ++- .../TerribleDevUriExtensions.cs | 2 +- src/UriBuilder.Fluent/project.json | 19 +++++++++++++++---- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/UriBuilder.Fluent.UnitTests/project.json b/src/UriBuilder.Fluent.UnitTests/project.json index 08bc117..7031e39 100644 --- a/src/UriBuilder.Fluent.UnitTests/project.json +++ b/src/UriBuilder.Fluent.UnitTests/project.json @@ -9,7 +9,8 @@ }, "frameworks": { - "net462": {}, + "net462": { + }, "netcoreapp1.0": { "dependencies": { "Microsoft.NETCore.App": { diff --git a/src/UriBuilder.Fluent/TerribleDevUriExtensions.cs b/src/UriBuilder.Fluent/TerribleDevUriExtensions.cs index 58a3198..f5f5455 100644 --- a/src/UriBuilder.Fluent/TerribleDevUriExtensions.cs +++ b/src/UriBuilder.Fluent/TerribleDevUriExtensions.cs @@ -78,7 +78,7 @@ namespace System return bld; } -#if netstandard15 +#if (netstandard15) public static UriBuilder WithSerializedObject(this UriBuilder bld, object serialize) { diff --git a/src/UriBuilder.Fluent/project.json b/src/UriBuilder.Fluent/project.json index 0f99b4b..794b4a0 100644 --- a/src/UriBuilder.Fluent/project.json +++ b/src/UriBuilder.Fluent/project.json @@ -16,9 +16,6 @@ "extension" ] }, - "dependencies": { - "NETStandard.Library": "1.6.0" - }, "authors": [ "Tommy Parnell" ], @@ -26,12 +23,26 @@ "netstandard1.3": { "buildOptions": { "define": [ "netstandard13" ] - } + }, + "dependencies": { + "NETStandard.Library": "1.6.0" + } }, "netstandard1.5": { + "dependencies": { + "NETStandard.Library": "1.6.0" + }, "buildOptions": { "define": [ "netstandard15" ] } + }, + "net45":{ + "buildOptions": { + "define": [ "netstandard15" ] + }, + "frameworkAssemblies": { + "System.Runtime":"4.0.0" + } } } } \ No newline at end of file