Temporarily revert "Adding messages showing that the tool is running" until we can sort out fetching packages

This reverts commit 824acd1ace.
This commit is contained in:
Pranav K 2016-01-25 11:15:43 -08:00
parent 824acd1ace
commit 68b5c950c9
2 changed files with 7 additions and 12 deletions

View File

@ -2,7 +2,6 @@
// 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;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.Extensions.CommandLineUtils; using Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.AspNetCore.Tools.PublishIIS namespace Microsoft.AspNetCore.Tools.PublishIIS
@ -33,13 +32,7 @@ namespace Microsoft.AspNetCore.Tools.PublishIIS
return 2; return 2;
} }
Reporter.Output.WriteLine($"Configuring project published to '{publishFolder}' for use with IIS"); return new PublishIISCommand(publishFolder, projectPath.Value, webRootOption.Value()).Run();
var exitCode = new PublishIISCommand(publishFolder, projectPath.Value, webRootOption.Value()).Run();
Reporter.Output.WriteLine("Configuring project completed succesfully");
return exitCode;
}); });
try try
@ -48,8 +41,11 @@ namespace Microsoft.AspNetCore.Tools.PublishIIS
} }
catch (Exception e) catch (Exception e)
{ {
Reporter.Error.WriteLine(e.Message.Red()); #if DEBUG
Reporter.Verbose.WriteLine(e.ToString().Yellow()); Console.Error.WriteLine(e);
#else
Console.Error.WriteLine(e.Message);
#endif
} }
return 1; return 1;

View File

@ -6,16 +6,15 @@
}, },
"dependencies": { "dependencies": {
"Microsoft.NETCore.Platforms": "1.0.0-*",
"System.Xml.XDocument": "4.0.11-*", "System.Xml.XDocument": "4.0.11-*",
"Microsoft.Extensions.CommandLineUtils": "1.0.0-*", "Microsoft.Extensions.CommandLineUtils": "1.0.0-*",
"Microsoft.DotNet.Cli.Utils": "1.0.0-*",
"Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*",
"Microsoft.DotNet.ProjectModel": "1.0.0-*" "Microsoft.DotNet.ProjectModel": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "dnxcore50": {
"Microsoft.NETCore.Platforms": "1.0.0-*"
} }
} }
} }