Migrate tests, tools and samples to portable

This commit is contained in:
Pavel Krymets 2016-04-15 16:12:08 -07:00
parent 7a1ac034f9
commit 42c3397b6e
61 changed files with 310 additions and 166 deletions

View File

@ -6,18 +6,20 @@
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -6,18 +6,20 @@
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -8,18 +8,20 @@
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*", "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -7,18 +7,20 @@
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Mvc.Formatters.Xml": "1.0.0-*", "Microsoft.AspNetCore.Mvc.Formatters.Xml": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -6,18 +6,20 @@
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -6,18 +6,20 @@
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -6,18 +6,20 @@
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -12,8 +12,7 @@
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"content": [ "content": [
"Views", "Views",
@ -21,13 +20,16 @@
], ],
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
} }

View File

@ -9,18 +9,20 @@
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*", "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.AspNetCore.StaticFiles": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -11,18 +11,20 @@
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*", "Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*", "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.AspNetCore.StaticFiles": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -6,18 +6,20 @@
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -9,16 +9,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -14,16 +14,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
#if NETSTANDARDAPP1_5 #if NETCOREAPP1_0
using System.Reflection; using System.Reflection;
#endif #endif
using System.Threading.Tasks; using System.Threading.Tasks;

View File

@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
{ {
public class NonDisposableStreamTest public class NonDisposableStreamTest
{ {
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
[Fact] [Fact]
public void InnerStreamIsOpenOnClose() public void InnerStreamIsOpenOnClose()
{ {
@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
nonDisposableStream.Dispose(); nonDisposableStream.Dispose();
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
[Fact] [Fact]
public void InnerStreamIsNotFlushedOnClose() public void InnerStreamIsNotFlushedOnClose()
{ {

View File

@ -24,16 +24,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -12,21 +12,24 @@
}, },
"Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.AspNetCore.Testing": "1.0.0-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.Logging.Testing": "1.0.0-*", "Microsoft.Extensions.Logging.Testing": "1.0.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -16,16 +16,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -218,14 +218,14 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
{ "This is a test 激光這兩個字是甚麼意思 string written using utf-8", "utf-8", true }, { "This is a test 激光這兩個字是甚麼意思 string written using utf-8", "utf-8", true },
{ "This is a test 激光這兩個字是甚麼意思 string written using utf-16", "utf-16", true }, { "This is a test 激光這兩個字是甚麼意思 string written using utf-16", "utf-16", true },
{ "This is a test 激光這兩個字是甚麼意思 string written using utf-32", "utf-32", false }, { "This is a test 激光這兩個字是甚麼意思 string written using utf-32", "utf-32", false },
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
// CoreCLR does not like shift_jis as an encoding. // CoreCLR does not like shift_jis as an encoding.
{ "This is a test 激光這兩個字是甚麼意思 string written using shift_jis", "shift_jis", false }, { "This is a test 激光這兩個字是甚麼意思 string written using shift_jis", "shift_jis", false },
#endif #endif
{ "This is a test æøå string written using iso-8859-1", "iso-8859-1", false }, { "This is a test æøå string written using iso-8859-1", "iso-8859-1", false },
}; };
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
// CoreCLR does not like iso-2022-kr as an encoding. // CoreCLR does not like iso-2022-kr as an encoding.
if (!TestPlatformHelper.IsMono) if (!TestPlatformHelper.IsMono)
{ {

View File

@ -16,16 +16,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -426,7 +426,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml
} }
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
// DataContractSerializer in CoreCLR does not throw if the declared type is different from the type being // DataContractSerializer in CoreCLR does not throw if the declared type is different from the type being
// serialized. // serialized.
[ConditionalFact] [ConditionalFact]

View File

@ -15,16 +15,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -26,10 +26,10 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
var expected = var expected =
@"This method is running from NET451 @"This method is running from NET451
This method is only defined in NET451"; This method is only defined in NET451";
#elif NETSTANDARDAPP1_5 #elif NETCOREAPP1_0
var expected = var expected =
@"This method is running from NETSTANDARDAPP1_5 @"This method is running from NETCOREAPP1_0
This method is only defined in NETSTANDARDAPP1_5"; This method is only defined in NETCOREAPP1_0";
#endif #endif
// Act // Act

View File

@ -5,7 +5,7 @@ using System.Net;
using System.Net.Http; using System.Net.Http;
using System.Net.Http.Headers; using System.Net.Http.Headers;
using System.Threading.Tasks; using System.Threading.Tasks;
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
using Microsoft.AspNetCore.Testing.xunit; using Microsoft.AspNetCore.Testing.xunit;
#endif #endif
using Xunit; using Xunit;
@ -24,7 +24,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
public HttpClient Client { get; } public HttpClient Client { get; }
#if NETSTANDARDAPP1_5 #if NETCOREAPP1_0
[Theory] [Theory]
#else #else
[ConditionalTheory] [ConditionalTheory]

View File

@ -8,7 +8,11 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
public class MvcSampleFixture<TStartup> : MvcTestFixture<TStartup> public class MvcSampleFixture<TStartup> : MvcTestFixture<TStartup>
{ {
public MvcSampleFixture() public MvcSampleFixture()
#if NET451
: base(Path.Combine("..", "..", "..", "..", "..", "..", "samples")) : base(Path.Combine("..", "..", "..", "..", "..", "..", "samples"))
#else
: base(Path.Combine("..", "..", "..", "..", "..", "samples"))
#endif
{ {
} }
} }

View File

@ -23,7 +23,11 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
private readonly TestServer _server; private readonly TestServer _server;
public MvcTestFixture() public MvcTestFixture()
#if NET451
: this(Path.Combine("..", "..", "..", "..", "..", "WebSites")) : this(Path.Combine("..", "..", "..", "..", "..", "WebSites"))
#else
: this(Path.Combine("..", "..", "..", "..", "WebSites"))
#endif
{ {
} }

View File

@ -62,7 +62,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
{ {
typeof(JsonMediaTypeFormatter).FullName, typeof(JsonMediaTypeFormatter).FullName,
typeof(XmlMediaTypeFormatter).FullName, typeof(XmlMediaTypeFormatter).FullName,
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
typeof(FormUrlEncodedMediaTypeFormatter).FullName, typeof(FormUrlEncodedMediaTypeFormatter).FullName,
#endif #endif
}; };

View File

@ -53,12 +53,15 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"Microsoft.Dnx.Compilation.CSharp.Common": "1.0.0-*", "Microsoft.Dnx.Compilation.CSharp.Common": "1.0.0-*",
"Microsoft.Dnx.Compilation.CSharp.Abstractions": "1.0.0-*", "Microsoft.Dnx.Compilation.CSharp.Abstractions": "1.0.0-*",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
}, },
"imports": [ "imports": [

View File

@ -15,16 +15,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -14,16 +14,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -21,16 +21,20 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -31,16 +31,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -18,16 +18,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -11,16 +11,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -22,16 +22,20 @@
}, },
"testRunner": "xunit", "testRunner": "xunit",
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -149,7 +149,7 @@ namespace System.Net.Http.Formatting
{ {
get get
{ {
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
// Only mapping and accept makes sense with q != 1.0 // Only mapping and accept makes sense with q != 1.0
MediaTypeFormatterMatch matchMapping10 = CreateMatch(1.0, MediaTypeFormatterMatchRanking.MatchOnRequestWithMediaTypeMapping); MediaTypeFormatterMatch matchMapping10 = CreateMatch(1.0, MediaTypeFormatterMatchRanking.MatchOnRequestWithMediaTypeMapping);
MediaTypeFormatterMatch matchMapping05 = CreateMatch(0.5, MediaTypeFormatterMatchRanking.MatchOnRequestWithMediaTypeMapping); MediaTypeFormatterMatch matchMapping05 = CreateMatch(0.5, MediaTypeFormatterMatchRanking.MatchOnRequestWithMediaTypeMapping);
@ -176,7 +176,7 @@ namespace System.Net.Http.Formatting
{ new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10 }, matchAcceptAllRange10 }, { new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10 }, matchAcceptAllRange10 },
{ new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10, matchAcceptSubTypeRange10 }, matchAcceptSubTypeRange10 }, { new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10, matchAcceptSubTypeRange10 }, matchAcceptSubTypeRange10 },
{ new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10, matchAcceptSubTypeRange10, matchAccept10 }, matchAccept10 }, { new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10, matchAcceptSubTypeRange10, matchAccept10 }, matchAccept10 },
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
{ new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10, matchAcceptSubTypeRange10, matchAccept10, matchMapping10 }, matchMapping10 }, { new List<MediaTypeFormatterMatch>() { matchType10, matchRequest10, matchAcceptAllRange10, matchAcceptSubTypeRange10, matchAccept10, matchMapping10 }, matchMapping10 },
#endif #endif
{ new List<MediaTypeFormatterMatch>() { matchAccept05, matchAccept10 }, matchAccept10 }, { new List<MediaTypeFormatterMatch>() { matchAccept05, matchAccept10 }, matchAccept10 },
@ -187,7 +187,7 @@ namespace System.Net.Http.Formatting
{ new List<MediaTypeFormatterMatch>() { matchAcceptAllRange05, matchAcceptAllRange10 }, matchAcceptAllRange10 }, { new List<MediaTypeFormatterMatch>() { matchAcceptAllRange05, matchAcceptAllRange10 }, matchAcceptAllRange10 },
{ new List<MediaTypeFormatterMatch>() { matchAcceptAllRange10, matchAcceptAllRange05 }, matchAcceptAllRange10 }, { new List<MediaTypeFormatterMatch>() { matchAcceptAllRange10, matchAcceptAllRange05 }, matchAcceptAllRange10 },
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
{ new List<MediaTypeFormatterMatch>() { matchMapping05, matchMapping10 }, matchMapping10 }, { new List<MediaTypeFormatterMatch>() { matchMapping05, matchMapping10 }, matchMapping10 },
{ new List<MediaTypeFormatterMatch>() { matchMapping10, matchMapping05 }, matchMapping10 }, { new List<MediaTypeFormatterMatch>() { matchMapping10, matchMapping05 }, matchMapping10 },
@ -251,7 +251,7 @@ namespace System.Net.Http.Formatting
Assert.Null(result); Assert.Null(result);
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
[Fact] [Fact]
public void Negotiate_MediaTypeMappingTakesPrecedenceOverAcceptHeader() public void Negotiate_MediaTypeMappingTakesPrecedenceOverAcceptHeader()
@ -359,7 +359,7 @@ namespace System.Net.Http.Formatting
Assert.IsType<JsonMediaTypeFormatter>(result.Formatter); Assert.IsType<JsonMediaTypeFormatter>(result.Formatter);
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
[Fact] [Fact]
public void Negotiate_RespectsFormatterOrdering_ForXhrRequestThatDoesNotSpecifyAcceptHeaders() public void Negotiate_RespectsFormatterOrdering_ForXhrRequestThatDoesNotSpecifyAcceptHeaders()
@ -458,7 +458,7 @@ namespace System.Net.Http.Formatting
} }
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
[Fact] [Fact]
public void MatchMediaTypeMapping_ReturnsMatch() public void MatchMediaTypeMapping_ReturnsMatch()
@ -810,7 +810,7 @@ namespace System.Net.Http.Formatting
} }
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
private class MyMediaTypeMapping : MediaTypeMapping private class MyMediaTypeMapping : MediaTypeMapping
{ {

View File

@ -281,7 +281,7 @@ namespace System.Net.Http
Assert.Equal("bin/baz", response.Content.Headers.ContentType.MediaType); Assert.Equal("bin/baz", response.Content.Headers.ContentType.MediaType);
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
// API doesn't exist in CoreCLR. // API doesn't exist in CoreCLR.
[Fact] [Fact]
public void CreateErrorResponseRangeNotSatisfiable_SetsCorrectStatusCodeAndContentRangeHeader() public void CreateErrorResponseRangeNotSatisfiable_SetsCorrectStatusCodeAndContentRangeHeader()

View File

@ -34,7 +34,7 @@ namespace System.Net.Http.Formatting.Mocks
return base.SelectResponseCharacterEncoding(request, formatter); return base.SelectResponseCharacterEncoding(request, formatter);
} }
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
public new MediaTypeFormatterMatch MatchMediaTypeMapping(HttpRequestMessage request, MediaTypeFormatter formatter) public new MediaTypeFormatterMatch MatchMediaTypeMapping(HttpRequestMessage request, MediaTypeFormatter formatter)
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if !NETSTANDARDAPP1_5 #if !NETCOREAPP1_0
using System.Net.Http.Headers; using System.Net.Http.Headers;

View File

@ -15,16 +15,20 @@
"test": "xunit.runner.aspnet" "test": "xunit.runner.aspnet"
}, },
"frameworks": { "frameworks": {
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*", "dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }
}, },
"net451": { "net451": {

View File

@ -13,13 +13,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -12,13 +12,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -14,13 +14,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -4,14 +4,12 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {}
"NETStandard.Library": "1.5.0-*"
}
} }
} }
} }

View File

@ -13,13 +13,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -14,13 +14,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -13,13 +13,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -14,13 +14,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -14,13 +14,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -13,13 +13,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -12,13 +12,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -13,13 +13,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -9,8 +9,8 @@ namespace RazorWebSite
{ {
#if NET451 || DNX451 #if NET451 || DNX451
return "This method is running from NET451"; return "This method is running from NET451";
#elif NETSTANDARDAPP1_5 #elif NETCOREAPP1_0
return "This method is running from NETSTANDARDAPP1_5"; return "This method is running from NETCOREAPP1_0";
#endif #endif
} }
@ -21,10 +21,10 @@ namespace RazorWebSite
} }
#endif #endif
#if NETSTANDARDAPP1_5_CUSTOM_DEFINE #if NETCOREAPP1_0_CUSTOM_DEFINE
public string ExecuteNetStandardApp1_5Operation() public string ExecuteNetCoreApp1_0Operation()
{ {
return "This method is only defined in NETSTANDARDAPP1_5"; return "This method is only defined in NETCOREAPP1_0";
} }
#endif #endif
} }

