-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add links to .NET Core SDK to publish error #3011
Conversation
@@ -83,6 +83,7 @@ export const PublishController = { | |||
// set status and return value as json | |||
res.status(results.status).json(response); | |||
} catch (err) { | |||
console.error('Publishing error: ' + err.message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not exactly what I meant, since this is just going to say
"failed to run dotnet build"
we can attach to the spawned child process and output the errors it generates to get more detail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the actual exec
happens inside the localPublish plugin.
* add initial link stuff * add secondary link * adjust spacing and add console-error to server * make execSync pass stderror through * Update publisher.ts Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Description
This will detect if a publishing error relates to
dotnet
, and if so will direct a user to the .NET Core SDK with a download link.Task Item
closes #2926
Screenshots