Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
This commit is contained in:
parent
ecd468b166
commit
04276b5ddf
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"description": "Runtime components for rendering Razor pages.",
|
||||
"version": "4.0.0-*",
|
||||
"dependencies": {
|
||||
|
|
@ -10,8 +10,8 @@
|
|||
},
|
||||
"frameworks": {
|
||||
"net45": { },
|
||||
"aspnet50": { },
|
||||
"aspnetcore50": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"System.Reflection.Extensions": "4.0.0-beta-*",
|
||||
"System.Text.RegularExpressions": "4.0.10-beta-*"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -309,7 +309,7 @@ namespace Microsoft.AspNet.Razor.Editor
|
|||
RazorEditorTrace.TraceLine(RazorResources.FormatTrace_BackgroundThreadStart(fileNameOnly));
|
||||
EnsureOnThread();
|
||||
|
||||
#if ASPNETCORE50
|
||||
#if DNXCORE50
|
||||
var spinWait = new SpinWait();
|
||||
#endif
|
||||
|
||||
|
|
@ -427,7 +427,7 @@ namespace Microsoft.AspNet.Razor.Editor
|
|||
else
|
||||
{
|
||||
RazorEditorTrace.TraceLine(RazorResources.FormatTrace_NoChangesArrived(fileNameOnly));
|
||||
#if ASPNETCORE50
|
||||
#if DNXCORE50
|
||||
// This does the equivalent of thread.yield under the covers.
|
||||
spinWait.SpinOnce();
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
{
|
||||
"description": "Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure.",
|
||||
"version": "4.0.0-*",
|
||||
"frameworks": {
|
||||
"net45": { },
|
||||
"aspnet50": { },
|
||||
"aspnetcore50": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"System.Collections": "4.0.10-beta-*",
|
||||
"System.Diagnostics.Debug": "4.0.10-beta-*",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Moq;
|
||||
#endif
|
||||
using Xunit;
|
||||
|
|
@ -333,7 +333,7 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
|
|||
Assert.Equal(expected, writer.ToString());
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void CanWriteToTextWriter_MultipleAppends()
|
||||
{
|
||||
|
|
@ -432,4 +432,4 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
|
|||
Assert.Equal(expected, tagHelperContent.GetContent());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
|
|||
var documentLocation = new SourceLocation(1, 2, 3);
|
||||
var expectedErrorMessage = "Cannot resolve TagHelper containing assembly 'abcd'. Error: " +
|
||||
"Could not load file or assembly '" +
|
||||
#if ASPNET50
|
||||
#if DNX451
|
||||
"abcd' or one of its dependencies. The system cannot find the file specified.";
|
||||
#else
|
||||
"abcd, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Could not find or load a " +
|
||||
|
|
@ -199,4 +199,4 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
|
|||
return Task.FromResult(result: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Razor.Runtime": "4.0.0-*",
|
||||
|
|
@ -9,12 +9,12 @@
|
|||
"test": "xunit.runner.kre"
|
||||
},
|
||||
"frameworks": {
|
||||
"aspnet50": {
|
||||
"dnx451": {
|
||||
"dependencies": {
|
||||
"Moq": "4.2.1312.1622"
|
||||
}
|
||||
},
|
||||
"aspnetcore50": {
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"System.Reflection.TypeExtensions": "4.0.0-beta-*",
|
||||
"System.Runtime.Extensions": "4.0.10-beta-*"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
#if ASPNETCORE50
|
||||
#if DNXCORE50
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using Microsoft.AspNet.Razor.Generator.Compiler;
|
||||
|
|
@ -455,4 +455,4 @@ namespace Microsoft.AspNet.Razor.Test.Generator
|
|||
public string BoundProperty { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Microsoft.AspNet.Razor.Generator;
|
||||
using Microsoft.AspNet.Razor.Parser;
|
||||
using Microsoft.AspNet.Razor.Parser.SyntaxTree;
|
||||
|
|
@ -44,4 +44,4 @@ namespace Microsoft.AspNet.Razor.Test.Generator.CodeTree
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Microsoft.AspNet.Razor.Generator;
|
||||
using Microsoft.AspNet.Razor.Generator.Compiler;
|
||||
using Microsoft.AspNet.Razor.Parser;
|
||||
|
|
@ -46,4 +46,4 @@ namespace Microsoft.AspNet.Razor
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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 ASPNETCORE50
|
||||
#if DNXCORE50
|
||||
using System.Reflection;
|
||||
#endif
|
||||
using Microsoft.AspNet.Razor.Generator;
|
||||
|
|
@ -102,4 +102,4 @@ namespace Microsoft.AspNet.Razor.Test.Generator
|
|||
public bool Checked { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -7,7 +7,7 @@ using Microsoft.AspNet.Razor.Parser;
|
|||
using Microsoft.AspNet.Razor.Parser.SyntaxTree;
|
||||
using Microsoft.AspNet.Razor.Test.Framework;
|
||||
using Microsoft.AspNet.Razor.Text;
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Moq;
|
||||
#endif
|
||||
using Xunit;
|
||||
|
|
@ -71,7 +71,7 @@ namespace Microsoft.AspNet.Razor.Test.Parser
|
|||
RunOnEndBlockTest(endBlockCallback => new CallbackVisitor(_ => { }, _ => { }, _ => { }, endBlockCallback));
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void ListenerCallsOnEndSpanCallbackUsingSynchronizationContextIfSpecified()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNet.Razor.Parser.SyntaxTree;
|
|||
using Microsoft.AspNet.Razor.Test.Framework;
|
||||
using Microsoft.AspNet.Razor.Text;
|
||||
using Microsoft.AspNet.Razor.Tokenizer.Symbols;
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Moq;
|
||||
#endif
|
||||
using Xunit;
|
||||
|
|
@ -125,7 +125,7 @@ namespace Microsoft.AspNet.Razor.Test.Parser
|
|||
Assert.Equal(BlockType.Expression, context.BlockStack.Peek().Type);
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void EndBlockAddsCurrentBlockToParentBlock()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
@ -97,4 +97,4 @@ namespace Microsoft.AspNet.Razor.Test.Parser
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -9,7 +9,7 @@ using Microsoft.AspNet.Razor.Parser;
|
|||
using Microsoft.AspNet.Razor.Parser.SyntaxTree;
|
||||
using Microsoft.AspNet.Razor.TagHelpers;
|
||||
using Microsoft.AspNet.Razor.Test.Framework;
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Moq;
|
||||
using Moq.Protected;
|
||||
#endif
|
||||
|
|
@ -66,7 +66,7 @@ namespace Microsoft.AspNet.Razor.Test.Parser
|
|||
factory.Markup(" baz")));
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void GetTagHelperDescriptors_IsInvokedToLocateTagHelperDescriptors()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
@ -331,4 +331,4 @@ namespace Microsoft.AspNet.Razor.Test
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using Microsoft.AspNet.Razor.Parser.SyntaxTree;
|
|||
using Microsoft.AspNet.Razor.Parser.TagHelpers;
|
||||
using Microsoft.AspNet.Razor.Test.Framework;
|
||||
using Microsoft.Internal.Web.Utils;
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Moq;
|
||||
#endif
|
||||
using Xunit;
|
||||
|
|
@ -20,7 +20,7 @@ namespace Microsoft.AspNet.Razor.TagHelpers
|
|||
{
|
||||
private static readonly SpanFactory Factory = SpanFactory.CreateCsHtml();
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void GetDescriptors_InvokesResolveOnceForAllDirectives()
|
||||
{
|
||||
|
|
@ -277,4 +277,4 @@ namespace Microsoft.AspNet.Razor.TagHelpers
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -155,7 +155,7 @@ namespace Microsoft.AspNet.Razor.Test.Text
|
|||
RunDisposeTest(r => r.Dispose());
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void CloseDisposesSourceReader()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -142,7 +142,7 @@ namespace Microsoft.AspNet.Razor.Test.Text
|
|||
RunDisposeTest(r => r.Dispose());
|
||||
}
|
||||
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void CloseDisposesSourceReader()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Web.WebPages.TestUtils;
|
||||
using Microsoft.AspNet.Razor.Text;
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
using Moq;
|
||||
#endif
|
||||
using Xunit;
|
||||
|
|
@ -13,7 +13,7 @@ namespace Microsoft.AspNet.Razor.Test.Text
|
|||
{
|
||||
public class TextChangeTest
|
||||
{
|
||||
#if !ASPNETCORE50
|
||||
#if !DNXCORE50
|
||||
[Fact]
|
||||
public void ConstructorRequiresNonNegativeOldPosition()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"resources": "TestFiles/**/*",
|
||||
"dependencies": {
|
||||
|
|
@ -11,8 +11,8 @@
|
|||
"test": "xunit.runner.kre"
|
||||
},
|
||||
"frameworks": {
|
||||
"aspnet50": { },
|
||||
"aspnetcore50": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"System.Diagnostics.TraceSource": "4.0.0-beta-*",
|
||||
"System.Reflection.TypeExtensions": "4.0.0-beta-*"
|
||||
|
|
|
|||
Loading…
Reference in New Issue