Getting Started with Resource Refactoring Tool Development

  1. Since changset 29126, solution and project files are updated to use Visual Studio 2008.
  2. Install the following development tools
    1. FXCop 1.35 RC 1
    2. NUnit 2.2.7
    3. WiX 2.0.3719
  3. Read Resource Refactoring Tool Specification Document, Design Document and Test Plan which contains information about the project structure.
  4. 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 page

Step 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:
<FxCopExtDir> </FxCopExtDir>
<NUnitDir> </NUnitDir>
<WiXDir> </WiXDir>

Step 3
Set these properties to the tools' installation directories. Be sure to include a trailing slash in each path.
For example:

Step 4
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 folder.

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

Last edited Dec 11, 2007 at 9:43 PM by bertanaygun, version 5


No comments yet.