Migrate tests, tools and samples to portable
This commit is contained in:
parent
78c742c6ee
commit
dfe83b6bac
|
|
@ -2173,7 +2173,7 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers
|
||||||
}
|
}
|
||||||
|
|
||||||
// TagHelperDesignTimeDescriptors are not created in CoreCLR.
|
// TagHelperDesignTimeDescriptors are not created in CoreCLR.
|
||||||
#if !NETSTANDARDAPP1_5
|
#if !NETCOREAPP1_0
|
||||||
public static TheoryData OutputElementHintData
|
public static TheoryData OutputElementHintData
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
|
||||||
|
|
@ -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;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
|
||||||
|
|
@ -16,22 +16,30 @@
|
||||||
},
|
},
|
||||||
"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"
|
||||||
|
},
|
||||||
"dotnet-test-xunit": "1.0.0-dev-*",
|
"dotnet-test-xunit": "1.0.0-dev-*",
|
||||||
"moq.netcore": "4.4.0-beta8",
|
"moq.netcore": "4.4.0-beta8",
|
||||||
"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": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Runtime": { "type": "build" },
|
"System.Runtime": {
|
||||||
"System.IO": { "type": "build" },
|
"type": "build"
|
||||||
|
},
|
||||||
|
"System.IO": {
|
||||||
|
"type": "build"
|
||||||
|
},
|
||||||
"System.Threading.Tasks": "",
|
"System.Threading.Tasks": "",
|
||||||
"System.Xml": "4.0.0.0",
|
"System.Xml": "4.0.0.0",
|
||||||
"System.Xml.Linq": "4.0.0.0"
|
"System.Xml.Linq": "4.0.0.0"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
#if NETSTANDARDAPP1_5
|
#if NETCOREAPP1_0
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using Microsoft.AspNetCore.Razor.CodeGenerators;
|
using Microsoft.AspNetCore.Razor.CodeGenerators;
|
||||||
|
|
|
||||||
|
|
@ -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 NETSTANDARDAPP1_5
|
#if NETCOREAPP1_0
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
#endif
|
#endif
|
||||||
using Microsoft.AspNetCore.Razor.CodeGenerators;
|
using Microsoft.AspNetCore.Razor.CodeGenerators;
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ namespace Microsoft.AspNetCore.Razor.Test.Text
|
||||||
RunDisposeTest(r => r.Dispose());
|
RunDisposeTest(r => r.Dispose());
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !NETSTANDARDAPP1_5
|
#if !NETCOREAPP1_0
|
||||||
[Fact]
|
[Fact]
|
||||||
public void CloseDisposesSourceReader()
|
public void CloseDisposesSourceReader()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ namespace Microsoft.AspNetCore.Razor.Test.Text
|
||||||
RunDisposeTest(r => r.Dispose());
|
RunDisposeTest(r => r.Dispose());
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !NETSTANDARDAPP1_5
|
#if !NETCOREAPP1_0
|
||||||
[Fact]
|
[Fact]
|
||||||
public void CloseDisposesSourceReader()
|
public void CloseDisposesSourceReader()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -13,16 +13,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": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue