-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
David Elish edited this page Dec 20, 2018
·
5 revisions
- The first thing you'll want to do is clone this repository.
- Now open the SqlResutlsCompare solution (SqlResultsCompare.sln) within a version of Visual Studio that supports SQL Server Database Projects (versions 2012 and higher).
- If Nuget packages (log4net and CommandLine) are missing, open the Nuget Package Manager Console (Tools -> Nuget Package Manager -> Package Manager Console) and execute the following: Update-Package -reinstall
- Build the project with the Release configuration.
- Navigate to the Release dir (\sql-results-compare\SqlResultsCompare\bin\Release)
- Review the SqlResultsCompare.exe.config file and make any necessary changes. Pay special attention to DBConnectionString, CompareExePath, and DefaultBCPServerName.
- Run the application from a command prompt with the -i option to deploy the SqlResultsCompare database that contains the objects necessary to execute remote queries and create the comparison output files (e.g. \sql-results-compare\SqlResultsCompare\bin\Release\SqlResultsCompare.exe -i).
**There have been some reports of the database installer failing with the message "Could not deploy package." If you encounter this error, an alternative way to deploy the database is to publish it directly from Visual Studio.