Smart Diff

Note: You must have either Microsoft Visual SourceSafe 2005 or Microsoft Visual Studio 2005/2008 Team Explorer Client installed as BIDS Helper leverages the visual diff dialog from either of those tools. (Though at least one of those tools must be installed, your solution does not need to be bound to source control to utilize Smart Diff.)

The BIDS Helper Smart Diff feature lets you compare versions of a SSAS, SSIS, and SSRS files. BIDS Helper preprocesses XML files so that the diff versus source control is more meaningful.

Doing a diff on two versions of an Integration Services package is very unhelpful because the XML of the dtsx file is not formatted in a way that lends itself to comparison. The XML is not pretty-printed, the XML elements aren't always in the same order even when order isn't important, and unnecessary information about layout and formatting obscures detecting differences which actually impact execution of the package.

The Smart Diff feature pre-processes the files by pretty-printing the XML, ordering elements in a consistent manner, and removing unnecessary layout/formatting information. Smart Diff supports comparing to versions from Microsoft Visual SourceSafe and Microsoft Team Foundation Server. Smart Diff can also be run to compare two files on the local disk when the current solution is not bound to source control (or if it is bound to an unsupported source control).

Without BIDS Helper
SmartDiffOutOfTheBox.png

With BIDS Helper
SmartDiffVisualDiff.png

Reporting Services report provide a similar problem in that the order of some tags is not important, but they make a diff unusable. For instance, in the following screenshot, note that despite the difference in ordering of tags, nothing has really changed:

SmartDiffSSRSBefore.png

Right-clicking on the file in Solution Explorer lets you launch the Smart Diff feature:
SmartDiffMenu.png

SmartDiffOptions.png

Other Source Control Systems
If you would like Smart Diff to support other source control systems, add a comment here: other version control systems for Smart DIFF
Last edited Jul 9 at 2:35 AM by furmangg, version 8
Comments
No comments yet.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987