在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):hoffi/gulp-msbuild开源软件地址(OpenSource Url):https://github.com/fluffynuts/gulp-msbuild开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-msbuildThis plugin was blacklisted in the official gulp plugin directory, for apparently
not following the Gulp Guidelines. C'est la vie. Being able to Contributions welcome. UsageFirst, install npm install --save-dev gulp-msbuild Then, add it to your var gulp = require("gulp");
var msbuild = require("gulp-msbuild");
gulp.task("default", function() {
return gulp.src("./project.sln")
.pipe(msbuild());
}); Options
Example var gulp = require("gulp");
var msbuild = require("gulp-msbuild");
gulp.task("default", function() {
return gulp.src("./project.sln")
.pipe(msbuild({
targets: ['Clean', 'Build'],
toolsVersion: 3.5
})
);
}); stdout
Default: false stderr
Default: true errorOnFail
Default: false logCommand
Default: false targets
Default: ['Rebuild'] configuration
Default: Release Hint: You can also specify the Build Configuration using the properties option properties: { Configuration: 'Debug' } solutionPlatform
Hint: You can also specify the Solution Platform using the properties option properties: { Platform: 'AnyCPU' } toolsVersion
Default: 4.0 Possible Values: 1.0, 1.1, 2.0, 3.5, 4.0, 12.0, 14.0, 15.0,
This parameter can be omitted by explicitely set them to architecture
Default: Auto-detected Possible Values: x86, x64 Example: msbuild({ architecture: 'x86' }) properties
Default: none Example: msbuild({ properties: { WarningLevel: 2 } }) Hint: Property values can use verbosity
Default: normal Possible Values: quiet, minimal, normal, detailed, diagnostic maxcpucount
Default: 0 = Automatic selection Possible Values: -1 (MSBuild Default), 0 (Automatic), > 0 (Concrete value) nodeReuse
Default: true = Nodes remain after the build finishes so that subsequent builds can use them Possible Values: true (MSBuild Default), false nologo
Default: false -> Show Startup Banner and Copyright Message fileLoggerParameters
Default: None Example: msbuild({ fileLoggerParameters: 'LogFile=Build.log;Append;Verbosity=diagnostic' }) Hint: Logger parameters options can use consoleLoggerParameters
Default: None Hint: Logger parameters options can use loggerParameters
Default: None Example: msbuild({ loggerParameters: 'XMLLogger,./MyLogger.dll;OutputAsHTML' }) Hint: Logger parameters options can use customArgs
Default: None Example: msbuild({ customArgs: ['/noautoresponse'] }) emitEndEvent
Default: false = No end event is emitted. Possible Values: true, false MSBuild Command-Line ReferenceFor a more detailed description of each MSBuild Option see the MSBuild Command-Line Reference License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论