CRL Resource Wrapper Version 1.0 ========================= Release Notes ============= December 27, 2003 ============ INTRODUCTION: ============ This document describes the initial version of CRL Resource Wrapper. Bug reports should be entered at the bug reporting system for ResxWrap project at: https://sourceforge.net/projects/resxwrap/ Please report bugs and feature requests under product name "ResxWrap". ============ NEW FEATURES: ============ -------------------- General New Features: -------------------- [1.0.0] Generating wrap class contains: * one constant per each textual resource string; * one property per each without arguments textual resource string; * one method with appropriate number of arguments for each textual resource string with arguments; * documentation comments. The wrap class is generated based on .resx file. ============================ KNOWN ISSUES IN THIS RELEASE: ============================ * How to generate a wrapper class for a .resx file. * How to use the generated wrapper class inside your project. ------------------------------------- How to generate a wrapper class for a .resx file. ------------------------------------- ResxWrap utility requires 3 command line arguments for its work: Namespace - the namespace in which the wrapper class will be generated. i.e. "MyProject.Namespace" ProjectDir - the path to the directory where the project is located. NOTE: the path must end with "\" symbol. i.e. "C:\MyProject\" ResBaseName - base name of the resource file. i.e. for the file "Resource1.resx" it is enough to specify "Resource1". Thus the complete command line could be something like the following: resxwrap.exe MyProject.Namespace C:\MyProject\ Resource1 ---------------------------------- How to use the generated wrapper class inside your project. ---------------------------------- If you use Microsoft Visual Studio do the following: 1) Open the project properties. 2) Open the 'Pre-build Event Command Line' tab. 3) Enter the following command: resxwrap MyProject.Namespace $(ProjectDir) Resource1 4) Recompile the project. 5) Add to the project just generated __Resource1.cs file. Now you can use the class to retrieve the textual resources from Resource1.resx resource file.