Switching to generations TFMs
This commit is contained in:
parent
8a2694dd46
commit
91aeec95e9
|
|
@ -28,8 +28,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||||
"System.ComponentModel.TypeConverter": "4.0.1-beta-*",
|
"System.ComponentModel.TypeConverter": "4.0.1-beta-*",
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,17 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" },
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" }
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": { }
|
"dotnet5.4": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -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 DNX451
|
#if NET451
|
||||||
using System.Runtime.Remoting;
|
using System.Runtime.Remoting;
|
||||||
using System.Runtime.Remoting.Messaging;
|
using System.Runtime.Remoting.Messaging;
|
||||||
#else
|
#else
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
|
||||||
{
|
{
|
||||||
public class ActionBindingContextAccessor : IActionBindingContextAccessor
|
public class ActionBindingContextAccessor : IActionBindingContextAccessor
|
||||||
{
|
{
|
||||||
#if DNX451
|
#if NET451
|
||||||
private static string Key = typeof(ActionBindingContext).FullName;
|
private static string Key = typeof(ActionBindingContext).FullName;
|
||||||
|
|
||||||
public ActionBindingContext ActionBindingContext
|
public ActionBindingContext ActionBindingContext
|
||||||
|
|
|
||||||
|
|
@ -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 DNX451
|
#if NET451
|
||||||
using System.Runtime.Remoting;
|
using System.Runtime.Remoting;
|
||||||
using System.Runtime.Remoting.Messaging;
|
using System.Runtime.Remoting.Messaging;
|
||||||
#else
|
#else
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
|
||||||
{
|
{
|
||||||
public class ActionContextAccessor : IActionContextAccessor
|
public class ActionContextAccessor : IActionContextAccessor
|
||||||
{
|
{
|
||||||
#if DNX451
|
#if NET451
|
||||||
private static string Key = typeof(ActionContext).FullName;
|
private static string Key = typeof(ActionContext).FullName;
|
||||||
|
|
||||||
public ActionContext ActionContext
|
public ActionContext ActionContext
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 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.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
#if DNX451
|
#if NET451
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An exception which indicates multiple matches in action selection.
|
/// An exception which indicates multiple matches in action selection.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
#if DNX451
|
#if NET451
|
||||||
[Serializable]
|
[Serializable]
|
||||||
#endif
|
#endif
|
||||||
public class AmbiguousActionException : InvalidOperationException
|
public class AmbiguousActionException : InvalidOperationException
|
||||||
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DNX451
|
#if NET451
|
||||||
protected AmbiguousActionException(SerializationInfo info, StreamingContext context)
|
protected AmbiguousActionException(SerializationInfo info, StreamingContext context)
|
||||||
: base(info, context)
|
: base(info, context)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ namespace Microsoft.AspNet.Mvc.Internal
|
||||||
{
|
{
|
||||||
return _innerStream.ReadAsync(buffer, offset, count, cancellationToken);
|
return _innerStream.ReadAsync(buffer, offset, count, cancellationToken);
|
||||||
}
|
}
|
||||||
#if DNX451
|
#if NET451
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override IAsyncResult BeginRead(
|
public override IAsyncResult BeginRead(
|
||||||
byte[] buffer,
|
byte[] buffer,
|
||||||
|
|
@ -166,7 +166,7 @@ namespace Microsoft.AspNet.Mvc.Internal
|
||||||
{
|
{
|
||||||
return _innerStream.WriteAsync(buffer, offset, count, cancellationToken);
|
return _innerStream.WriteAsync(buffer, offset, count, cancellationToken);
|
||||||
}
|
}
|
||||||
#if DNX451
|
#if NET451
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override IAsyncResult BeginWrite(
|
public override IAsyncResult BeginWrite(
|
||||||
byte[] buffer,
|
byte[] buffer,
|
||||||
|
|
@ -189,7 +189,7 @@ namespace Microsoft.AspNet.Mvc.Internal
|
||||||
{
|
{
|
||||||
_innerStream.WriteByte(value);
|
_innerStream.WriteByte(value);
|
||||||
}
|
}
|
||||||
#if DNX451
|
#if NET451
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override void Close()
|
public override void Close()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// 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.
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Mvc.Internal
|
||||||
{
|
{
|
||||||
public static class TaskCache
|
public static class TaskCache
|
||||||
{
|
{
|
||||||
#if DNX451
|
#if NET451
|
||||||
static readonly Task _completedTask = Task.FromResult(0);
|
static readonly Task _completedTask = Task.FromResult(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace Microsoft.AspNet.Mvc.Internal
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
#if DNX451
|
#if NET451
|
||||||
return _completedTask;
|
return _completedTask;
|
||||||
#else
|
#else
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 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.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using Microsoft.Extensions.Internal;
|
using Microsoft.Extensions.Internal;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
#if DNX451
|
#if NET451
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
#endif
|
#endif
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
@ -174,7 +174,7 @@ namespace Microsoft.AspNet.Mvc.Routing
|
||||||
{
|
{
|
||||||
// We'd already have failed before getting here. The RouteDataActionConstraint constructor
|
// We'd already have failed before getting here. The RouteDataActionConstraint constructor
|
||||||
// would throw.
|
// would throw.
|
||||||
#if DNX451
|
#if NET451
|
||||||
throw new InvalidEnumArgumentException(
|
throw new InvalidEnumArgumentException(
|
||||||
nameof(item),
|
nameof(item),
|
||||||
(int)constraint.KeyHandling,
|
(int)constraint.KeyHandling,
|
||||||
|
|
|
||||||
|
|
@ -35,12 +35,12 @@
|
||||||
"System.Diagnostics.DiagnosticSource": "4.0.0-beta-*"
|
"System.Diagnostics.DiagnosticSource": "4.0.0-beta-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {
|
"net451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Runtime": ""
|
"System.Runtime": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Text.Encoding": "4.0.11-*"
|
"System.Text.Encoding": "4.0.11-*"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"description": "CORS features for the core MVC runtime",
|
"description": "CORS features for the core MVC runtime",
|
||||||
"version": "6.0.0-*",
|
"version": "6.0.0-*",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
@ -12,9 +12,8 @@
|
||||||
"Microsoft.AspNet.Cors": "6.0.0-*",
|
"Microsoft.AspNet.Cors": "6.0.0-*",
|
||||||
"Microsoft.AspNet.Mvc.Core": "6.0.0-*"
|
"Microsoft.AspNet.Mvc.Core": "6.0.0-*"
|
||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": { }
|
"dotnet5.4": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -10,18 +10,23 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
||||||
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" },
|
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
|
||||||
"Microsoft.Extensions.CopyOnWriteDictionary.Sources": { "version": "1.0.0-*", "type": "build" },
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.CopyOnWriteDictionary.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
"Microsoft.Extensions.Localization": "1.0.0-*"
|
"Microsoft.Extensions.Localization": "1.0.0-*"
|
||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {
|
"net451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.ComponentModel.DataAnnotations": ""
|
"System.ComponentModel.DataAnnotations": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.ComponentModel.Annotations": "4.0.11-beta-*"
|
"System.ComponentModel.Annotations": "4.0.11-beta-*"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,8 @@
|
||||||
},
|
},
|
||||||
"Newtonsoft.Json": "6.0.6"
|
"Newtonsoft.Json": "6.0.6"
|
||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": { }
|
"dotnet5.4": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -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 DNX451
|
#if NET451
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
#endif
|
#endif
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
|
|
@ -15,7 +15,7 @@ namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal
|
||||||
{
|
{
|
||||||
public static readonly int DefaultMaxDepth = 32;
|
public static readonly int DefaultMaxDepth = 32;
|
||||||
|
|
||||||
#if DNX451
|
#if NET451
|
||||||
public static readonly XsdDataContractExporter XsdDataContractExporter = new XsdDataContractExporter();
|
public static readonly XsdDataContractExporter XsdDataContractExporter = new XsdDataContractExporter();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ namespace Microsoft.AspNet.Mvc.Formatters
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#if DNX451
|
#if NET451
|
||||||
// Verify that type is a valid data contract by forcing the serializer to try to create a data contract
|
// Verify that type is a valid data contract by forcing the serializer to try to create a data contract
|
||||||
FormattingUtilities.XsdDataContractExporter.GetRootElementName(type);
|
FormattingUtilities.XsdDataContractExporter.GetRootElementName(type);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -10,17 +10,23 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
||||||
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" },
|
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {
|
"net451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Runtime.Serialization": "",
|
"System.Runtime.Serialization": "",
|
||||||
"System.Xml": ""
|
"System.Xml": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Runtime.Serialization.Xml": "4.0.11-beta-*",
|
"System.Runtime.Serialization.Xml": "4.0.11-beta-*",
|
||||||
"System.Xml.XmlSerializer": "4.0.11-beta-*"
|
"System.Xml.XmlSerializer": "4.0.11-beta-*"
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": { }
|
"dotnet5.4": {}
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"wwwroot",
|
"wwwroot",
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
#if NET45
|
#if NET451
|
||||||
using Microsoft.AspNet.FileProviders;
|
using Microsoft.AspNet.FileProviders;
|
||||||
#endif
|
#endif
|
||||||
using Microsoft.AspNet.Mvc.Razor.Directives;
|
using Microsoft.AspNet.Mvc.Razor.Directives;
|
||||||
|
|
@ -124,7 +124,7 @@ namespace Microsoft.AspNet.Mvc.Razor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET45
|
#if NET451
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of <see cref="MvcRazorHost"/> with the specified <paramref name="root"/>.
|
/// Initializes a new instance of <see cref="MvcRazorHost"/> with the specified <paramref name="root"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -12,16 +12,18 @@
|
||||||
"Microsoft.AspNet.FileProviders.Physical": "1.0.0-*",
|
"Microsoft.AspNet.FileProviders.Physical": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Razor.Runtime": "4.0.0-*",
|
"Microsoft.AspNet.Razor.Runtime": "4.0.0-*",
|
||||||
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net45": { },
|
"net451": {
|
||||||
"dnx451": {
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
|
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
|
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
|
||||||
"System.Collections.Concurrent": "4.0.11-beta-*",
|
"System.Collections.Concurrent": "4.0.11-beta-*",
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ namespace Microsoft.AspNet.Mvc.Razor
|
||||||
}
|
}
|
||||||
|
|
||||||
// Using CurrentUICulture so it loads the locale specific resources for the views.
|
// Using CurrentUICulture so it loads the locale specific resources for the views.
|
||||||
#if DNX451
|
#if NET451
|
||||||
context.Values[ValueKey] = Thread.CurrentThread.CurrentUICulture.Name;
|
context.Values[ValueKey] = Thread.CurrentThread.CurrentUICulture.Name;
|
||||||
#else
|
#else
|
||||||
context.Values[ValueKey] = CultureInfo.CurrentUICulture.Name;
|
context.Values[ValueKey] = CultureInfo.CurrentUICulture.Name;
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,23 @@
|
||||||
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*",
|
||||||
"Microsoft.AspNet.Razor.Runtime.Precompilation": "4.0.0-*",
|
"Microsoft.AspNet.Razor.Runtime.Precompilation": "4.0.0-*",
|
||||||
"Microsoft.AspNet.PageExecutionInstrumentation.Interfaces": "1.0.0-*",
|
"Microsoft.AspNet.PageExecutionInstrumentation.Interfaces": "1.0.0-*",
|
||||||
"Microsoft.Extensions.HashCodeCombiner.Sources": { "version": "1.0.0-*", "type": "build" },
|
"Microsoft.Extensions.HashCodeCombiner.Sources": {
|
||||||
"Microsoft.Extensions.PropertyActivator.Sources": { "version": "1.0.0-*", "type": "build" },
|
"version": "1.0.0-*",
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" },
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.PropertyActivator.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
"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-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {
|
"net451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Collections": "",
|
"System.Collections": "",
|
||||||
"System.IO": "",
|
"System.IO": "",
|
||||||
|
|
@ -29,7 +38,7 @@
|
||||||
"System.Threading.Tasks": ""
|
"System.Threading.Tasks": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Text.Encoding": "4.0.11-*",
|
"System.Text.Encoding": "4.0.11-*",
|
||||||
"System.Threading.Tasks.Parallel": "4.0.1-beta-*"
|
"System.Threading.Tasks.Parallel": "4.0.1-beta-*"
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,18 @@
|
||||||
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
|
||||||
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
||||||
"Microsoft.Extensions.FileSystemGlobbing": "1.0.0-*",
|
"Microsoft.Extensions.FileSystemGlobbing": "1.0.0-*",
|
||||||
"Microsoft.Extensions.Logging.Abstractions": { "version": "1.0.0-*", "type": "build" },
|
"Microsoft.Extensions.Logging.Abstractions": {
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Security.Cryptography.Algorithms": "4.0.0-beta-*"
|
"System.Security.Cryptography.Algorithms": "4.0.0-beta-*"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ namespace Microsoft.AspNet.Mvc.ViewComponents
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DNX451
|
#if NET451
|
||||||
return componentType.AsType().GetMethod(
|
return componentType.AsType().GetMethod(
|
||||||
methodName,
|
methodName,
|
||||||
BindingFlags.Public | BindingFlags.Instance,
|
BindingFlags.Public | BindingFlags.Instance,
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
#if DNXCORE50
|
#if DOTNET5_4
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using Microsoft.AspNet.Mvc.ModelBinding;
|
using Microsoft.AspNet.Mvc.ModelBinding;
|
||||||
|
|
|
||||||
|
|
@ -15,15 +15,29 @@
|
||||||
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
|
||||||
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
|
||||||
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
|
||||||
"Microsoft.Extensions.BufferedHtmlContent.Sources": { "version": "1.0.0-*", "type": "build" },
|
"Microsoft.Extensions.BufferedHtmlContent.Sources": {
|
||||||
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" },
|
"version": "1.0.0-*",
|
||||||
"Microsoft.Extensions.CopyOnWriteDictionary.Sources": { "version": "1.0.0-*", "type": "build" },
|
"type": "build"
|
||||||
"Microsoft.Extensions.PropertyActivator.Sources": { "version": "1.0.0-*", "type": "build" },
|
},
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
|
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.CopyOnWriteDictionary.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.PropertyActivator.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": { }
|
"dotnet5.4": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Net.Http.Headers;
|
using System.Net.Http.Headers;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using Microsoft.AspNet.WebUtilities;
|
using Microsoft.AspNet.WebUtilities;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Net.Http.Headers;
|
using System.Net.Http.Headers;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Net.Http.Headers;
|
using System.Net.Http.Headers;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Net.Http.Headers;
|
using System.Net.Http.Headers;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
namespace System.Net.Http.Formatting
|
namespace System.Net.Http.Formatting
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Net.Http.Headers;
|
using System.Net.Http.Headers;
|
||||||
|
|
|
||||||
|
|
@ -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 DNXCORE50
|
#if DOTNET5_4
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ namespace System.Net.Http
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class HttpRequestMessageExtensions
|
public static class HttpRequestMessageExtensions
|
||||||
{
|
{
|
||||||
#if !DNXCORE50
|
#if !DOTNET5_4
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Helper method for creating an <see cref="HttpResponseMessage"/> message with a "416 (Requested Range Not
|
/// Helper method for creating an <see cref="HttpResponseMessage"/> message with a "416 (Requested Range Not
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {
|
"net451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Net.Http": "",
|
"System.Net.Http": "",
|
||||||
"System.Xml": "",
|
"System.Xml": "",
|
||||||
"System.Runtime.Serialization": ""
|
"System.Runtime.Serialization": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Net.Http": "4.0.1-beta-*",
|
"System.Net.Http": "4.0.1-beta-*",
|
||||||
"System.Xml.XmlSerializer": "4.0.11-beta-*",
|
"System.Xml.XmlSerializer": "4.0.11-beta-*",
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,13 @@
|
||||||
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*",
|
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*",
|
||||||
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
|
||||||
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
|
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
|
||||||
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
|
"Microsoft.Extensions.PropertyHelper.Sources": {
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"type": "build"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {},
|
"net451": {},
|
||||||
"dnxcore50": {}
|
"dotnet5.4": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
"warningsAsErrors": true
|
"warningsAsErrors": true
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.IO": "4.0.11-beta-*",
|
"System.IO": "4.0.11-beta-*",
|
||||||
"System.Resources.ResourceManager": "4.0.1-beta-*"
|
"System.Resources.ResourceManager": "4.0.1-beta-*"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue