Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

"end" event no longer emitted #68

@aschulz01

Description

@aschulz01

Hi,
using v0.3.3 the end event is properly emitted after msbuild ended.
In the latest version the end event seems no longer working, also if the needed flag (emitEndEvent) in the options is set to true.

gulp.task('vsbuild:pilot', () => {
gulp.src("./package/" + projectSettings.addinName + "Pilot/.csproj")
.pipe(msbuild({
targets: ['Package'],
toolsVersion: 14.0,
emitEndEvent: true,
properties: {
OutputPath: '../../' + projectSettings.distFoldername + '/pilot/'
},
fileLoggerParameters: 'LogFile=./build-pilot.log;Append;Verbosity=normal'
}))
.on('end', function() {
console.log(".on('end', function() {"); // end is called with 0.3.3 of gulp-msbuild, but not with the latest version
gulp.src(projectSettings.distFoldername + "/pilot/app.publish/" + pkg.version + '.0/
.app')
.pipe(gulp.dest(projectSettings.distFoldername + '/latest'));
});
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions