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

Update MSBuild.Gulp.targets #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update MSBuild.Gulp.targets #36

wants to merge 2 commits into from

Conversation

bashiransari
Copy link

If node global module path is not the default one ($(HOMEDRIVE)$(HOMEPATH)\AppData\Roaming\npm) that is declared in MSBuild.Node.props file then gulp taks will fail by 2 causes .

  1. Where.exe gulp returns 2 results
  2. ConsoleToMsBuild property is not true

Issue :#37

Most of times you will find 2 gulp files in "C:\Program Files\nodejs". gulp that is for linux and gulp.cmd for windows.
I have seen GulpExecutable variable is set to empty due to where.exe returns 2 lines and it breaks the whole build.
If node global module path is not the default one ($(HOMEDRIVE)$(HOMEPATH)\AppData\Roaming\npm) that is declared in MSBuild.Node.props file then gulp taks will fail.
because without ConsoleToMsBuild the GulpExecutable variable would not be set .
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

Successfully merging this pull request may close these issues.

1 participant