There is some (about 5) *.proj files in subdirectories of 'src/natives/'. When I use gulp, it shows that msbuild finish the build-win-executables task just after the first file was processed:
[18:23:44] Using gulpfile Gulpfile.js
[18:23:44] Starting 'clean-win-bin'...
[18:23:44] Finished 'clean-win-bin' after 10 ms
[18:23:44] Starting 'build-win-executables'...
[18:23:44] MSBuild complete!
[18:23:44] Finished 'build-win-executables' after 343 ms
[18:23:44] Starting 'copy-win-executables'...
[18:23:44] Finished 'copy-win-executables' after 52 ms
[18:23:45] MSBuild complete!
[18:23:45] MSBuild complete!
[18:23:46] MSBuild complete!
[18:23:46] MSBuild complete!
[18:23:46] MSBuild complete!
Process finished with exit code 0
I'm not an expert in gulp :smile: , but I've found that emitting the 'end' of the stream here causes the problem - after I've commented this line, all works as expected:
[18:26:55] Using gulpfile d:\testcafe-browser-natives\Gulpfile.js
[18:26:55] Starting 'clean-win-bin'...
[18:26:55] Finished 'clean-win-bin' after 10 ms
[18:26:55] Starting 'build-win-executables'...
[18:26:55] MSBuild complete!
[18:26:56] MSBuild complete!
[18:26:56] MSBuild complete!
[18:26:56] MSBuild complete!
[18:26:57] MSBuild complete!
[18:26:57] MSBuild complete!
[18:26:57] Finished 'build-win-executables' after 2.63 s
[18:26:57] Starting 'copy-win-executables'...
[18:26:57] Finished 'copy-win-executables' after 42 ms
Process finished with exit code 0
Version info
node@6.2.2 on Windows 10npm@3.10.2gulp-msbuild@0.3.3gulp-cli@1.2.1gulp@3.9.1
Hello! I have the following code in my
Gulpfile.js
:There is some (about 5)
*.proj
files in subdirectories of 'src/natives/'. When I usegulp
, it shows thatmsbuild
finish thebuild-win-executables
task just after the first file was processed:I'm not an expert in
gulp
:smile: , but I've found that emitting the'end'
of the stream here causes the problem - after I've commented this line, all works as expected:Version info
node@6.2.2 on Windows 10
npm@3.10.2
gulp-msbuild@0.3.3
gulp-cli@1.2.1
gulp@3.9.1