View Full Version : How to custom ignore common version changes
I am working with DotNetNuke. I have a few modules written for version 2.1.2 of DNN. Now I am porting them to DNN 3.0. There are some common namespace and such changes between the two versions. I want to compare source code for my modules between the two versions, EXCLUDING the common changes made. How do I setup a like of string literal text changes to ignore between DNN versions?
any help is appreciated.
31-Jan-2005, 03:33 PM
I don't have a background with ASP.Net, but you can follow a general strategy for marking text unimportant.
For the *.ascx.vb files, ignoring comments is a good start.
To do this, open up one of the files in the File Viewer.
Select Tools|Pick Rules|New Rules.
Give the rule a name, and associate it with the *.ascx.vb file extension.
Go to the Importance tab.
To ignore differences in vb comments between the two versions, click New in the Unimportant Text section.
Select the Delimited category.
For Beginning with: enter ' and check stopping at end of line.
In the File Viewer, make sure View|Ignore Unimportant Differences is turned on.
If need help with a particular text difference, please post an example.
If some of the files contain code embedded in html, you may also want to consider using the HTML-Tidy plug-in from our Additional Rules (http://www.scootersoftware.com/download.php?c=kb_morerules) page to standardize the formatting before comparison.
So far so good. Thanks for the tip.
vBulletin® v3.7.1, Copyright ©2000-2013, Jelsoft Enterprises Ltd.