Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msbuild task running order #38

Open
jwu-au opened this issue Mar 14, 2016 · 0 comments
Open

msbuild task running order #38

jwu-au opened this issue Mar 14, 2016 · 0 comments

Comments

@jwu-au
Copy link

jwu-au commented Mar 14, 2016

I'm using msbuild.npm and gulp in my projects.
And I also have Octopack task to pack my artifacts which will run at the end.

I saw in the in the msbuild.gulp.targets there is BeforeTargets="Build", but I don't know why msbuild trigger it in a wrong order. It triggers it after the Octopack task.

After a while, I come up a workaround by defining below property in the project file:

  <PropertyGroup>
    <BuildDependsOn>
      RunNpm;
      RunGulpBuild;
      $(BuildDependsOn)
    </BuildDependsOn>
  </PropertyGroup>

Above property to make sure it runs before build. Can @kmees have a look?
Thank you for your great lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant