Switching to generations TFMs

This commit is contained in:
Pranav K 2015-10-22 01:19:46 -07:00
parent 8a2694dd46
commit 91aeec95e9
48 changed files with 341 additions and 292 deletions

View File

@ -28,8 +28,8 @@
}
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"net451": {},
"dotnet5.4": {
"dependencies": {
"Microsoft.CSharp": "4.0.1-beta-*",
"System.ComponentModel.TypeConverter": "4.0.1-beta-*",
@ -38,4 +38,4 @@
}
}
}
}
}

View File

@ -1,20 +1,26 @@
{
"description": "Contains API explorer functionality for ASP.NET MVC for discovering metadata such as the list of controllers and actions, and their URLs and allowed HTTP methods.",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
"description": "Contains API explorer functionality for ASP.NET MVC for discovering metadata such as the list of controllers and actions, and their URLs and allowed HTTP methods.",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" },
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" }
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
"version": "1.0.0-*",
"type": "build"
}
},
"frameworks": {
"net451": {},
"dotnet5.4": {}
}
}

View File

@ -1,7 +1,7 @@
// 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.
#if DNX451
#if NET451
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
#else
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
{
public class ActionBindingContextAccessor : IActionBindingContextAccessor
{
#if DNX451
#if NET451
private static string Key = typeof(ActionBindingContext).FullName;
public ActionBindingContext ActionBindingContext

View File

@ -1,7 +1,7 @@
// 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.
#if DNX451
#if NET451
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
#else
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
{
public class ActionContextAccessor : IActionContextAccessor
{
#if DNX451
#if NET451
private static string Key = typeof(ActionContext).FullName;
public ActionContext ActionContext

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
#if DNX451
#if NET451
using System.Runtime.Serialization;
#endif
@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
/// <summary>
/// An exception which indicates multiple matches in action selection.
/// </summary>
#if DNX451
#if NET451
[Serializable]
#endif
public class AmbiguousActionException : InvalidOperationException
@ -21,7 +21,7 @@ namespace Microsoft.AspNet.Mvc.Infrastructure
{
}
#if DNX451
#if NET451
protected AmbiguousActionException(SerializationInfo info, StreamingContext context)
: base(info, context)
{

View File

@ -107,7 +107,7 @@ namespace Microsoft.AspNet.Mvc.Internal
{
return _innerStream.ReadAsync(buffer, offset, count, cancellationToken);
}
#if DNX451
#if NET451
/// <inheritdoc />
public override IAsyncResult BeginRead(
byte[] buffer,
@ -166,7 +166,7 @@ namespace Microsoft.AspNet.Mvc.Internal
{
return _innerStream.WriteAsync(buffer, offset, count, cancellationToken);
}
#if DNX451
#if NET451
/// <inheritdoc />
public override IAsyncResult BeginWrite(
byte[] buffer,
@ -189,7 +189,7 @@ namespace Microsoft.AspNet.Mvc.Internal
{
_innerStream.WriteByte(value);
}
#if DNX451
#if NET451
/// <inheritdoc />
public override void Close()
{

View File

@ -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.
using System.Threading.Tasks;
@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Mvc.Internal
{
public static class TaskCache
{
#if DNX451
#if NET451
static readonly Task _completedTask = Task.FromResult(0);
#endif
@ -17,7 +17,7 @@ namespace Microsoft.AspNet.Mvc.Internal
{
get
{
#if DNX451
#if NET451
return _completedTask;
#else
return Task.CompletedTask;

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using System.Threading.Tasks;

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using System.Threading.Tasks;

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using System.Threading.Tasks;

View File

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using System.Threading.Tasks;

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using System.Threading.Tasks;

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using Microsoft.Extensions.Internal;

View File

@ -3,7 +3,7 @@
using System;
using System.Collections.Generic;
#if DNX451
#if NET451
using System.ComponentModel;
#endif
using System.Diagnostics;
@ -174,7 +174,7 @@ namespace Microsoft.AspNet.Mvc.Routing
{
// We'd already have failed before getting here. The RouteDataActionConstraint constructor
// would throw.
#if DNX451
#if NET451
throw new InvalidEnumArgumentException(
nameof(item),
(int)constraint.KeyHandling,

View File

@ -35,15 +35,15 @@
"System.Diagnostics.DiagnosticSource": "4.0.0-beta-*"
},
"frameworks": {
"dnx451": {
"net451": {
"frameworkAssemblies": {
"System.Runtime": ""
}
},
"dnxcore50": {
"dependencies": {
"System.Text.Encoding": "4.0.11-*"
}
"dotnet5.4": {
"dependencies": {
"System.Text.Encoding": "4.0.11-*"
}
}
}
}
}

View File

@ -1,20 +1,19 @@
{
"description": "CORS features for the core MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Cors": "6.0.0-*",
"Microsoft.AspNet.Mvc.Core": "6.0.0-*"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}
{
"description": "CORS features for the core MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Cors": "6.0.0-*",
"Microsoft.AspNet.Mvc.Core": "6.0.0-*"
},
"frameworks": {
"net451": {},
"dotnet5.4": {}
}
}

View File

@ -1,30 +1,35 @@
{
"description": "Metadata and Validation using System.ComponentModel.DataAnnotations for the MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
"description": "Metadata and Validation using System.ComponentModel.DataAnnotations for the MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"compilationOptions": {
"warningsAsErrors": true
"Microsoft.Extensions.CopyOnWriteDictionary.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "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": {
"net451": {
"frameworkAssemblies": {
"System.ComponentModel.DataAnnotations": ""
}
},
"frameworks": {
"dnx451": {
"frameworkAssemblies": {
"System.ComponentModel.DataAnnotations": ""
}
},
"dnxcore50": {
"dependencies": {
"System.ComponentModel.Annotations": "4.0.11-beta-*"
}
}
"dotnet5.4": {
"dependencies": {
"System.ComponentModel.Annotations": "4.0.11-beta-*"
}
}
}
}
}

View File

@ -1,25 +1,24 @@
{
"description": "JSON input and output for the MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
"description": "JSON input and output for the MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.JsonPatch": "1.0.0-*",
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.JsonPatch": "1.0.0-*",
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"Newtonsoft.Json": "6.0.6"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}
"Newtonsoft.Json": "6.0.6"
},
"frameworks": {
"net451": {},
"dotnet5.4": {}
}
}

View File

@ -1,7 +1,7 @@
// 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.
#if DNX451
#if NET451
using System.Runtime.Serialization;
#endif
using System.Xml;
@ -15,7 +15,7 @@ namespace Microsoft.AspNet.Mvc.Formatters.Xml.Internal
{
public static readonly int DefaultMaxDepth = 32;
#if DNX451
#if NET451
public static readonly XsdDataContractExporter XsdDataContractExporter = new XsdDataContractExporter();
#endif

View File

@ -132,7 +132,7 @@ namespace Microsoft.AspNet.Mvc.Formatters
try
{
#if DNX451
#if NET451
// Verify that type is a valid data contract by forcing the serializer to try to create a data contract
FormattingUtilities.XsdDataContractExporter.GetRootElementName(type);
#endif

View File

@ -1,30 +1,36 @@
{
"description": "Contains DataContractSerializer and XmlSerializer based input and output formatters",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
"description": "Contains DataContractSerializer and XmlSerializer based input and output formatters",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.Extensions.ClosedGenericMatcher.Sources": { "version": "1.0.0-*", "type": "build" },
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
},
"frameworks": {
"dnx451": {
"frameworkAssemblies": {
"System.Runtime.Serialization": "",
"System.Xml": ""
}
},
"dnxcore50": {
"dependencies": {
"System.Runtime.Serialization.Xml": "4.0.11-beta-*",
"System.Xml.XmlSerializer": "4.0.11-beta-*"
}
}
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
}
}
},
"frameworks": {
"net451": {
"frameworkAssemblies": {
"System.Runtime.Serialization": "",
"System.Xml": ""
}
},
"dotnet5.4": {
"dependencies": {
"System.Runtime.Serialization.Xml": "4.0.11-beta-*",
"System.Xml.XmlSerializer": "4.0.11-beta-*"
}
}
}
}

View File

@ -1,30 +1,30 @@
{
"description": "Features that enable globalization & localization of MVC applications.",
"version": "6.0.0-*",
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Localization": "1.0.0-*",
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
}
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
},
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
],
"repository": {
"type": "git",
"url": "https://github.com/aspnet/mvc"
"description": "Features that enable globalization & localization of MVC applications.",
"version": "6.0.0-*",
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Localization": "1.0.0-*",
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
}
}
},
"frameworks": {
"net451": {},
"dotnet5.4": {}
},
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
],
"repository": {
"type": "git",
"url": "https://github.com/aspnet/mvc"
}
}

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
#if NET45
#if NET451
using Microsoft.AspNet.FileProviders;
#endif
using Microsoft.AspNet.Mvc.Razor.Directives;
@ -124,7 +124,7 @@ namespace Microsoft.AspNet.Mvc.Razor
}
}
#if NET45
#if NET451
/// <summary>
/// Initializes a new instance of <see cref="MvcRazorHost"/> with the specified <paramref name="root"/>.
/// </summary>

View File

@ -12,16 +12,18 @@
"Microsoft.AspNet.FileProviders.Physical": "1.0.0-*",
"Microsoft.AspNet.Razor.Runtime": "4.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": {
"net45": { },
"dnx451": {
"net451": {
"dependencies": {
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*"
}
},
"dnxcore50": {
"dotnet5.4": {
"dependencies": {
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
"System.Collections.Concurrent": "4.0.11-beta-*",
@ -36,4 +38,4 @@
"node_modules",
"bower_components"
]
}
}

View File

@ -51,7 +51,7 @@ namespace Microsoft.AspNet.Mvc.Razor
}
// Using CurrentUICulture so it loads the locale specific resources for the views.
#if DNX451
#if NET451
context.Values[ValueKey] = Thread.CurrentThread.CurrentUICulture.Name;
#else
context.Values[ValueKey] = CultureInfo.CurrentUICulture.Name;

View File

@ -11,16 +11,25 @@
"dependencies": {
"Microsoft.AspNet.Mvc.Razor.Host": "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.Extensions.HashCodeCombiner.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" },
"Microsoft.Extensions.HashCodeCombiner.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"
},
"Microsoft.Dnx.Compilation.CSharp.Common": "1.0.0-*",
"Microsoft.Dnx.Compilation.CSharp.Abstractions": "1.0.0-*"
},
"frameworks": {
"dnx451": {
"net451": {
"frameworkAssemblies": {
"System.Collections": "",
"System.IO": "",
@ -29,7 +38,7 @@
"System.Threading.Tasks": ""
}
},
"dnxcore50": {
"dotnet5.4": {
"dependencies": {
"System.Text.Encoding": "4.0.11-*",
"System.Threading.Tasks.Parallel": "4.0.1-beta-*"
@ -41,4 +50,4 @@
"node_modules",
"bower_components"
]
}
}

View File

@ -12,12 +12,18 @@
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
"Microsoft.Extensions.FileSystemGlobbing": "1.0.0-*",
"Microsoft.Extensions.Logging.Abstractions": { "version": "1.0.0-*", "type": "build" },
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
"Microsoft.Extensions.Logging.Abstractions": {
"version": "1.0.0-*",
"type": "build"
},
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
}
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"net451": {},
"dotnet5.4": {
"dependencies": {
"System.Security.Cryptography.Algorithms": "4.0.0-beta-*"
}
@ -28,4 +34,4 @@
"node_modules",
"bower_components"
]
}
}

View File

@ -80,7 +80,7 @@ namespace Microsoft.AspNet.Mvc.ViewComponents
}
}
#if DNX451
#if NET451
return componentType.AsType().GetMethod(
methodName,
BindingFlags.Public | BindingFlags.Instance,

View File

@ -5,7 +5,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
#if DNXCORE50
#if DOTNET5_4
using System.Reflection;
#endif
using Microsoft.AspNet.Mvc.ModelBinding;

View File

@ -1,29 +1,43 @@
{
"description": "View Rendering features for the MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
"description": "View Rendering features for the MVC runtime",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Antiforgery": "1.0.0-*",
"Microsoft.AspNet.Diagnostics.Abstractions": "1.0.0-*",
"Microsoft.AspNet.Html.Abstractions": "1.0.0-*",
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
"Microsoft.Extensions.BufferedHtmlContent.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"compilationOptions": {
"warningsAsErrors": true
"Microsoft.Extensions.ClosedGenericMatcher.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"dependencies": {
"Microsoft.AspNet.Antiforgery": "1.0.0-*",
"Microsoft.AspNet.Diagnostics.Abstractions": "1.0.0-*",
"Microsoft.AspNet.Html.Abstractions": "1.0.0-*",
"Microsoft.AspNet.Mvc.Core": "6.0.0-*",
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
"Microsoft.Extensions.BufferedHtmlContent.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" }
"Microsoft.Extensions.CopyOnWriteDictionary.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
"Microsoft.Extensions.PropertyActivator.Sources": {
"version": "1.0.0-*",
"type": "build"
},
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
}
}
},
"frameworks": {
"net451": {},
"dotnet5.4": {}
}
}

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.ObjectModel;
using System.Diagnostics;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Net.Http.Headers;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Collections.ObjectModel;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using Microsoft.AspNet.WebUtilities;
using System.Collections;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Globalization;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Net.Http.Headers;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Net.Http.Headers;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Net.Http.Headers;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
namespace System.Net.Http.Formatting
{

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Diagnostics;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Diagnostics;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Diagnostics;
using System.Net.Http.Headers;

View File

@ -1,7 +1,7 @@
// 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.
#if DNXCORE50
#if DOTNET5_4
using System.Collections.Generic;
using System.Diagnostics;

View File

@ -19,7 +19,7 @@ namespace System.Net.Http
/// </summary>
public static class HttpRequestMessageExtensions
{
#if !DNXCORE50
#if !DOTNET5_4
/// <summary>
/// Helper method for creating an <see cref="HttpResponseMessage"/> message with a "416 (Requested Range Not

View File

@ -18,20 +18,20 @@
"type": "build"
}
},
"frameworks": {
"dnx451": {
"frameworkAssemblies": {
"System.Net.Http": "",
"System.Xml": "",
"System.Runtime.Serialization": ""
}
},
"dnxcore50": {
"dependencies": {
"System.Net.Http": "4.0.1-beta-*",
"System.Xml.XmlSerializer": "4.0.11-beta-*",
"System.Runtime.Serialization.Xml": "4.0.11-beta-*"
}
}
"frameworks": {
"net451": {
"frameworkAssemblies": {
"System.Net.Http": "",
"System.Xml": "",
"System.Runtime.Serialization": ""
}
},
"dotnet5.4": {
"dependencies": {
"System.Net.Http": "4.0.1-beta-*",
"System.Xml.XmlSerializer": "4.0.11-beta-*",
"System.Runtime.Serialization.Xml": "4.0.11-beta-*"
}
}
}
}
}

View File

@ -1,27 +1,30 @@
{
"description": "ASP.NET MVC is a web framework that gives you a powerful, patterns-based way to build dynamic websites and Web APIs. ASP.NET MVC enables a clean separation of concerns and gives you full control over markup.",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.ApiExplorer": "6.0.0-*",
"Microsoft.AspNet.Mvc.Cors": "6.0.0-*",
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
"Microsoft.AspNet.Mvc.Localization": "6.0.0-*",
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" }
},
"frameworks": {
"dnx451": {},
"dnxcore50": {}
"description": "ASP.NET MVC is a web framework that gives you a powerful, patterns-based way to build dynamic websites and Web APIs. ASP.NET MVC enables a clean separation of concerns and gives you full control over markup.",
"version": "6.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"dependencies": {
"Microsoft.AspNet.Mvc.ApiExplorer": "6.0.0-*",
"Microsoft.AspNet.Mvc.Cors": "6.0.0-*",
"Microsoft.AspNet.Mvc.DataAnnotations": "6.0.0-*",
"Microsoft.AspNet.Mvc.Formatters.Json": "6.0.0-*",
"Microsoft.AspNet.Mvc.Localization": "6.0.0-*",
"Microsoft.AspNet.Mvc.Razor": "6.0.0-*",
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": {
"version": "1.0.0-*",
"type": "build"
}
}
},
"frameworks": {
"net451": {},
"dotnet5.4": {}
}
}

View File

@ -1,20 +1,20 @@
{
"description": "Abstractions for page instrumentation.",
"version": "1.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.IO": "4.0.11-beta-*",
"System.Resources.ResourceManager": "4.0.1-beta-*"
}
}
"description": "Abstractions for page instrumentation.",
"version": "1.0.0-*",
"repository": {
"type": "git",
"url": "git://github.com/aspnet/mvc"
},
"compilationOptions": {
"warningsAsErrors": true
},
"frameworks": {
"net451": {},
"dotnet5.4": {
"dependencies": {
"System.IO": "4.0.11-beta-*",
"System.Resources.ResourceManager": "4.0.1-beta-*"
}
}
}
}
}