Ensure the project is built in dotnet run3
.
This commit is contained in:
parent
ab8e1b707b
commit
f084032af6
7 changed files with 47 additions and 44 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue