Getting Started with Resource Refactoring Tool Development
- Since changset 29126, solution and project files are updated to use Visual Studio 2008.
- Install the following development tools
- FXCop 1.35 RC 1
- NUnit 2.2.7
- WiX 2.0.3719
- Read Resource Refactoring Tool Specification Document, Design Document and Test Plan which contains information about the project structure.
- Download the latest source code
Steps for Building
If you wish to contribute changes to the project, you must build the Debug-Test, FxCop-Release and Release configurations. You will need to use the tools and procedures described below to build those configurations:Step 1
Download the latest sources on the Source Code pageStep 2
Open the ResourceRefactor.Settings.targets file. This file is located in the solution directory.
You will find the following tags for each of the tools listed above:
<WiXDir> </WiXDir>Step 3
Set these properties to the tools' installation directories. Be sure to include a trailing slash in each path.
Close and reopen the solution, when inside the VS IDE, to pick up the new tool locations.Step 5
Once solution is successfully built using "Release" build, MSI package will be placed under "Installer" directory.
Steps for Running Verification Scripts
Project contains scripts for building and testing modifications to the source code. You can find these scripts under the Verification Scripts
To perform a build, run the following from the command prompt
build.cmd [clean rebuild] [debug release Debug-Test FxCop-Release]
- clean and rebuild are the build types
- debug, release, fxcop-release, and debug-test are the different build configurations.
- Release build configuration builds Resource Refactoring Tool and also creates an MSI installer.
- The FxCop configurations build Resource Refactoring Tool and then run FxCop on its assemblies.
To run a test pass, run the following from the command prompt