-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Template for MSbuild target / task #7548
Comments
@baronfel please advise whether this issue should be moved to dotnet/msbuild repo instead. |
Yeah, it should. I've added a couple items to cover in the issue description. But will go ahead and transfer it. |
Perhaps it could ensure that Execute() returns "return !Log.HasLoggedErrors;" as all tasks should. |
Where can I find that guidance? |
@teo-tsirpanis I updated the description with the link, but the example is at https://docs.microsoft.com/en-us/visualstudio/msbuild/tutorial-custom-task-code-generation?view=vs-2022#package-the-task-for-distribution. I've applied them to my own project Ionide.KeepAChangelog.Tasks if you want to see what they look like when applied to a non-example Task. |
Thanks @baronfel, I will take a look. What I've been doing is |
Consideration here: pull in the type of improvements mentioned in #5068. |
Extracted from dotnet/templating#233
Create a template for creation of MSBuild tasks and targets.
The template should setup:
dotnet build
support)build
vsbuildMultitargeting
, primarily) with a README in each folder describing the intent)The text was updated successfully, but these errors were encountered: