We encourage you to implement a single definition file for your entire application, as this keeps the elements in the generated file belonging to a single namespace, and cuts-down on the length of names.
With the single application definition file in mind, here are the steps to setup for use in your Visual Studio project:
1. | In Mapper, select Tools / Generate c# ScreenMap Class File |
2. | Set your project's bin folder as the target, and for ease of development, set the Namespace to match that of your projects: |
3. When you click on Generate, both the insureMaps.cs and insureMaps.dll will go into the bin folder...that's OK...if you have a c# project, an alternative is to target the source folder, then add to your project, so that the c# is built everytime. We are using the bin target here as it will work for both c# and VB projects.
4. | Next, in Visual Studio, add a reference to your new assembly: |