gulp-dotnet-assembly-info
Gulp plugin for modifying C# assembly info files.
Install
$ npm install gulp-dotnet-assembly-info --save
Usage
Simply pass in an object containing the attibutes and their replacements. The replacement can be a value or a function. A function is passed the value specified in the original assembly info file and returns the replacement value. The convention for attribute names is the name without the Assembly
prefix and camel cased. So an attribute name of fileVersion
will be converted to AssemblyFileVersion
. The files can simply be replaced by piping them to the same location (.pipe(gulp.dest('.'))
) or to a new location.
var gulp = assemblyInfo = ; gulp;
You can also use the plugin to read the data from assembly info file:
var gulp = fs = assemblyInfo = ; gulp;
Props
Thanks to Diego Luces for adding VB.NET support.
License
MIT License