View File

@ -4,8 +4,8 @@
#if NET451_CUSTOM_DEFINE #if NET451_CUSTOM_DEFINE
MyHelper.ExecuteNet451Operation(); MyHelper.ExecuteNet451Operation();
#endif #endif
#if NETSTANDARDAPP1_5_CUSTOM_DEFINE #if NETCOREAPP1_0_CUSTOM_DEFINE
MyHelper.ExecuteNetStandardApp1_5Operation(); MyHelper.ExecuteNetCoreApp1_0Operation();
#endif #endif
} }
@value @value

View File

@ -20,10 +20,10 @@
] ]
} }
}, },
"netstandardapp1.5": { "netcoreapp1.0": {
"compilationOptions": { "compilationOptions": {
"define": [ "define": [
"NETSTANDARDAPP1_5_CUSTOM_DEFINE" "NETCOREAPP1_0_CUSTOM_DEFINE"
] ]
}, },
"imports": [ "imports": [
@ -31,7 +31,10 @@
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -12,13 +12,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -10,13 +10,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -15,13 +15,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -12,13 +12,16 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*" "Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
} }
} }
}, },

View File

@ -13,15 +13,18 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*", "Microsoft.NETCore.App": {
"System.Diagnostics.TraceSource": "4.0.0-*", "version": "1.0.0-*",
"System.Diagnostics.Tracing": "4.1.0-*" "type": "platform"
},
"System.Diagnostics.TraceSource": "4.0.0-*",
"System.Diagnostics.Tracing": "4.1.0-*"
} }
} }
}, },

View File

@ -13,14 +13,17 @@
}, },
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netstandardapp1.5": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
"portable-net451+win8" "portable-net451+win8"
], ],
"dependencies": { "dependencies": {
"NETStandard.Library": "1.5.0-*", "Microsoft.NETCore.App": {
"System.Linq.Queryable": "4.0.1-*" "version": "1.0.0-*",
"type": "platform"
},
"System.Linq.Queryable": "4.0.1-*"
} }
} }
}, },