Ensure the project is built in dotnet run3.

This commit is contained in:
Eric Erhardt 2016-09-09 08:49:22 -05:00
parent ab8e1b707b
commit f084032af6
7 changed files with 47 additions and 44 deletions

View file

@ -74,6 +74,22 @@ namespace Microsoft.DotNet.Cli
return 1;
}
catch (Exception ex)
{
#if DEBUG
Reporter.Error.WriteLine(ex.ToString());
#else
if (Reporter.IsVerbose)
{
Reporter.Error.WriteLine(ex.ToString());
}
else
{
Reporter.Error.WriteLine(ex.Message);
}
#endif
return 1;
}
finally
{
if (PerfTrace.Enabled)