views:

52

answers:

1

How do I diff two files in MSBuild? I cannot find any specific task to do it.

If possible, is it also possible to exclude certain rows, or patterns in the files eg. 2009-12-09T10:03:07.6888125+02:00

A: 

You're gonna have to write your own MSBuild task which wraps some difftool commandline app. For commandline apps, you can inherit from the ToolTask class, which provides quite a bit of command line plumbing.

Wim Hollebrandse