在.csproj文件中增加npm, bower, gulp, webpack的构建
<Target Name="RunNpm" AfterTargets="AfterBuild">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec Command="npm install --no-optional --no-package-lock --noi-shrinkwrap" />
<Exec Command="bower install" />
<Exec Command="gulp default" />
</Target>