You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2019. It is now read-only.
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'));
});
});