dotnet-affected icon indicating copy to clipboard operation
dotnet-affected copied to clipboard

Can we have an MSBuild Task that, when used, makes `dotnet build` only what's affected?

Open leonardochaia opened this issue 3 years ago • 0 comments

I've never built an MSBuild Task before so I don't really know, but I was thinking that maybe if we can use the underlying logic behind discovering affected projects inside a Task, we may be able to modify which projects will be build.

So in CI you would reference a nuget package that would add the affected task and you just need to build. No need to generate the traversal and stuff.

That would be a nice way to integrate with existing projects!

leonardochaia avatar Jul 12 '21 21:07 leonardochaia