Is your feature request related to a problem? Please describe.
docfx metadata command failed to restore project.
It show error messages only to console. But processing continues.
It's not counted as error. So it may return ExitCode: 0
It might be better to raise error and stop processing.
|
if (!config.NoRestore) |
|
{ |
|
using var process = Process.Start("dotnet", $"restore \"{path}\""); |
|
await process.WaitForExitAsync(); |
|
} |
Describe the solution you'd like
When restore operation failed. stop processing and show errors.