I have an ASP.NET Core web app with some Gulp tasks (minify and uglify) in gulpfile.js.
Now on Visual Studio 2017 for Windowns. I can tell when to run these tasks via the task explorer.
How can I do the same with Visual Studio for Mac?
Put this in your .csproj and it should work
<Target Name="MyPreCompileTarget" BeforeTargets="Build"> <Exec Command="gulp clean" /> </Target>