diff --git a/build/common.props b/build/common.props index 51974f7014..ddbb7dacc6 100644 --- a/build/common.props +++ b/build/common.props @@ -18,7 +18,7 @@ - + diff --git a/build/dependencies.props b/build/dependencies.props index 85a2ada19e..e11574a4b6 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -2,12 +2,12 @@ 2.0.0-* 0.10.3 - 4.3.0 + 4.4.0-* 2.0.0-* 2.1.0-* 10.0.1 4.7.1 - $(BundledNETStandardPackageVersion) + 2.0.0-* 2.0.0-* 2.0.0-* 2.0.0 diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.Extensions/Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj b/src/Microsoft.AspNetCore.Mvc.Razor.Extensions/Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj index adc7d27b06..cb81e717aa 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.Extensions/Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Razor.Extensions/Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj @@ -4,7 +4,7 @@ ASP.NET Core design time hosting infrastructure for the Razor view engine. - net46;netstandard1.3 + net46;netstandard2.0 $(NoWarn);CS1591 true aspnetcore;aspnetcoremvc;cshtml;razor diff --git a/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlLanguageCharacteristics.cs b/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlLanguageCharacteristics.cs index 407130510e..70d7929736 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlLanguageCharacteristics.cs +++ b/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlLanguageCharacteristics.cs @@ -84,13 +84,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy case HtmlSymbolType.CloseAngle: return HtmlSymbolType.OpenAngle; default: -#if NET451 - // No Debug.Fail in CoreCLR - Debug.Fail("FlipBracket must be called with a bracket character"); -#else - Debug.Assert(false, "FlipBracket must be called with a bracket character"); -#endif return HtmlSymbolType.Unknown; } } @@ -130,4 +124,4 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy return new HtmlSymbol(content, type, errors); } } -} \ No newline at end of file +} diff --git a/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlTokenizer.cs b/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlTokenizer.cs index 6b489d076d..0b3af2d407 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlTokenizer.cs +++ b/src/Microsoft.AspNetCore.Razor.Language/Legacy/HtmlTokenizer.cs @@ -60,12 +60,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy case HtmlTokenizerState.AtSymbolAfterRazorCommentBody: return AtSymbolAfterRazorCommentBody(); default: -#if NET451 - // No Debug.Fail Debug.Fail("Invalid TokenizerState"); -#else - Debug.Assert(false, "Invalid TokenizerState"); -#endif return default(StateResult); } } @@ -230,13 +225,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy TakeCurrent(); return EndSymbol(HtmlSymbolType.DoubleHyphen); default: -#if NET451 - // No Debug.Fail in CoreCLR - Debug.Fail("Unexpected symbol!"); -#else - Debug.Assert(false, "Unexpected symbol"); -#endif return EndSymbol(HtmlSymbolType.Unknown); } } diff --git a/src/Microsoft.AspNetCore.Razor.Language/Microsoft.AspNetCore.Razor.Language.csproj b/src/Microsoft.AspNetCore.Razor.Language/Microsoft.AspNetCore.Razor.Language.csproj index 702d92e32f..07659cb71c 100644 --- a/src/Microsoft.AspNetCore.Razor.Language/Microsoft.AspNetCore.Razor.Language.csproj +++ b/src/Microsoft.AspNetCore.Razor.Language/Microsoft.AspNetCore.Razor.Language.csproj @@ -4,7 +4,7 @@ Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure. - netstandard1.3 + net46;netstandard2.0 $(NoWarn);CS1591 true aspnetcore;cshtml;razor @@ -14,8 +14,4 @@ - - - - diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/Microsoft.AspNetCore.Razor.Runtime.csproj b/src/Microsoft.AspNetCore.Razor.Runtime/Microsoft.AspNetCore.Razor.Runtime.csproj index b548aecc0a..ad4608a3ab 100644 --- a/src/Microsoft.AspNetCore.Razor.Runtime/Microsoft.AspNetCore.Razor.Runtime.csproj +++ b/src/Microsoft.AspNetCore.Razor.Runtime/Microsoft.AspNetCore.Razor.Runtime.csproj @@ -1,5 +1,7 @@  + + Runtime components for rendering Razor pages and implementing tag helpers. $(Summary) @@ -8,17 +10,22 @@ Commonly used types: Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper - netstandard1.5;net46 + netstandard2.0 $(NoWarn);CS1591 true true aspnetcore;cshtml;razor;taghelper;taghelpers false + + + + + diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/baseline.net45.json b/src/Microsoft.AspNetCore.Razor.Runtime/baseline.net45.json deleted file mode 100644 index d0bbb83e04..0000000000 --- a/src/Microsoft.AspNetCore.Razor.Runtime/baseline.net45.json +++ /dev/null @@ -1,2554 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Razor.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEmptyOrWhiteSpace", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DictionaryAttributePrefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DictionaryAttributePrefix", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DictionaryAttributePrefixSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Tag", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Attributes", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagStructure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagStructure", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParentTag", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParentTag", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tag", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ElementCatchAllTarget", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"*\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Text.Encodings.Web.HtmlEncoder", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Default", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxOutputCharactersPerInputCharacter", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "output", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Char[]" - }, - { - "Name": "startIndex", - "Type": "System.Int32" - }, - { - "Name": "characterCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "output", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "startIndex", - "Type": "System.Int32" - }, - { - "Name": "characterCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindFirstCharacterToEncode", - "Parameters": [ - { - "Name": "text", - "Type": "System.Char*" - }, - { - "Name": "textLength", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryEncodeUnicodeScalar", - "Parameters": [ - { - "Name": "unicodeScalar", - "Type": "System.Int32" - }, - { - "Name": "buffer", - "Type": "System.Char*" - }, - { - "Name": "bufferLength", - "Type": "System.Int32" - }, - { - "Name": "numberOfCharactersWritten", - "Type": "System.Int32", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WillEncode", - "Parameters": [ - { - "Name": "unicodeScalar", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.OutputElementHintAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OutputElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "outputElement", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Collections.ObjectModel.ReadOnlyCollection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsName", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetAttributes", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IndexOfName", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NameEquals", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ChildTags", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "childTag", - "Type": "System.String" - }, - { - "Name": "childTags", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentContainer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueStyle", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "obj", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetHashCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "ImplementedInterfaces": [ - "System.Collections.Generic.IList", - "System.Collections.Generic.ICollection" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Insert", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAt", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAll", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.List" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEmptyOrWhiteSpace", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHtmlContent", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetContent", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHtmlContent", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendFormat", - "Parameters": [ - { - "Name": "provider", - "Type": "System.IFormatProvider" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllAttributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UniqueId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "allAttributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentContainer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_TagName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreElement", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Content", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Content", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PostContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PostElement", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsContentModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SuppressOutput", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "useCachedResult", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "useCachedResult", - "Type": "System.Boolean" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "getChildContentAsync", - "Type": "System.Func>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperDescriptorFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateDescriptors", - "Parameters": [ - { - "Name": "assemblyName", - "Type": "System.String" - }, - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "errorSink", - "Type": "Microsoft.AspNetCore.Razor.ErrorSink" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperTypeResolver", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Resolve", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "documentLocation", - "Type": "Microsoft.AspNetCore.Razor.SourceLocation" - }, - { - "Name": "errorSink", - "Type": "Microsoft.AspNetCore.Razor.ErrorSink" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperConventions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "IsTagHelper", - "Parameters": [ - { - "Name": "typeInfo", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperDescriptorFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperDescriptorFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_InvalidNonWhitespaceNameCharacters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateDescriptors", - "Parameters": [ - { - "Name": "assemblyName", - "Type": "System.String" - }, - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "errorSink", - "Type": "Microsoft.AspNetCore.Razor.ErrorSink" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperDescriptorFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "designTime", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperDescriptorResolver", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.Compilation.TagHelpers.ITagHelperDescriptorResolver" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Resolve", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptorResolutionContext" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.Compilation.TagHelpers.ITagHelperDescriptorResolver", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResolveDescriptorsInAssembly", - "Parameters": [ - { - "Name": "assemblyName", - "Type": "System.String" - }, - { - "Name": "documentLocation", - "Type": "Microsoft.AspNetCore.Razor.SourceLocation" - }, - { - "Name": "errorSink", - "Type": "Microsoft.AspNetCore.Razor.ErrorSink" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "designTime", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "typeResolver", - "Type": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperTypeResolver" - }, - { - "Name": "descriptorFactory", - "Type": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperDescriptorFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperDesignTimeDescriptorFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateDescriptor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDesignTimeDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAttributeDescriptor", - "Parameters": [ - { - "Name": "propertyInfo", - "Type": "System.Reflection.PropertyInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperAttributeDesignTimeDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAssemblyLocation", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ChildContentRetrieved", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagHelpers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Output", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "tagHelper", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddHtmlAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddHtmlAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTagHelperAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTagHelperAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "uniqueId", - "Type": "System.String" - }, - { - "Name": "executeChildContentAsync", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetOutputContentAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "uniqueId", - "Type": "System.String" - }, - { - "Name": "executeChildContentAsync", - "Type": "System.Func" - }, - { - "Name": "startTagHelperWritingScope", - "Type": "System.Action" - }, - { - "Name": "endTagHelperWritingScope", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RunAsync", - "Parameters": [ - { - "Name": "executionContext", - "Type": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Begin", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - }, - { - "Name": "uniqueId", - "Type": "System.String" - }, - { - "Name": "executeChildContentAsync", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "End", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "startTagHelperWritingScope", - "Type": "System.Action" - }, - { - "Name": "endTagHelperWritingScope", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperTypeResolver", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperTypeResolver" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Resolve", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "documentLocation", - "Type": "Microsoft.AspNetCore.Razor.SourceLocation" - }, - { - "Name": "errorSink", - "Type": "Microsoft.AspNetCore.Razor.ErrorSink" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.ITagHelperTypeResolver", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExportedTypes", - "Parameters": [ - { - "Name": "assemblyName", - "Type": "System.Reflection.AssemblyName" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsTagHelper", - "Parameters": [ - { - "Name": "typeInfo", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.XmlDocumentationProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetSummary", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRemarks", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetId", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetId", - "Parameters": [ - { - "Name": "propertyInfo", - "Type": "System.Reflection.PropertyInfo" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "xmlFileLocation", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Internal.TaskCache", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "CompletedTask", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Razor/Microsoft.AspNetCore.Razor.csproj b/src/Microsoft.AspNetCore.Razor/Microsoft.AspNetCore.Razor.csproj index 9f304092d2..6594967c6d 100644 --- a/src/Microsoft.AspNetCore.Razor/Microsoft.AspNetCore.Razor.csproj +++ b/src/Microsoft.AspNetCore.Razor/Microsoft.AspNetCore.Razor.csproj @@ -4,10 +4,11 @@ Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor parser and code generation infrastructure. - netstandard1.3 + netstandard2.0 $(NoWarn);CS1591 true aspnetcore;cshtml;razor false + diff --git a/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj b/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj index ca0b25a90b..8e53754095 100644 --- a/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj +++ b/src/Microsoft.CodeAnalysis.Razor.Workspaces/Microsoft.CodeAnalysis.Razor.Workspaces.csproj @@ -1,15 +1,22 @@  + + Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor design-time infrastructure. - netstandard1.3 + net46;netstandard2.0 $(NoWarn);CS1591 true aspnetcore;cshtml;razor $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; + - + + + + + diff --git a/src/Microsoft.CodeAnalysis.Razor/Microsoft.CodeAnalysis.Razor.csproj b/src/Microsoft.CodeAnalysis.Razor/Microsoft.CodeAnalysis.Razor.csproj index c261d4233a..4e3b4c02a0 100644 --- a/src/Microsoft.CodeAnalysis.Razor/Microsoft.CodeAnalysis.Razor.csproj +++ b/src/Microsoft.CodeAnalysis.Razor/Microsoft.CodeAnalysis.Razor.csproj @@ -1,16 +1,23 @@  + + Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor design-time infrastructure. - netstandard1.3 + net46;netstandard2.0 $(NoWarn);CS1591 true aspnetcore;cshtml;razor $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; + + + + + - + diff --git a/src/Microsoft.CodeAnalysis.Remote.Razor/Microsoft.CodeAnalysis.Remote.Razor.csproj b/src/Microsoft.CodeAnalysis.Remote.Razor/Microsoft.CodeAnalysis.Remote.Razor.csproj index ea34738c7c..0674300e6d 100644 --- a/src/Microsoft.CodeAnalysis.Remote.Razor/Microsoft.CodeAnalysis.Remote.Razor.csproj +++ b/src/Microsoft.CodeAnalysis.Remote.Razor/Microsoft.CodeAnalysis.Remote.Razor.csproj @@ -1,5 +1,7 @@  + + Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor design-time infrastructure. net46 @@ -9,16 +11,22 @@ Microsoft.CodeAnalysis.Remote.Razor $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; + + + + + + + - - + diff --git a/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj b/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj index 96ba6e56f6..c82404726d 100644 --- a/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj +++ b/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj @@ -26,7 +26,7 @@ - + @@ -36,10 +36,10 @@ - + - + diff --git a/src/RazorPageGenerator/RazorPageGenerator.csproj b/src/RazorPageGenerator/RazorPageGenerator.csproj index 028b9a9c61..edfd183daa 100644 --- a/src/RazorPageGenerator/RazorPageGenerator.csproj +++ b/src/RazorPageGenerator/RazorPageGenerator.csproj @@ -4,11 +4,10 @@ Builds Razor pages for views in a project. For internal use only. - netcoreapp1.0 + netcoreapp2.0 dotnet-razorpagegenerator RazorPageGenerator Exe - 1.0.4 diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj index 41190c40d9..4d49b309da 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj @@ -3,7 +3,7 @@ - netcoreapp2.0;net46 + netcoreapp2.0;net461 netcoreapp2.0 true $(DefaultItemExcludes);TestFiles\** @@ -41,17 +41,17 @@ + + + + - - - - diff --git a/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/IntegrationTests/IntegrationTestBase.cs b/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/IntegrationTests/IntegrationTestBase.cs index 25dadb5b76..183de07c75 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/IntegrationTests/IntegrationTestBase.cs +++ b/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/IntegrationTests/IntegrationTestBase.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.IO; using System.Reflection; -#if NET452 +using System.Threading.Tasks; +#if NET46 using System.Runtime.Remoting; using System.Runtime.Remoting.Messaging; #else using System.Threading; -using System.Threading.Tasks; #endif using Microsoft.AspNetCore.Razor.Language.Intermediate; using Xunit; @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests [IntializeTestFile] public abstract class IntegrationTestBase { -#if !NET452 +#if !NET46 private static readonly AsyncLocal _filename = new AsyncLocal(); #endif @@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests // Used by the test framework to set the 'base' name for test files. public static string Filename { -#if NET452 +#if NET46 get { var handle = (ObjectHandle)CallContext.LogicalGetData("IntegrationTestBase_Filename"); @@ -51,7 +51,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests { CallContext.LogicalSetData("IntegrationTestBase_Filename", new ObjectHandle(value)); } -#else +#elif NETCOREAPP2_0 get { return _filename.Value; } set { _filename.Value = value; } #endif diff --git a/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/TestProject.cs b/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/TestProject.cs index 734e8cb46e..73ca0d564f 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/TestProject.cs +++ b/test/Microsoft.AspNetCore.Razor.Test.Common/Langauge/TestProject.cs @@ -11,12 +11,7 @@ namespace Microsoft.AspNetCore.Razor.Language { public static string GetProjectDirectory(Type type) { - -#if NET452 - var currentDirectory = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory); -#else var currentDirectory = new DirectoryInfo(AppContext.BaseDirectory); -#endif var name = type.GetTypeInfo().Assembly.GetName().Name; while (currentDirectory != null && diff --git a/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj b/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj index b508e3583a..c2a7954337 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj +++ b/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj @@ -3,13 +3,20 @@ - net46;netcoreapp2.0 + net461;netcoreapp2.0 true - - + + + + + + + + + diff --git a/test/Microsoft.CodeAnalysis.Razor.Test/Microsoft.CodeAnalysis.Razor.Test.csproj b/test/Microsoft.CodeAnalysis.Razor.Test/Microsoft.CodeAnalysis.Razor.Test.csproj index a05a593524..19359cb2f1 100644 --- a/test/Microsoft.CodeAnalysis.Razor.Test/Microsoft.CodeAnalysis.Razor.Test.csproj +++ b/test/Microsoft.CodeAnalysis.Razor.Test/Microsoft.CodeAnalysis.Razor.Test.csproj @@ -3,7 +3,7 @@ - netcoreapp2.0;net46 + netcoreapp2.0;net461 netcoreapp2.0 $(DefaultItemExcludes);TestFiles\**\* true @@ -34,4 +34,8 @@ + + + + diff --git a/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Microsoft.VisualStudio.LanguageServices.Razor.Test.csproj b/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Microsoft.VisualStudio.LanguageServices.Razor.Test.csproj index 62109a0855..739ea977ca 100644 --- a/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Microsoft.VisualStudio.LanguageServices.Razor.Test.csproj +++ b/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Microsoft.VisualStudio.LanguageServices.Razor.Test.csproj @@ -3,15 +3,11 @@ - net46 + net461 $(DefaultItemExcludes);TestFiles\**\* true - - $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; - - @@ -36,4 +32,8 @@ + + + + diff --git a/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj b/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj index fd1a3665fc..8d52a50adf 100644 --- a/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj +++ b/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj @@ -3,7 +3,7 @@ - netcoreapp2.0 + netcoreapp2.0 $(DefineConstants);GENERATE_BASELINES $(DefineConstants);__RemoveThisBitTo__GENERATE_BASELINES