You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Providing an abstract class for MSBuild Task classes to implement will help support dependency injection in MSBuild Tasks. This should make it easier to bootstrap DI into existing MSBuild tasks so that we can mock out external dependencies when we write unit tests for the MSBuild Tasks.
Based on this conversation here: #6526 (comment)
Providing an abstract class for MSBuild Task classes to implement will help support dependency injection in MSBuild Tasks. This should make it easier to bootstrap DI into existing MSBuild tasks so that we can mock out external dependencies when we write unit tests for the MSBuild Tasks.
Link to Chad's gist as a proof-of-concept for this: https://gist.github.com/ChadNedzlek/6b5ef4aa380e8d262539c5489348d3c1
The text was updated successfully, but these errors were encountered: