Documentation for using MSBuildTaskBase class#6760
Conversation
MattGal
left a comment
There was a problem hiding this comment.
Good stuff. Does seem to assume the reader attended your brown bag.
ghost
left a comment
There was a problem hiding this comment.
I like this! mostly nits, and perhaps some sections could benefit from some more context to be more helpful for first time readers.
Added the links from Chad's DI presentation for further reading about dependency injection. |
…code in base class in the documentation, since we can't embed code in docs :(
|
Whew. Okay, I think I got through everyone's feedback (thank you all!) and created another issue to add some enhancements to the base class (e.g. asyncing the ExecuteTask method; including default services where necessary; improving the logger so that we can use ILogger types). Also did a little bit of refactoring to the tests that I created to make better use of the DI testing functionality. I'll merge this PR sometime tomorrow afternoon if there's no other feedback. |
* Documentation for using MSBuildTaskBase class * Small changes per feedback * Rewording opening paragraphs and clarifying implementation details * Forgot to save * Refactoring to the tests to use additionalScopedTypes and some doc changes * Changed additionalScopeTypes to additionalSingleTypes; added link to code in base class in the documentation, since we can't embed code in docs :(
Documentation to give instruction on best practices for using the MSBuildTaskBase class and how it works behind the scenes.