This repository was archived by the owner on Feb 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44using System ;
55using System . Globalization ;
6- using Microsoft . DotNet . Cli . Utils ;
76using Microsoft . Extensions . CommandLineUtils ;
87
98namespace Microsoft . AspNetCore . Tooling . Razor . Internal
@@ -27,7 +26,7 @@ internal static void Register(CommandLineApplication app)
2726 var clientProtocol = int . Parse ( clientProtocolString ) ;
2827 var resolvedProtocol = ResolveProtocol ( clientProtocol , pluginProtocol ) ;
2928
30- Reporter . Output . WriteLine ( resolvedProtocol . ToString ( CultureInfo . InvariantCulture ) ) ;
29+ Console . WriteLine ( resolvedProtocol . ToString ( CultureInfo . InvariantCulture ) ) ;
3130
3231 return 0 ;
3332 } ) ;
Original file line number Diff line number Diff line change 88using dotnet_razor_tooling ;
99using Microsoft . AspNetCore . Razor ;
1010using Microsoft . AspNetCore . Razor . Compilation . TagHelpers ;
11- using Microsoft . DotNet . Cli . Utils ;
1211using Microsoft . DotNet . ProjectModel ;
1312using Microsoft . DotNet . ProjectModel . Loader ;
1413using Microsoft . Extensions . CommandLineUtils ;
@@ -72,7 +71,7 @@ internal static void Register(CommandLineApplication app)
7271 } ;
7372 var serializedResult = JsonConvert . SerializeObject ( resolvedResult , Formatting . Indented ) ;
7473
75- Reporter . Output . WriteLine ( serializedResult ) ;
74+ Console . WriteLine ( serializedResult ) ;
7675
7776 return 0 ;
7877 } ) ;
Original file line number Diff line number Diff line change 44using System ;
55using System . Reflection ;
66using Microsoft . AspNetCore . Tooling . Razor . Internal ;
7- using Microsoft . DotNet . Cli . Utils ;
87using Microsoft . Extensions . CommandLineUtils ;
98
109namespace Microsoft . AspNetCore . Tooling . Razor
@@ -37,7 +36,7 @@ public static int Main(string[] args)
3736 }
3837 catch ( Exception ex )
3938 {
40- Reporter . Error . WriteLine ( ex . Message ) ;
39+ Console . Error . WriteLine ( ex . Message ) ;
4140 return 1 ;
4241 }
4342 }
Original file line number Diff line number Diff line change 1515 "frameworks" : {
1616 "dnxcore50" : {
1717 "dependencies" : {
18- "Microsoft.DotNet.Cli.Utils" : " 1.0.0-*" ,
1918 "Microsoft.AspNetCore.Razor.Runtime" : " 1.0.0-*" ,
2019 "Microsoft.DotNet.ProjectModel.Loader" : " 1.0.0-*" ,
2120 "Microsoft.Extensions.CommandLineUtils" : " 1.0.0-*" ,
You can’t perform that action at this time.
0 commit comments