Which gulp plugin should I use to build ASP.NET 5 on Mac?
Visual Studio Code docs https://code.visualstudio.com/Docs/tasks serves as a sample gulp task for generating C # code.
var program = "MyApp";
var port = 55555;
gulp.task('default', ['debug']);
gulp.task('build', function() {
return gulp
.src('./**/*.cs')
.pipe(msc(['-fullpaths', '-debug', '-target:exe', '-out:' + program]));
});
gulp.task('debug', ['build'], function(done) {
return mono.debug({ port: port, program: program}, done);
});
But there is no gulp about plugin. Can I create an aspVnext application using gulp?
+3
source to share
1 answer
ASP.NET 5 (vNext) applications are not "embedded" as such. Read the wiki to learn more about how to use the commands dnx
and dnu
:
You can use gulp shell to run these commands
+1
source to share