Closed mpareja closed 12 years ago
could you update the npm package. the latest on in npm doesn't seem to include msbuild.setDefaults({}) method.
Done.
papriaka is now breaking.
$ jake
Invalid .NET framework version 'undefined' or processor 'x86'
jake aborted.
event without using setDefaults
task('build', function () {
msbuild({
file: path.join(rootpath, 'Source/AzureToolkit.sln'),
targets: ['Build'],
processor: 'x86',
version: 'net40'
});
});
undefined
Sorry about that, where I am right now, I didn't have a quick environment for running an end-to-end test. I missed the version parameter when adding support for specifying default configurations.
I've pushed my changes and updated the npm package. Have a go and let me know.
works great now.
thanks for the fast responses.
You'll often want to use the same configuration settings across similar tasks. We should support specifying those common values once and only specifying the specifics for each task.
Here is a suggestion from @prabirshrestha: