

Let’s Run the above code and get the report. String Script = Convert.ToString( ConfigurationManager.AppSettings) String Report = Convert.ToString( ConfigurationManager.AppSettings) String Production = Convert.ToString( ConfigurationManager.AppSettings) String Staging = Convert.ToString( ConfigurationManager.AppSettings) Now write code in C# under main function of application. We can also define email configuration in App.Config file so that report can be emailed after comparison. path of Staging and Production Environment, in App.Config file as shown below so that any time can we change in case an environment deployed somewhere else or same code can be used on different system. Further we have to define path of Source and Destination folder to compare i.e. Now we need to create a console application in visual studio. Report can be generated in text form or html form depend on setting defined in Script.txt.īelow is the setting defined in our script file:įolder-report layout:summary options:display-mismatches output-to:”%3” output-options:html-color Path & Name of Report– Comparison report.Path & Name of File2.txt or Folder – File or folder to compare with.Path & Name of File1.txt or Folder – File or folder to compare to.Script.txt – This is just similar configuration or setting file which Beyond Compare uses while comparing files.Staging and Production environment, where we generate a report as below:īeyond Compare provide a command to compare files along with user interface, as below:īCompare.exe “Path & Name of File1 or Folder” “Path & Name of File2 or Folder” “Path & Name of Report”īcompare.exe takes 4 parameters to compare files and generate report. In example below, we have used two different environments of website. net to automate compare files and generate report. In this articles we will describe how can we use Beyond Compare Script in. To get rid of above problem, we have developed a smart application which uses Beyond Compare tool’s script and C# code to compare as many files as you want.īeyond compare is tool which provides user interface to compare files.
Software similar to beyond compare manual#
In this case, manual comparison takes a lot of time and it is also time-consuming and hectic to compare large number of files. It is easy to compare two files of different version and get differences, using any tool or manual, but many times we have to compare multiple files or we require comparison report periodically. Food & Beverage License Management System.
